close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error when applying template

Thread began 6/15/2010 7:18 pm by david403594 | Last modified 6/30/2010 5:57 pm by Eric Mittman | 1080 views | 7 replies |

david403594

Error when applying template

I've got the registration pack up and running: 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: users_Registration.php

Thanks for the help in advance.

Sign in to reply to this post

Eric Mittman

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.

Sign in to reply to this post

david403594

Thanks...but didn't help

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?

Sign in to reply to this post

Eric Mittman

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.

Sign in to reply to this post

david403594

cheddars them

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

Attached Files
Main.dwt.php.zip
Sign in to reply to this post

Eric Mittman

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.

Sign in to reply to this post

david403594

I'm not sure which page?

Are you referring to this page?

users_Registration.php

This is where the error is showing up.

Sign in to reply to this post

Eric Mittman

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.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...