»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 04-19-2004, 10:52 PM   #1 (permalink)
Registered User
 
Tazzin's Avatar
 
Join Date: May 2003
Location: CA
Posts: 172
Tazzin is on a distinguished road
Outdoors DreamWeaver & PHP help

Hi everyone, I am having trouble getting DreamWeaver to connect to my PHP / MySQL server. I think it has to do with how I am setting up the Site Definition in DreamWeaver.

My local computer is running WinXP Pro and my Server is running MDK 9.2. I have used rpmDrake to install MySQL and php. I have created an info.php file in /var/www/html directory and typed http://localhost/info.php into mozilla and it returns all the information about php from my server (linux box).
I have also created another file time.php to display the time. Both run fine on the server, but not on my WinXP box. I can't get Dreamweaver to display the "live data".

Any help would be greatly appreciated!

Here is the error message I am getting:
Attached Images
File Type: jpg dream_error.jpg (39.7 KB, 38 views)

Tazzin is offline   Reply With Quote
Old 04-19-2004, 11:54 PM   #2 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
in your image..... your trying to call the site "localhost" that WONT work from another computer.

I assume your dealing with 2 networked computers. You need to call the LOCAL ip address of your server comp from your Dreamweaver computer.

From your server machine (linux) open up a terminal window and type

su - (will ask for root password)
then
ifconfig eth0

This should give you this machines LOCAL IP address. From your windows machine type in the local ip address of the linux machine..... you should see your apache server return the index page for your webserver.

IE: http://192.168.0.2/ or "something" like that (use the number you just found).

In your dreamweaver setup (I'm not familiar with that....) you need to change the "localhost" setting to the new http://(your local linux machines number here) you just found.

I know that explanation isn't perfect......but maybe it will get you pointed in the right direction.
__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.

Last edited by crouse; 04-19-2004 at 11:56 PM.
crouse is offline   Reply With Quote
Old 04-20-2004, 12:19 AM   #3 (permalink)
Registered User
 
Tazzin's Avatar
 
Join Date: May 2003
Location: CA
Posts: 172
Tazzin is on a distinguished road
Thanks Crouse!! that worked!!
I used 192.168.1.103/<root folder name>/

Thanks a bunch!!

Linux is hard when you are trying to learn linux.. dreamweaver.. php and mysql all at the same time!!

Thanks again!!!!
Tazzin is offline   Reply With Quote
Old 04-20-2004, 12:32 AM   #4 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
Your welcome. Glad you got it all working
__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.
crouse is offline   Reply With Quote
Old 04-20-2004, 12:46 AM   #5 (permalink)
Registered User
 
Tekk's Avatar
 
Join Date: Oct 2001
Location: SoCal
Posts: 1,122
Tekk is on a distinguished road
hehe...I know how you feel Tazzin. I couldn't get freakin ASPX files to work on my server for a while and all it finally took was a simple permissions change and wham bam I was fine....server setup can really be a pain in the butt
__________________
Im very explosive right now...BOOM! Very explosive.
Tekk is offline   Reply With Quote
Old 04-20-2004, 12:50 AM   #6 (permalink)
Registered User
 
Tazzin's Avatar
 
Join Date: May 2003
Location: CA
Posts: 172
Tazzin is on a distinguished road
You got that right Tekk... hmm.. you are close to me.. I am up north in Camarillo, Cali... over the hill from Thousand Oaks..
when I get this thing finished .. yeah right.. maybe you could check the server out to see that there aren't any security holes..
Tazzin is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 04:45 PM.