doeydude wrote:
> I get a "404 File Not Found" error. It also says " The
testing server
> specified for this site does not map to the
>
HTTP://www.mydomain.com/_mmServerScripts/MMHTTPDB.php?".
I am obviously doing
> something wrong but for the life of me I just cant work
it out.
Dreamweaver creates a hidden folder called _mmServerScripts
in the root
folder of your website to handle all communication with
MySQL. The error
message means that Dreamweaver can't find it because you have
not set up
your Testing Server category correctly in your site
definition.
It sounds as though you are using your remote server for
testing. Go to
Site > Manage Sites, select your site, click Edit. Use the
Advanced tab
and select the Testing Server category. Use the following
settings:
Server model: PHP MySQL
Access: FTP
FTP host: the FTP details for your site
Host directory: the path to the root folder of your site
Login: your username
Password: your password
URL prefix: the URL that's the equivalent of the root folder
of your site
The key is that Host directory and URL prefix must map to the
same
location. So, if your site is called example.com, URL prefix
will be
http://www.example.com/. Host
directory is wherever you upload your home
page.
--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/