close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

My Database may not be configured properly, Get this error message

Thread began 10/27/2009 8:18 am by james316550 | Last modified 10/27/2009 10:19 am by Jason Byrnes | 1373 views | 1 replies |

james316550

My Database may not be configured properly, Get this error message

I created the MySQL database, installed the PowerCMS files and uploaded it to mysite.
I created some content to test it and got this error message:


Warning: include(cms/Connections/localhost.php) [function.include]: failed to open stream: No such file or directory in /home/content/c/w/p/cwpmiadmin/html/obesity.php on line 1

Warning: include() [function.include]: Failed opening 'cms/Connections/localhost.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/c/w/p/cwpmiadmin/html/obesity.php on line 1

Warning: include(cms/WA_CMS/WA_CMS.php) [function.include]: failed to open stream: No such file or directory in /home/content/c/w/p/cwpmiadmin/html/obesity.php on line 3

Warning: include() [function.include]: Failed opening 'cms/WA_CMS/WA_CMS.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/c/w/p/cwpmiadmin/html/obesity.php on line 3

It looks like I didn't "connect" something properly or the directory is incorrect. I looked in the forums and changed the default path to what it is now (added the "cms" to the beginning of the path for the PHP at the top of the page), but that didn't help either.

Can you help?

Sign in to reply to this post

Jason ByrnesWebAssist

The problem is the path to the Connections/localhost.php file.


Look at the full address to the power CMS files. if the address to login is:
users_login.php

and the page you are adding powerCMS to is at:
mypage.php

the developer notes path needs to be adjusted to:
<?php include "powerCMS/Connections/localhost.php"; ?>
<?php include "powerCMS/WA_CMS/WA_CMS.php"; ?>

if you are having trouble with getting the path correct, please post a link to your pwerCMS login page and the page you are trying to add powerCMS to so when can help.

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