From: wsj3454 on
I've been trying to debug this problem for two days and have read through the
archives, but am still stuck. I'm trying to get the RecordStorePHP sample
application working on my local machine. When I try to add a RecordSet in
Dreamweaver and establish the MySQL Connection I get this Dreamweaver error
"HTTP 404 Error Code File Not Found: The Testing Server specified for this site
does not map to http://localhost/_mmServerScripts/MMHTTPDB.php".

I feel confident that PHP/Apache and MySQL are all installed properly and
running. I also have Apache configured for PHP and have the PHP files installed
in the appropriate directory. I believe my problem is related to where the PHP
should be installed relative to Apache. I've specified in the config for Apache
that PHP is installed at C:/PHP.

The Apache error log indicates: File does not exist: c:/program files/apache
group/apache/htdocs/_mmserverscripts/MMHTTPDB.php

I would really apprciate any advice on this.

From: David Powers on
wsj3454 wrote:
> "HTTP 404 Error Code File Not Found: The Testing Server specified for this site
> does not map to http://localhost/_mmServerScripts/MMHTTPDB.php".

This must be the most frequently asked question about Dreamweaver and
PHP. The answer is very simple. You must provide the correct URL prefix
for the testing server in your site definition.

From your description, it appears that you are storing your PHP sites
in the following location:

c:/program files/apache group/apache/htdocs/

Let's say you have created a site called mysite inside the htdocs
folder, the Site root is:

c:/program files/apache group/apache/htdocs/mysite/

The URL prefix is:

http://localhost/mysite/

End of story.


--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://computerbookshelf.com/
From: SnakEyez on
Is the path to your website setup proprely? Is your website really stored in
the root folder of your Apache setup?

You may need to configure the httpd.conf file in order to properly set up the
paths in Apache to match that of the site you are trying to test.

If you are not sure what I am talking about post back and I will tell you
step-by-step what to look for in the httpd.conf file that you will need to
change for paths. Also be sure to check the Dreamweaver settings that I
mentioned before doing aynthing else.

From: wsj3454 on
Yes, my website is stored in the root folder of Apache setup. Should it be
somewhere else?

The only mods I've done to the Apache httpd.conf is to set it up for PHP. So,
not sure if there is an issue there?

Not sure what Dreamweaver settings you are referring to? I have specified that
the location of the website is in the root folder.

If you can tell me what to look for that would be great.

From: wsj3454 on
David, I realize that this is the most common problem. From searching the
archives I did see that the most common recommendation is to ensure that the
URL prefix directs to the site created. However, this does not seem to solve my
problem or my configuration has some other error.

Here's my configuration:

Local Server
Local Root Folder: C:\Program Files\Apache Group\Apache\RecordStorePHPStart\
Links Relative to: Document
HTTP Address: http://localhost/RecordStorePHPStart/

Testing Server
Testing ServerFolder: C:\Program Files\Apache Group\Apache\RecordStorePHPStart\
URL Prefix: http://localhost/recordstorephpstart/

Thanks in advance for any help.


 |  Next  |  Last
Pages: 1 2 3 4
Prev: drop shadow to table
Next: Web Page URL/Address