View Full Version : Error when applying template
david403594
06-15-2010, 04:18 PM
I've got the registration pack up and running: http://bayarea-web.com/UserRegistration100/users_Registration1.php
however, whenever I try to apply my template I get the following error:
Fatal error: Call to undefined function WA_getCMSContent() in /home/bayareaw/public_html/UserRegistration100/users_Registration.php on line 404
Here's the link where you can see the error:
I've got the registration pack up and running: http://bayarea-web.com/UserRegistration100/users_Registration.php
Thanks for the help in advance.
Eric Mittman
06-15-2010, 05:44 PM
This type of error usually occurs for one of two reasons, either the include file that defines this function doe not appear before the line of code is hit, or include file is not uploaded to the server. It looks like it is a code order issue based on where the error is coming from. You need to ensure that you have your include lines of code for the CMS above this line of code on your page.
david403594
06-16-2010, 11:09 PM
I'm just using the tools build into the webassist program and I'm a bit lost with what you're telling me. Shouldn't this be automatic without me having to tweak this part of the code? Is there any other help you can give me?
Eric Mittman
06-17-2010, 11:57 AM
If you can please post back and attach both versions of the registration page and the template that you are applying in a zip archive. I will take a look to see where the problem is and try to determine how it got this way for you.
david403594
06-21-2010, 09:55 AM
The version of the Registration Pack is: 1.0.0 or at least I think that's the latest one that's on your site. I've attached a zipped version of the template...Main.dwt.php.zip
Eric Mittman
06-21-2010, 02:14 PM
Thanks for the template, I can see that if you have the same include files that are referenced on this page you could have this problem if you have this include anywhere else further down on the page. Could you post back with the page that you have that is currently giving you this error so that I can examine it further, I would like to check the code to see where the include is duplicated and why.
david403594
06-25-2010, 10:38 AM
Are you referring to this page?
http://bayarea-web.com/UserRegistration100/users_Registration.php
This is where the error is showing up.
Eric Mittman
06-30-2010, 02:57 PM
Yes, this is the page I was referring to. Could you post back with a copy of this users_Registration.php page attached to your reply in a zip archive, I need the page itself to examine the code on it.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.