close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PStore Custom page error

Thread began 3/16/2012 7:46 am by jo271221 | Last modified 3/16/2012 5:06 pm by jo271221 | 976 views | 6 replies |

jo271221

PStore Custom page error

I am getting this error on my powerstore custom page - lakekountry/

Fatal error: Call to undefined function WA_getCMSContent() in /home/content/66/9070466/html/lakekountry/index.php on line 8

The file is in the root and is simply a powerstore connection at the top of the page and then<body><?php echo WA_getCMSContent($database_PowerStoreConnection, $PowerStoreConnection, 'Intro', 'Content', false);
?>
</body>

I copied this code from the developer notes.

Sign in to reply to this post

Jason ByrnesWebAssist

add this code after the line for the connection file:

php:
<?php require_once( "webassist/cms/cms.php" ); ?>
Sign in to reply to this post

jo271221

New error

Fatal error: Call to undefined function wa_evaluate() in /home/content/66/9070466/html/lakekountry/webassist/cms/cms.php on line 55 - Also I change the file name to intro because I am having issues with the content page and was wondering if the index.php contains any code that would be needed to allow the rest of the site to function.

Sign in to reply to this post

Jason ByrnesWebAssist

add this code after the line for the connection file:

php:
<?php require_once( "admin/common/properties.php" ); ?>
Sign in to reply to this post

jo271221

files to add

So add all three, the connection file and both files you mentioned or just <?php require_once( "admin/common/properties.php" ); ?>

Sign in to reply to this post

Jason ByrnesWebAssist

yes, you need all 3 lines

Sign in to reply to this post

jo271221

Thanks! That resolved it.

Thank you, that resolved it. For some reason the server is showing we are getting thousands of hits in just a few minutes and I only have 2 powerstore sites on the server. It totally stopped working which is why I was could not simply test with all three or just 2. The server / sites are back now and it works great. I am guessing that every content page needs this. Is this information provided somewhere in the admin console and I missed 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...