close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

MySQL connection error?

Thread began 2/24/2010 10:26 pm by dennis372614 | Last modified 2/26/2010 7:36 am by dennis372614 | 3150 views | 4 replies

dennis372614

MySQL connection error?

I wanted to work on my Power Store3 locally, I FTP the site to my local testing server.
xaamp, Apache and Sql server running. Setup new site in c:\xaamp\htdocs\computerdesign
with Dreamweaver CS4, setup powerstoreconnection for database, all seems to be working as I can connect and see all the tables, Server behaviors, selecting index.php and trying to view, I get a SQL connect error:

Warning: require_once(CSSMenuWriter/cssmw_home/menu.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\computerdesign\index.php on line 158

Fatal error: require_once() [function.require]: Failed opening required 'CSSMenuWriter/cssmw_home/menu.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\computerdesign\index.php on line 158

This is from line 158 of index.php
<?php require_once("CSSMenuWriter/cssmw_home/menu.php"); ?>



I modified the Connection.php as follows
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_PowerStoreConnection = "localhost";
$database_PowerStoreConnection = "power_store3";
$username_PowerStoreConnection = "root";
$password_PowerStoreConnection = "support";
$PowerStoreConnection = mysql_pconnect($hostname_PowerStoreConnection, $username_PowerStoreConnection, $password_PowerStoreConnection) or trigger_error(mysql_error(),E_USER_ERROR);
?>

Note I also replaced the treexml.xml with one that was shown to use in Powerstore 3 in the cssmw_home.

In the Wa_settings of my database power_store3 I changed the root url to computerdesign/

Im stumped at this point?

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