close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PowerCMS Error message

Thread began 10/02/2009 5:08 am by info373610 | Last modified 10/02/2009 10:43 am by David Stringer | 2927 views | 3 replies |

info373610

PowerCMS Error message

I get the following message when I try enter config.php on the site I have uploaded

Warning: require_once(../../../../../WA_Globals/WA_Globals.php) [function.require-once]: failed to open stream: No such file or directory in /home/s53427/public_html/config.php on line 2

Fatal error: require_once() [function.require]: Failed opening required '../../../../../WA_Globals/WA_Globals.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/s53427/public_html/config.php on line 2

Firstly I assume that the config.php file is the log in to actually use the CMS system, I cant find anything in your documentation that says what exactly it is.

By the way your documentation leaves a lot to be desired, The sales blurb on your website says that no knowledge of PHP is required - but the opposite is true. The only documentation that was written with the non-specialist in mind is the powercms_globals.pdf, which gives the setting to be entered, followed with an example of what it should look like afterwards.

Sign in to reply to this post

David StringerBeta Tester

Originally Said By: info373610
  Warning: require_once(../../../../../WA_Globals/WA_Globals.php) [function.require-once]: failed to open stream: No such file or directory in /home/s53427/public_html/config.php on line 2

Fatal error: require_once() [function.require]: Failed opening required '../../../../../WA_Globals/WA_Globals.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/s53427/public_html/config.php on line 2  



Hi Info,

You seem to be knee deep in levels ../../../../../WA_Globals
Your server will be looking for this file to provide the necessary connection to your website.

These are the connection details on one of my sites for logging-in
<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>
<?php require_once('../Connections/localhost.php'); ?>
<?php require_once( "../WA_CMS/WA_CMS.php" ); ?>

Hope this helps!

Sign in to reply to this post

info373610

Clarification on log ins

Thank you for your reply David.

Please allow me to be a bit thick here!

Am I right in saying that those files
Helper_PHP.php
WA_Globals.php
WA_CMS.php
localhost.php

need to be in the same folder as the other files that make up the website, the about us, contact etc?

I'm also confused by localhost - my webspace provide has said that the path to my - MySQL server is just "localhost". He believes that this will open the heavens and clarity shall strike me like a snowball. Help me please - I stayed up all night trying to get this to work!!

Sign in to reply to this post

David StringerBeta Tester

Yes, you need all the files in the root folder. That is whichever extensions you are using. The example I have given you will not be correct for your application.

To make your example work in localhost you need to download and put onto your computer Wamp server. Just search for this on Google and it is self installing and pretty straight forward to install. If you have any problems, just get back to me on here!
Hope this helps.

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