View Full Version : Please Help! HTTP error 0 testing server won't execute php pages

08-04-2009, 12:27 PM
Hi everyone,

I am using DWCS3, and the free version of MAMP on my MacBook Pro Leopard 10.5.6.

I have built a customer registration form with a Transitional <!DOCTYPE>.

When I try to preview the form in a web browser, I get a white screen.

When I click the live data view button I get an;
HTTP error 0 message occured while attempting to request the file http://localhost:8888/mywebsite/page_S9INUKZB.php from the testing server.

possible reasons:

1. Files in MacHD/Applications/MAMP/htdocs/mywebsite with a .php extension are not being executed by the testing server.

2. The MacHD/Applications/MAMP/htdocs/mywebsite does not map to http://localhost:8888/mywebsite URL on the testing server.

I've gone over the site definitions several times, I have installed MAMP twice once following Neon Fluxx's tutorial. I have used ports 80 and 3306 and this time I am using 8888 and 8889. The same problem has happened in both instances.

Here is my site definition info:

Local info:
Site name: mywebsite
Local root folder: MacHD:Users:myname:Desktop:mywebsite

links relative to document: http://localhost

Remote info:
Access: Local/Network
Remote folder: MacHD:Applications:MAMP:htdocs:mywebsite

Testing server:
Server model: PHP/MySQL
Access: Local/Network
Testing server folder: MacHD:Applications:MAMP:htdocs

URL prefix: http://localhost:8888/mywebsite

Web sharing is turned off.

Dreamweaver/Preferences/preview in browser/preview using temporary files is unselected.
(Yet in the HTTP error 0 message there are a string of letters after the page name which suggests dreamweaver is using temporary files).

I am also attaching my customer registration page in case that is the problem.

I have gone round in circles with this problem and I can't sort it out could somebody please help me.


08-05-2009, 01:08 AM
i have no idea re Macs but if you type http://localhost in a browser, what happens?
1 more thought have you started wamp service?