PDA

View Full Version : no testing server


tirzahm338096
07-26-2009, 09:06 PM
Attempting to connect to my database from within Dreamweaver and getting a HTTP Error Code 404 file not found. It then lists 2 possible reasons.
1. There is no testing server running on the server machine -
(I am running Apache and outside tests have worked fine. I have also set up the Testing Server in the manage site definition window, the server model is PHP MySQL and Access: Local/Network, testing server folder links to the htdocs folder)
2. The testing server specified for this site does not map to the http://localhost/_mmServer.... Verify that the URL Prefix maps to the root of the site.
(i have no idea what this means, the mySQL files are located at this path C:\ProgramData\MySQL\MySQL Server 5.1\data\mydb and my website files are the htdocs folder. Is that at all relevant?)

Ray Borduin
07-27-2009, 07:13 AM
It looks like you may not have PHP installed properly.

tirzahm338096
07-27-2009, 09:13 AM
PHP is fine, http://localhost/phpinfo.php loads as it should.

Ray Borduin
07-27-2009, 09:19 AM
Maybe a mismatch in your site definition. Make sure the HTTP address on the general tab matches the URL prefix setting on the Testing server tab.

muddysmurf
07-27-2009, 10:14 AM
I've always put everything (apache, mysql, and the php) folders under just C:\ and not inside the program folder.

What version of windows are you using? I've just installed all three of these things plus phpmyadmin on two Vista machines.

On my first try on the first Vista, php seemed to be working when I checked the phpinfo, but I couldn't get phpmyadmin to install correctly. Turns out, my php wasn't installed correctly with all of the right settings in the php.ini file.

tirzahm338096
07-27-2009, 06:21 PM
Ray - I think you were right, i did a slight adjustment in the site definition window and it works okay now. Updated the URL prefix to include the sub-folder name, i have no idea why that would fix this but it did. Thanks.