logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Web Hosting and FTP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 10-01-2009, 01:02 AM   #1
AW137
 
Join Date: Oct 2009
Posts: 2
Question Local PHP/MySQL testing environment

I'm looking to understand building online Forms and validating their input. In "The Essential Guide to Dreamweaver CS4..." it suggested to install XAMPP for Windows (via ApacheFriends.org) to install a PHP/MySQL testing environment on my local computer. After having done this I attempt to test a simple example to see how Spry and Forms transfers data from a client-side page onto a new page (via the server testing environment). However, what happens is that once a new page loads it either displays "Error 404" or, more often, "Internet Explorer cannot display the web page." Mind you, the Apache server (with MySQL and FileZilla FTP) is turned on. Anyone with knowledge of these things?
AW137 is offline   Reply With Quote
Old 10-01-2009, 06:09 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

open a browser and type http://localhost if the serveris ok you will open the index page, xxamp has some kind of landing page from first installation i believe. if so i suspect it is asite definition problem , try that fitrst and post back
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 10-02-2009, 01:53 AM   #3
AW137
 
Join Date: Oct 2009
Posts: 2
Default First step

Thanks edbr. Here's what happens:

I get to XAMPP for Windows webpage, and it indicates:
"Welcome to XAMPP for Windows Version 1.7.1 !

Congratulations: You have successfully installed XAMPP on this system! Now you can start using Apache and Co. You should first try »Status« on the left navigation to make sure everything works fine.
..."


Then, I check 'Status' and MySQL, PHP, HTTPS, CGI, and SSI are "activated," only SMTP and FTP Services are "deactivated."



Then, with the XAMPP Control Panel, I start modules Apache and MySQL, leaving FileZilla off.



I load my file ("feedback.php" under folder /ch09) in Dreamweaver, and select Preview on Internet Explorer. Two windows appear one after the other. The first is "Update Copy on Testing Server?" I click Yes.The second is "Dependent Files?" The default is "No".



If I click "No" then a webpage attempts to open with "http://localhost/ch09/feedback.php" in the search window, and it never loads completely--just a white page appears.



If I click "Yes" then a webpage opens but indicates the following: "Object not found! ... Error 404, localhost, today's date/time stamp, Apache..."


Your thoughts?
--AW137



Quote:
Originally Posted by edbr View Post
open a browser and type http://localhost if the serveris ok you will open the index page, xxamp has some kind of landing page from first installation i believe. if so i suspect it is asite definition problem , try that fitrst and post back
AW137 is offline   Reply With Quote
Old 10-02-2009, 03:45 AM   #4
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

in your site definitions you have saved a folder in the public_html folder( i think that what xxamp calls local host)? and 'put' your files? if so i cant be sure why its doing that as apache is obviously configured so i dont think its a problem with that
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:47 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com