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


Warning error on localhost

Thread began 2/14/2010 3:32 pm by massimo173451 | Last modified 2/16/2010 2:04 pm by Eric Mittman | 538 views | 1 replies |


Warning error on localhost

When I am working on localhost and run the PHP pages, receive the message showed in the image attached, where I can find the error and how is possible share both connections on localhost and server together? I can use only a single connection and comment the other one for avoid trouble. Follow the connection used by me on localhost or server.

# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
#connessione su localhost
#$hostname_localhost = "localhost";
#$database_localhost = "PowerStore";
#$username_localhost = "root";
#$password_localhost = "ma06ssimo";
#connessione su server
$hostname_localhost = "";
$database_localhost = "xxxxxxxxxx";
$username_localhost = "xxxxxxxx";
$password_localhost = "xxxxxxx";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);


Sign in to reply to this post

Eric Mittman

The error message you are getting is not referring to the details of the connection, just that the connection file cannot be found.

You should be able to resolve this problem by going into the CSSMenuWriter > cssmw_home > menu.php. In here you can update the include to have an extra ../ in front of it like this:

line 23

require_once($WA_dotDotSlash . "../Connections/PowerStoreConnection.php");

This path should be configured for you already though with the code. Do you get this on every page or only when you try to preview certain pages? Please let us know the details about this issue so that we can look into further if necessary.

Sign in to reply to this post


This post has been deleted.

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





Ease of use


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