close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cannot insert content

Thread began 8/06/2009 6:53 pm by allan205349 | Last modified 8/18/2009 1:40 pm by Jason Byrnes | 5863 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.

Sign in to reply to this post

Jason ByrnesWebAssist

Where you have your cms files uploaded to:
CMS100/

and the page you are displaying the content on is:
indexCopy.php

your need to adjust the developer notes paths to accomodate that CMS100 directory.

change:

php:
<?php include "Connections/localhost.php"?>

<?php 
include "WA_CMS/WA_CMS.php"?>



to:

php:
<?php include "CMS100/Connections/localhost.php"?>

<?php 
include "CMS100/WA_CMS/WA_CMS.php"?>
Sign in to reply to this post

allan205349

That doesn't work

Regarding your comment:

Originally Said By: Jason Byrnes
  Where you have your cms files uploaded to:
CMS100/

and the page you are displaying the content on is:
indexCopy.php

your need to adjust the developer notes paths to accomodate that CMS100 directory.

change:
php:
<?php include "Connections/localhost.php"?>

<?php 
include "WA_CMS/WA_CMS.php"?>


to:
php:
<?php include "CMS100/Connections/localhost.php"?>

<?php 
include "CMS100/WA_CMS/WA_CMS.php"?>
  



Sorry for the confusion, that is in fact how the "Developer Notes" are set up on the indexCopy.php file, I pasted the wrong information in my initial thread entry. Here are the first two lines of that file:

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

There must be something else causing the error message, but the User Guide lacks the detail to track down this problem past basic PowerCMS setup.

Sign in to reply to this post

MickW

I think in your Globals file where you have:
$WAGLOBAL_Root_URL = "http://pcalions.org/" ; //Absolute path to your site folder.

You should have:
$WAGLOBAL_Root_URL = "CMS100/" ; //Absolute path to your site folder.

hth

Mick

Sign in to reply to this post

allan205349

Still not working

That didn't do the trick; here is the WA_Globals.php file as it now stands. I still get the identical error message posted above.

============================
<?php
$WAGLOBAL_Root_URL = "http://pcalions.org/CMS100/" ; //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 = "*********" ;
$WAGLOBAL_Admin_Password = "*********" ;
?>
============================

Sign in to reply to this post

Jason ByrnesWebAssist

perhaps you have fixed the problem?

When I visit your page at:
indexCopy.php

I do not see an error anymore, but I do see:
Test Area for PowerCMS

-- Text from PowerCMS should appear below this line. --

Start of CMS test.

Additional News

This is a test of CMS:

* Bullet 1
* Bullet 2
* Bullet 3

End of CMS test.

-- Text from PowerCMS should appear above this line. --



It appears the index copy page is working now?

Sign in to reply to this post

allan205349

Still not fixed

But it only works the first time I create content. When I go back into PowerCMS Admin and click on Edit, that is when I get the aformentioned error message.

See screen capture of PowerCMS error message when clicking "Edit".

Sign in to reply to this post

Jason ByrnesWebAssist

There looks to be a problem in the $WAGLOBAL_remoteRoot setting in the WA_Globals.php file.

Change:
$WAGLOBAL_remoteRoot = "/wwwroot/CMS100/"; //relative path to your PowerCMS files on your remote server.

to:
$WAGLOBAL_remoteRoot = "/CMS100/"; //relative path to your PowerCMS files on your remote server.

Sign in to reply to this post

allan205349

Same error message shows up

Jason:

I am still receiving the identical error message after making the change you suggested.

Is it possible that there is a problem with our shared hosting server setup? What other files might we need to look at regarding this problem?

Sign in to reply to this post

Jason ByrnesWebAssist

I will need to look into this with you. I have created a support ticket so we can investigate this further, please update you support ticket by logging into your support history:
supporthistory.php

Sign in to reply to this post
loading

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