close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Page Updating

Thread began 11/08/2009 3:00 am by info344553 | Last modified 11/09/2009 1:33 am by info344553 | 1008 views | 2 replies |

info344553

Page Updating

I seem to be having a problem where everything seems to be working fine and there are no error messages but the page is not updating.
The database is recording the changes but there is no text on the page.

The page is a totally blank php page created in dreamweaver and has all the relevant code that is needed.
This is the page:
<?php include "Connections/localhost.php"; ?>
<?php include "WA_CMS/WA_CMS.php"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>testpage</title>
</head>

<body><?php echo WA_getCMSContent($database_localhost, $localhost,"testpage", "wholepage"); ?>
</body>
</html>

Please help

Thanks

Chris

Sign in to reply to this post

neilo

The PowerCMS generates the wrong code if all the CMS files and folders are not in the root folder for some (daft) reason.

So for instance, if all your PowerCMS files and folders are in a folder called (say) 'CMS100', then the two lines of code you put at the top of your page should be:

<?php include "CMS100/Connections/localhost.php"; ?>
<?php include "CMS100/WA_CMS/WA_CMS.php"; ?>



You will have to do that for each page you are puting CMS content in.


There is a way to solve this problem a little more elegantly in Step 3 of this pdf of the steps I did to do mine.

Sign in to reply to this post

info344553

Hi Neilo

I did actually get it all working by putting all the folders within the root but its not the tidiest way of doing it.
Your instructions with help keep everything neat.

Thanks for your help, this is a better answer than I was expecting.

Cheers!!

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...