Forums
This topic is locked
Repeat posting - all looked - nobody responded
Posted 07 Mar 2007 17:43:28
1
has voted
07 Mar 2007 17:43:28 Brian Smith posted:
Dreamweaver MX and Apache. Setting up testing server on my machine. Nothing fancy - no PHP yet.Directory Structure is
C:\Apache Software Foundation\Apache 2.2\htdocs\antiques_phpIn that folder the following folders _mmServerScripts, Antiques, Connections, Images and Inetpub.
F:\DRMWR\Inside MX\Chapters\Chapter_30In that folder the same folders as above.
(I am using Inside Dreamweaver MX by Gutman, AYers and Booth -if that helps - this is the PHP chapter)
I use the following parameters to set up the connection:
Connection Name: Antiques_Conn
MySqlServer: localhost (OR localhost:8080)
UserName: root
Password: ****
Database: Whether I hit select or type in the database name I get the following error message:
HTTP Error Code 404 File not found
1) There is no testing server running on the server machine
2) The testing server specified for this site does not map to http:localhost:8080.--mmServerScripts/MMHHTPDP.php URL. Verify that the URL Prefix maps to the root of the site.
From the Site Set up the local root folder is
F:\DMWVR\Inside MX\Chapters\chapter_30The remote is
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\antiques_phpThe testing server is
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\antiques_php
The 'missing' file MMHHTPDP,php is found in
C:\Apache Software Foundation\Apache 2.2\htdocs\antiques_php\_mmServerScripts
Anybody give me a clue?
Would Dreamweaver 8 be easier?
BJS
Replies
Replied 07 Mar 2007 18:23:42
07 Mar 2007 18:23:42 Javier Castro replied:
Under The testing server, under URL prefix, you have have something like this: localhost:8080/Antiques/
also, do you have all your files on the htdocs forlder. Sometimes not all them _mmServerScripts files are there. I would suggest copying the _mmServerScripts folder outside dw, using windows Explorer and pasting it to your inside your Antiques folder if that is your selected site.
Let me know what happens.
Javier
also, do you have all your files on the htdocs forlder. Sometimes not all them _mmServerScripts files are there. I would suggest copying the _mmServerScripts folder outside dw, using windows Explorer and pasting it to your inside your Antiques folder if that is your selected site.
Let me know what happens.
Javier
Replied 07 Mar 2007 19:01:03
07 Mar 2007 19:01:03 Brian Smith replied:
Replied 07 Mar 2007 19:10:02
07 Mar 2007 19:10:02 Javier Castro replied:
did you test apache server? did you run the test page where you can see the feather and make sue that is running appropriately?
In my experience you need to have a running server to display your php files.
Do the following in IE type on the address bar localhost and see what you get or try localhost:8080 if you see the apache initial page then you're ok there and there is a problem somewhere else. <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
In my experience you need to have a running server to display your php files.
Do the following in IE type on the address bar localhost and see what you get or try localhost:8080 if you see the apache initial page then you're ok there and there is a problem somewhere else. <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
Replied 07 Mar 2007 19:20:27
07 Mar 2007 19:20:27 Brian Smith replied:
DId that - got the message 'It Works'
Apache, Mysql & PHP all seem to working OK - its the Dreamweaver config that I am having a problem with. <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>
BJS
Apache, Mysql & PHP all seem to working OK - its the Dreamweaver config that I am having a problem with. <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>
BJS
Replied 07 Mar 2007 21:18:13
07 Mar 2007 21:18:13 Javier Castro replied:
OK. Then. Are you working directly on the server or do you have a copy on your C: drive and a copy in the htdocs folder as well?
create a folder in your C: drive, call it Testsite, go and create one in the htdocs folder on the sever. On DW create a new site an Refer to your C: drive Testsite and as remote, use your htdocs Testsite as well as testing Server.
Then create a new PHP page and upload it to your server and see if that works.
I'll be going out in a bit but send your results. I'll catch up when I get back.
create a folder in your C: drive, call it Testsite, go and create one in the htdocs folder on the sever. On DW create a new site an Refer to your C: drive Testsite and as remote, use your htdocs Testsite as well as testing Server.
Then create a new PHP page and upload it to your server and see if that works.
I'll be going out in a bit but send your results. I'll catch up when I get back.
Replied 07 Mar 2007 22:23:50
07 Mar 2007 22:23:50 Brian Smith replied:
Created a folder TestSite in the root of C:
Created a folder TestSite in the htdocs folder
Created a new site called testsite in the folder on C drive
For remote used LocalNetwork and the same folder on C drive
For Server Module used PHP/MySQL
Access Local Network
Testing Server Folder is C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\TestSiteURL Prefix localhost/TestSite
Created php file in Dreamweaver. Previewed in Dreamweaver - got error file not found - added 8080 in address bar and correctly displayed the file.
Uploaded the php file to the server
Created a connection script using a name for the connection,
MySqlServer: localhost
User Name: root
Password: ****
Typed in database name (If I try select it get error message)
Also tried localhost:8080 as server - same error message
Error message is
1. There is no testing server running on the server machine
2. The testing server specified for this site does not map to the localhost/TestSite/_mmServerScripts/MMHTTPDB.php URL. Verify that the URL prefix maps to the root of the site.
<img src=../images/dmxzone/forum/icon_smile_8ball.gif border=0 align=middle>
Brian
BJS
Created a folder TestSite in the htdocs folder
Created a new site called testsite in the folder on C drive
For remote used LocalNetwork and the same folder on C drive
For Server Module used PHP/MySQL
Access Local Network
Testing Server Folder is C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\TestSiteURL Prefix localhost/TestSite
Created php file in Dreamweaver. Previewed in Dreamweaver - got error file not found - added 8080 in address bar and correctly displayed the file.
Uploaded the php file to the server
Created a connection script using a name for the connection,
MySqlServer: localhost
User Name: root
Password: ****
Typed in database name (If I try select it get error message)
Also tried localhost:8080 as server - same error message
Error message is
1. There is no testing server running on the server machine
2. The testing server specified for this site does not map to the localhost/TestSite/_mmServerScripts/MMHTTPDB.php URL. Verify that the URL prefix maps to the root of the site.
<img src=../images/dmxzone/forum/icon_smile_8ball.gif border=0 align=middle>
Brian
BJS
Replied 07 Mar 2007 23:28:27
07 Mar 2007 23:28:27 Javier Castro replied:
for remote you should be using C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\TestSitefor testing C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\TestSiteURL prefix: localhost/TestSite/
Preview it on IE or Firefox
if you get the "does not map...."
Using Windows Explore, not DW, copy the folder _mmServerScripts from your C:\TestSite\_mmServerScripts and paste it on the
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\TestSite\ and it will replace what you already have there.
I'll cross my fingers
Preview it on IE or Firefox
if you get the "does not map...."
Using Windows Explore, not DW, copy the folder _mmServerScripts from your C:\TestSite\_mmServerScripts and paste it on the
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\TestSite\ and it will replace what you already have there.
I'll cross my fingers
Replied 07 Mar 2007 23:35:46
07 Mar 2007 23:35:46 Javier Castro replied:
Also check this link:
www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16515
It may provide with some ideas. Pay attention to the details. My first intalling Apache and MySQL was quite interesting and it took me about 4 tries to have it where I wanted. Although I went the Manual root and follow some tutorials online.
I tried WAMP and Other flavours for installing binary file, but went the hard way. Once it works is smooth sailing. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16515
It may provide with some ideas. Pay attention to the details. My first intalling Apache and MySQL was quite interesting and it took me about 4 tries to have it where I wanted. Although I went the Manual root and follow some tutorials online.
I tried WAMP and Other flavours for installing binary file, but went the hard way. Once it works is smooth sailing. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replied 08 Mar 2007 00:02:48
08 Mar 2007 00:02:48 Brian Smith replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I'll cross my fingers
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That could get quite painful after a while. Tried it all - still the same response. When I previewed I had to manually change the address by adding :8080. Could that have anything to do with it?
I will check the reference you gave for further reading,
Thanks for trying.<img src=../images/dmxzone/forum/icon_smile_kisses.gif border=0 align=middle>
Brian
BJS
I'll cross my fingers
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That could get quite painful after a while. Tried it all - still the same response. When I previewed I had to manually change the address by adding :8080. Could that have anything to do with it?
I will check the reference you gave for further reading,
Thanks for trying.<img src=../images/dmxzone/forum/icon_smile_kisses.gif border=0 align=middle>
Brian
BJS
Replied 08 Mar 2007 22:19:27
08 Mar 2007 22:19:27 Brian Smith replied:
Javier
There is a patch which I downloaded which should correct my problem - unfortunately, for some reason it could not find my install of the product - probably because i have partitioned my disk - more than once- and moved programs around.
There is another fix mentioned in the article and I will give that a try. I will let you know the outcome.
Brian
There is a patch which I downloaded which should correct my problem - unfortunately, for some reason it could not find my install of the product - probably because i have partitioned my disk - more than once- and moved programs around.
There is another fix mentioned in the article and I will give that a try. I will let you know the outcome.
Brian
Replied 08 Mar 2007 22:35:05
08 Mar 2007 22:35:05 Brian Smith replied:
Javier
Tried all the recommendations in that file - all failed, Guess I will have to bite the bullet and get Dreamweaver 8
Thanks again.
Brian
Tried all the recommendations in that file - all failed, Guess I will have to bite the bullet and get Dreamweaver 8
Thanks again.
Brian