View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Cannot insert content

Thread began 8/06/2009 9:53 pm by allan205349 | Last modified 8/18/2009 4:40 pm by allan205349 | 3322 views | 11 replies

allan205349

Cannot edit content once inserted

After much effort, trial and error, I am unable to edit page content with PowerCMS once it has been initially inserted into the web page with PowerCMS. Any assistance would be most appreciated.

I installed PowerCMS per user guide information (Note to WebAssist Staff - I wish the user documentation was more thorough) and am able to log into PowerCMS admin page for our site. Clicked on the "Insert New Content" and filled in the "Page Name", "Content Area", and added content in the editor box. When I click the insert button, PowerCMS blank page reads, "No record found" (is that the first sign that something is wrong with my setup?). From the "View" menu item, I copied the Developer Notes lines of code and pasted them into the appropriate web page (indexCopy.php). When I open the live web page via browser (indexCopy.php). The data I entered into PowerCMS does show up in the web page, but I cannot get back in to edit those entries as described below.

When I go back to the PowerCMS admin page, I can click on the PowerCMS "Home" or "View/Edit Content" menu items and open up the content. All PowerCMS menu options (e.g., View, Delete, History) work except "Edit". When I click on "Edit", I receive the following error message.

==================
Warning: require_once(../../CSSMenuWriter/cssmw/menu.php) [function.require-once]: failed to open stream: No such file or directory in D:\Inetpub\virtual\igrk61nqbk\WWWROOT\CMS100\admin\contents_update.php on line 363

Fatal error: require_once() [function.require]: Failed opening required '../../CSSMenuWriter/cssmw/menu.php' (include_path='.;C:\PHP\pear') in D:\Inetpub\virtual\igrk61nqbk\WWWROOT\CMS100\admin\contents_update.php on line 363
==================

Is PowerCMS somehow confused by CSS MenuWriter menus used on the web page? Note that the web page utilizes a Dreamweaver template that incorporates a flash header with CSSMenuWriter menus both above and below the flash header (see indexCopy.php). Could that somehow cause the error message shown above? Note that the contents_update.php file does in fact exist at the remote location shown above.

That said, when I created and tested PowerCMS with a blank page (cmstest.php), I get the same outcome and same error message as above.


Here is the code pasted into the first two lines of the web page (indexCopy.php):

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

And further down the page where content should appear:

<?php echo WA_getCMSContent($database_localhost, $localhost,"indexCopy.php", "News"); ?>


Here is what I have entered into the WA_Globals.php file:
------------------------------------------------------
<?php
$WAGLOBAL_Root_URL = "http://pcalions.org/" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "PCA Lions Content Management System Admin" ;

$WAGLOBAL_localRoot = "/CMS100/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/wwwroot/CMS100/"; //relative path to your PowerCMS files on your remote server.

//iRite Images upload settings
$WAGLOBAL_Images_Folder = "/CMS100/Images/"; //relative path to your images folder.
$WAGLOBAL_Swf_Folder = "/CMS100/swf/"; //relative path to your swf folder.

// Admin Settings
$WAGLOBAL_Admin_UserName = "not shown for security reasons" ;
$WAGLOBAL_Admin_Password = "not shown for security reasons" ;
?>


Thanks in advance for your assistance.

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