DW CS5.5 Testing server setup - Help!!

Hi everyone,
Sorry if this is in the incorrect place for this error but I an having difficulties running a test server for php testing.
I am running MacBook Pro, Lion and have Xampp installed. DW CS5.5 Databases access via phpmyadmin works fine.
Ok so this is what I do:
1. Create a new site in DW CS5.5
     Under Site Tab:
          Site Name: test
          Local folder: desktop/test
2. Unser server tab:
          Basic tab
               Sever name: whatever.
               Connect with: local/network
               Server folder: placed in the htdocs/mysite
                    (Note: When creating the new folder in htdocs a pop up states that the folder is read only, so I am hoping its something to do with that)
               Web URL to http://127.0.0.1/xampp
          Advance tab
               maintain sync info: Checked
               automatically upload on save: Checked
               Testing Server Model: PHP MySQL
          Save
               Remote: unchecked
                Testing: checked
          Save
3. Create new php file and open it, save it, making sure that the cursor is still flashing within the document.
4. Open the Databases tab
     Click the + and select MySQL Connection
          name: MyConnection
          mySQL server: localhost
          username: root
          password:
     Pressing select gives the following errors:
          HTTP 404 error MMHTTPDB.php does not exist
          Unidentified error
     Attempts:
          renaming Web URL to http://127.0.0.1/xampp/xamppfiles/htdocs/mysite/_mmServerScripts as thats where I found the MMHTPDB.php file. No avail
          changing local folder from desktop/test to htdocs/mysite. No Avail
Please could someone show me why DW is teasing me
thanks in advance

Hi SnakEyez02,
Thanks for that... I have updated the thread so that it works now
ANSWER
1. Create a new site in DW CS5.5
     Under Site Tab:
          Site Name: test
          Local folder: desktop/test
2. Unser server tab:
          Basic tab
               Sever name: whatever.
               Connect with: local/network
               Server folder: htdocs/xampp/mysite
               Web URL to http://127.0.0.1/xampp/mysite
          Advance tab
               maintain sync info: Checked
               automatically upload on save: Checked
               Testing Server Model: PHP MySQL
          Save
               Remote: unchecked
                Testing: checked
          Save
3. Create new php file and open it, save it, making sure that the cursor is still flashing within the document.
4. Open the Databases tab
     Click the + and select MySQL Connection
          name: MyConnection
          mySQL server: localhost
          username: root
          password:
          select database/ table and press OK
Now at the top of the php doc press "discover"
THATS IT:)

Similar Messages

  • Testing Server Setup Re: Webmatrix and Wordpress

    I am new to Wordpress so what I did was to setup up everything through Microsoft Webmatrix.  Everything installed find for my Local Host Server.  As long as I load up the Webmatrix program first I can put the "localhost" adress in my browser and my Wordpress theme will load up fine.
    The next step I did was to try to edit my theme via Dreamweaver CS5.  I followed all the Adobe on-line instructions for setting everything up.  Nevertheless when I press the live view button Dreamweaver keeps asking for the Texting Server which I thought I already had setup.  I pointed the "testing server" folder to the same folder as Wordpress (where the theme is also located via "My Websites."
    Everything else seems to work and I followed all the instructions given by Adobe.  See:
    http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server.html
    http://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt2.html#wordpress
    http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-79e0a .html
    Nevertheless when I press the Live View button Dreamweaver keeps begging for the teasting server.  I have the "server model" set to PHP MySQL.
    Thanks for your help.

    Go to the "Site" menu > 3rd down "manage sites"> pick your site and click the edit button
    Click the "Servers" tab on the left, this displays the sites you have, sellect your site and click the testing server check box.
    When you press F8 make sure you press the testing server button to log onto your site.
    Sorry about the French interface, Quebec laws!
    Hope this resolves your issue!
    PS: you'll have to add a seperate entry for the live server in order to keep things seperated for Dreamweaver.

  • 10.5.1 Server Setup - Help Make it all Work!

    Hello Everyone, I currently have a new MacMini running 10.5.1 with our Calendar, Wiki and File Sharing. I have recently just returned from the Mac OS 10.5 Training Session from Chicago Columbia College and was astonished at what their demo servers did versus what mine has never done lol. We are a small tech company and there isn't much yet in the way of documentation or training or even training materials for Leopard Server. So I wanted to share some of what we learned from the training seminar and hopefully someone will know the proper answers to my questions. This is going to be a bit long winded but I think it's important to convey my questions/concerns.
    1. Ok initial setup of our Leopard server requires you to input a host name and then the domain name. Well after the first install of Leopard we found as I have read amongst the posts for the past 2 hours that if you place let's say macmini in the host-name field then place domain.com in the domain field. After the server setup is complete Leopard Server wants you to chat, vpn, and browse to http://macmini.domain.com/groups as well as mail. This is all well and good if you have access to DNS like I do and can easily make changes to the MX & A records but if your a typical SMB user then you won't and this means that once your e-mail is setup and your ready to start using your server anyone you e-mail will come from [email protected] and not [email protected] which is a huge problem. So be cautious here. I was instructed by Apple after scratching their head to leave the host-name blank and only fill in the domain name here if your on let's say a T1 or other medium with a static IP pointed at your machine or router. So this is my first pet peve, there is a sloppy work around to this by telling the server to receive e-mail for domain.com as well but still whenever you send it comes from the original domain.
    2. Application Setup - Single Sign-on - When I attended Leopard training this week in Chicago I was amazed at how whenever a user (demo -lab environment) logged into ichat, ical, wiki or e-mail there was simple single sign-on kerberos auth. What I mean by this is once the server is up and running and your Mac connects to the network for the first time either by manual add thru the directory application or a new Mac that finds the Leopard server automatically at first boot and you auth a user on the server to that Mac then there is just a single signon from that point on, NOT! For us our users log into their machines, (mind u they are already users on the Leopard server and can log in just fine) and they try to go to their e-mail for the first time it always fails. We then have to disable SSL over SMTP and IMAP and manually type in their passwords because the MacMail clients cannot trust the SSL cert or we simply just delete their accounts and recreate them from scratch. Same happens with iChat. By design when you auth your Mac against the server, the server auto configs the security and client apps, i.e. mail, ichat, directory, VPN, ical. But iCal has consistently failed setup across 5 server builds and 10 clients. What will happen is when you go to prefs in ichat you see your account but it can't auth you and doesn't show up in ical for your personal server calendar. If you manually remove your user account and re-add it works great. But next time you go to ichat, once again you have to recreate. And I can recreate this all day long. But at the demo it worked like magic. So that is problem number two, SSL and single sign-on does not really work and app auto-config does not work at all.
    3. Apple Airport Extreme 802.11N. - As a test and per Apple's recommendation for SMB clients we picked up a new Airport. We patched it and setup user/pass info and setup DHCP on the device for so if server fails we have internet. And during server setup it logged into Airport and tried to configure settings. We were on the net and all was good after server setup. However with VPN enabled per user in Standard mode on server we have only been able to gain VPN access for clients if they are actually inside the network. I have spent about 10 hours back and forth with Apple Support trying to get VPN to work outside. The Manual setup of new Airport Port-Mapping is simple but crude. It does not seem to work. And there is a default hosts setting which should translate to an open DMZ but does not. So that is third on my list, running a MacMini with 2gig's of RAM which is within SPEC for Leopard Server and using the Apple Recommended solution of an Airport Extreme N does not work for s&*% and I would be very surprised if anyone here has gotten that to work.
    4. E-Mail Services - As stated prior Leopards auto app setup utility does not work for crap unless by some magic there are other steps besides the ones outlined and printed with the purchase of server. But the main thing about mail is that we are missing the basics. I mean your going to be hard pressed to find ANY e-mail application on the market today, Notes, Exchange, Gmail, Hotmail, Yahoo, iMail or other that does not include basic vacation/out of the office message replies. This is a huge issue for any small business or for that matter any size business that wants to automate things when they are out and I think this is one of my small peeves but certainly worth a listing here.
    5. VPN - We have tried like **** to get the VPN to work thru the Airport as previously noted but we have also connected MacPro with 2 nics, one for net and one for LAN and not been able to connect to the server from outside our network. Here is my largest frustration, we currently run SBS2003 from MSFT and they run flawlessly. I have literally sat with clients in their office during a new setup for SBS and in 3-4 hours we were up and running with minimal system level changes from the guided path. And for Apple to advertise this in the manual and all online materials as being SMB friendly is a complete slap in the face. Now don't confuse my above descriptions of problems we have seen across 5 Leopard builds as being a rant because it's not but seriously I am a network engineer with 10 years in the field working with 20+ product ranges and in our office we only use Mac because of stability and uptime. But OS X 10.5 is not Small Business Friendly at all even with the half hearted attempt at the new System Admin console for SMB users. However that being said I will still push on and try to get all these little bugs worked out and what I would really like to see is some feedback on my issues and I would love to know if anyone else has had similar issues. I really had hoped that 10.5 could help my firm finally push the proper solution (Mac OS X) for our SMB clients but it just isn't there yet.
    Cheers,
    DM

    Thanks for the quick read and response. Do you feel the issue might lie with the fact that it is a Mac Mini? And possibly just not powerful enough to run Leopard Server? I have to say in our trials with MacPro it was like night and day as to how they performed. And if you could elaborate on this "Many VPNs don't play well with NAT so your VPN server should have a direct connection to the public network (preferably firewalled, of course, but not NATted)." Most every SoHo and for that matter uses simple NAT translation for security even our multi thousand dollar Cisco PIX and ASA's are basic NAT devices to start with. How would you put the VPN on public net while keeping the attack surface low for the rest of the services like file, web, mail and print?
    Don't get me wrong I want this to work more than you can imagine. We are so tired of supporting MSFT technologies that cost thousands a year in antivirus, antispyware, antispam and other malware protection for the enterprise. We know that Leopard has great potential but for an integrator, getting this system up and functional is not an easy task. And the worst part of it is every time we have called for support the tech always lets out a sigh when they hear we have run standard setup because they are not allowed to walk us thru the server console to make repairs. And have been told by 3 techs so far that this is a new product and the support avenues are not there for standard since it just supposed to work out of the box. But when it doesn't then ohh well. Which is sorta sad...
    DM

  • I am having difficulty correcting the Testing Server setup in Dreamweaver CS4.

    The http error codes are 404 (open DW) and 12150 (failed test URL).

    Please see my responses inline below:
    Moore6931 wrote:
    I thank you for your help but I don't understand.
    1. At this time, I edit the web site locally.  When the changes are completed, then I copy the files to the remote (Go Daddy) server, with FTP.
    Perfect. In that case, I'm not even going to try to change you to use Dreamweaver's in-built FTP as that will probably confuse you at this stage. In this case, go to 'Remote Info' and make it 'None' - remove all credentials from there - we dont need it configured within Dreamweaver if we aren't using it.
    2. Because my edits are local, testing of the files is local.  In fact, I normally disable the network connection, when I don't need it open.
    Go to 'Testing Server' and make it 'None' and remove all credentials - make it blank too. Since you're not using any 'dynamic' services, we don't need to configure one. Your previews can happen via your browser from your 'Local files'.
    3. Go Daddy uses PHP on Linux servers for hosting.
    Well, Go Daddy also gives you a variety of other options - but I'm assuming you've purchased a Linux hosting setup with PHP running on it. Let's not worry about PHP here because you're not using PHP to develop your website.
    4. Since I'm not adept with computers, computer terminology and computer configurations, I try to leave settings at default.
    The only thing you'll need to keep 'as is' is your 'Local Info'. Other than that, remove both 'Testing' and 'Remote' configurations. You should get going in no time.
    5. I am unsure of the test server requirement.  The descriptions of a "dynamic" page are not clear, to me.  My web site uses,
         a. html,
         b. An XML data page for sorting my photographs,
         c. Spry cascading tables,
         d. Scrolling photo thumbnails,
         e. Links to pdf files and
         f. E-mail contact.
    A regular HTML website is usually 'static' - as all the content you have within it is 'hard-coded' or 'hand-written' into it. A PHP/ ASP/ JSP/ CFM code is usually 'dynamic' - meaning only the master template is usually made with code. The actual content is fetched from a database or an external source. And to do this (to fetch data from a database), this type of code has to run on a server-environment. That is the only primary difference between 'static' and 'dynamic' webpages. Not getting into the details of it as I'm unsure if that's going to confuse you more!
    If this is not clear, please see me web site.
    http://envisioningmoore.com

  • Dreamweaver adding local testing server MySQL-HELP REQUEST

    I have a website on register.com and I am using MySQL for the
    first time. My DB and table have been created using MyPHPAdmin. Now
    I want to use my Dreamweaver to setup a testing server that will be
    local and then upload asp pages after testing. Can Anyone PLEASE
    assist with this. I have downloaded and installed MySQL 5 and
    loaded the MySQL Driver for ODBC. I am not sure if I am doing this
    correctly OR if anyone knows an easier way. In summary I simply
    want to:
    A : Be able to test MySQL tables using dreamweaver's testing
    server then locally upload to my remote site that is hosted at
    register.com.
    THANKS in advance
    Mark

    Why not use PHPMyAdmin to build the database remotely and
    then just use your
    remote connection for testing?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mark6372" <[email protected]> wrote in
    message
    news:eivg19$sdf$[email protected]..
    >I have a website on register.com and I am using MySQL for
    the first time.
    >My DB
    > and table have been created using MyPHPAdmin. Now I want
    to use my
    > Dreamweaver
    > to setup a testing server that will be local and then
    upload asp pages
    > after
    > testing. Can Anyone PLEASE assist with this. I have
    downloaded and
    > installed
    > MySQL 5 and loaded the MySQL Driver for ODBC. I am not
    sure if I am doing
    > this
    > correctly OR if anyone knows an easier way. In summary I
    simply want to:
    >
    > A : Be able to test MySQL tables using dreamweaver's
    testing server then
    > locally upload to my remote site that is hosted at
    register.com.
    >
    > THANKS in advance
    > Mark
    >

  • ICal Server setup help !!!

    Hello All,
    I would like to share my experience with setting up the iCal server and all the hick ups I had to get it finally working. At least what worked for me. Check the basics before you start.
    This is all done from after installing the server in Advanced setup or so to say normal installation as it was under Tiger. I'm trying to summarize what I have done. It took me a lot of hours do. So if I mis something feel free to reply with the missing things. Maybe together we can setup a working manual for all others that have problems with the setup and lack documentation from Apple.
    1) Make sure your DNS is setup properly and working. Test it with:
    type: “named-checkconf” in de root account of the terminal. Nothing should happen thats OK
    type: “named-checkzone” in de root account of the terminal make sure you use the complete path and bare in mind that Apple changed the DNS setup again pointing to something like var/named/zones/db.example.come.zone.apple. The serial of the DNS should load and you should receive a OK. Make sure that your server IP is also mentioned in the system preferences/network DNS so you can use for example the server.example.com in server admin.
    2) Either use SSL or don't when you want to use, use it everywhere otherwise it something will slip trough and want work. Without SSL it appears to work easier in the setup from local iCal client to server. But SSL is of course more secure. I want talk about Kerberos because I'm not able to get that to work yet.
    3) Make sure you set it up from an "Open directory", "Local directory" should/could work to but I haven't test that yet and I seriously doubt it would work properly.
    That being said I now can share my setup with you (switch your firewall of during setup it's easier to troubleshoot, switch it on again if everything works. If it stops working after the firewall is on again, well you know where to look for the problem :-)):
    1) After setting up the Open Directory Master I switched on SSL and created a own certificate for my server. I didn't protected the certificate with a password as it gives a lot of extra problems with setting things it up. You can than select the certificate under Server Admin/Open Directory click on setting and click the tab LDAP. There you can select it.
    2) Make sure your webserver is running and you have a working website where you can go to. Under Server Admin make sure that under the selection Sites that your FQDN is filled out. Being something like www.example.com and not example.com. The second one could cause iCal web part to not work accordingly at least that is my experience. After that choose security and make sure SSL is on and your certificate is selected. The rest of the website settings is pretty basic I didn't changed to much. I do know that I switched on some extra modules. Being bonjour_module, authzsvnmodule, davsvnmodule. This prevented further in the installation the 210 error when I went to the Calendar under my webbrowser. I wouldn't know which of the 3 is doing the trick I only know that after this it worked for me.
    3) Pffffff OK go to the iCal Server settings under the Server Admin. The settings are straight forward but again make sure SSL is on and your certificate is selected. And look at your host name which should be someting like server.example.com. If you are not able to get DNS setup properly you could try your machines example.local name. But that again could give troubles when you want to use local iCal client outside the door on a laptop for example.
    These where all the server admin setting. Now go to the Workgroup Manager and selected the group/groups you want to have Calendaring switched on and choose the way people are able to logon. This you can do by going to the group select the default website and services you want to give. Then select under Allow the way people can logon to this website or iCal services.
    When that's done you should have everything up and running on the server site. So now go to a local iCal client and go to preferences/accounts/server setting. Click the + on the left bottom site and fill out a name and password leave the server option for now to auto. This way and when everything is setup properly you should get something like https://server.example.com:8443/principals/_uids_/14A0DD22-86CA-4F55-96D9-9CB461640D52/. The end number should refer to your name and password account so the number want be the same as in this example. Well if it works you are one of the lucky people and you are able to setup a shared Calendar from there. It would help a lot if you have more than one machine to test. Because it didn't worked on my MacBook Pro getting a famous error "iCal unexpected secure name resolution" But it did worked on my wifes iMac. So the server settings are OK. Now the good part when it's not working is that you can go to your webbrowser and type or copy the following: https://www.example.com:8443/principals/users/shortname (naturally use your own server name and user name). There you can see details of the principals settings. Including youre uids number. This number is unique for your name and password. Copy this number. Then go back to iCal switch of the auto find in iCal client under preferences/accounts/server settings. The first part of the link is https://server.example.com:8443/principals/uids/(Now paste you number here). Hit enter and see what happens. It the name server is not working for you than use for example iso server the name mail if you have it setup in the DNS is should work. It did worked for me and it gave me a nice shared calendar which you can name for yourself. Every group member should be able to see this agenda once hooked up to it via iCal client and prefences/accounts/server settings.
    If you go to your website or www.example.com/groups you should see youre shared group. Sorry I only tried it with one group sofar. If you make changes to the calendar from the webbrowser it will show up after a refresh in your iCal client and visa versa. The only thing I still have problems with is the events for more days. They show up on the web as events but when I click them they produce a unwanted error. But when it's based on a single day than it work perfectly.
    Hopefully you have a working iCal server to now. If you find something interesting or you think I left some important things out. Please reply and fill out the blanks.
    I just hope that it will save some time for the new once setting this up.

    Thank you for sharing your experiences. I am looking at setting up an iCal server myself for our business. However, our situation is a bit different. Could you also share what kind of workgroup you set it up for? And maybe help me answer a few questions below. Thanks in advance!
    First a little background. We are a small management company. We have individual clients that we manage. We need to have access to their calendars to schedule events, etc. The thing is that we would be the only ones looking at everyone else's calendars at once so that we can coordinate our own schedules so that we can be where it is most important but still not lose track of other activities.
    1. What kind of machine are you running the iCal Server on? Xserve? MacPro?
    2. Is it possible to view multiple users' calendars within a single calendar view?
    3. Does setting up this kind of calendar server sound like the setup for our situation where only we, the management, will be able to view all calendars?
    4. How difficult will this set up be on our clients and their machines since we have little control over their personal machines? (The majority of our clients are all Mac users. There may be one PC user.)

  • Server Setup Help - DNS

    Hi,
    Hopefully someone can shine a light on this for me. I am sure I have confused myself more by doing all this research.
    I am attempting to setup OS X Server (Leopard Server 10.5.4) on my server and am getting a little confused at the primary DNS Name setup screen.
    I have a domain, lets call it macserver.com. It currently does not have any hosting. I plan on hosting it on my own server. I also created an A record (remote.macserver.com) and pointed it to my static IP address that my ISP gave me for remote desktop purposes, and eventually forward all MX records to it as well.
    I can ping the A record address (remote.macserver.com) from any other network just fine so I know that is working.
    My question is what do I put into the Primary DNS Name section during the setup? Would that be my domain name (macserver.com) or the remote.macserver.com? Should my server name be remote? Or could it be anything I want?
    I currently don't have any dns servers. The AEBS is doing DHCP and handling the DNS as well. From my understanding I can setup the server to handle the DNS, and then just put in the DNS information (ip address) for my server in the AEBS setup screen and all should be good.
    Thanks for the help.!!
    I am not an expert at DNS so any help would be appreciated

    My question is what do I put into the Primary DNS Name section during the setup? Would that be my domain name (macserver.com) or the remote.macserver.com? Should my server name be remote? Or could it be anything I want?
    From your description, your 'domain name' is 'macserver.com'.
    Your server name is 'remote', and your fully-qualified domain name is 'remote.macserver.com'.
    Note that you don't have to call your machine 'remote'. You can have multiple DNS records pointing to the same machine, so your machine could be called 'fred', but have DNS CNAME's that point 'remote.macserver.com', 'jack.macserver.com', and 'www.macserver.com' to the same machine. Other users use one (or any) of the names to get to the machine.

  • Home mail server setup help.

    I admit that I am pretty much clueless when it comes to setting up a mail server.
    The setup:
    I have a local network at home with about 5 computers. Inside the network we have a router, a store-brought one that has bulit in DSL modem and wireless. It is out central DNS server and provides us with a local network domain name. Then we have a domain for the outside world to see us. Let's just call it "shadow.dot.com". I opened up the ports on the router to allow in port 80 and all POP3 addresses. I installed apache, php, mysql, and postfix on my Linux machine. I used webmin to configure postfix. Users can recieve emails, let's say from my hotmail account to [email protected] However, when I use webmins view usermail feature fromt he postfix area, I click on a user, then compose but my home local domain is listed instead of my shadow.do.com domain. I had in the configuration to place that outside domain in the address. Well, either way, I cannot send a message. It remains in the message queue and refuses to send.
    I do not have smtp ports open because I want this secure. I only want to be able to send email from inside my local network. This way there is no chance at someone hacking my smtp part and sending tons of email spam with my address.
    For this setup, what do I need in my main.cf configuration file? Can someone just put all the options in there that I need so I can copy and paste for the most part? I need to be able to send out, and I also need PHP to use it to send email to people. Do I need to unblock smtp? Do I need to change any settings with PHP or will it use postfix by default?
    Thanks.

    There is a send mail queue that is viewable via webmin. I don't know if it errored or not, it just stayed in the queue and never sent.
    I uninstalled postfix and then reinstalled it with default configs again. I modified a few settings to reflect my outside domain. Then I set up sasl to log into my ISPs mail server. Not mail sorta sends. Some PHP scripts still have trouble with it. I guess I need to fix those manually because some PHP scripts work and some don't so it might be an error with the script itself.
    Mail is only sent via smtp via port 25, not recieved. Recieving port is in the one hundreds. That is the only port needed to be open for recieving of mail.
    Thanks for you tips. I have I dynamic IP so liem clued me in on what to do. I don't know if it was a combination of bad config and dynamic IP, but it sorta works now, so I guess have more tweaking to do.

  • Server setup help

    Hi everyone,
    I have just installed Os X Server 10.5 on a new iMac. I am using it to manage a bunch of tother macs on my network. in the initial setup I choose "Standard Setup" and continued the rest of the config. Now every time I try to add a new user or group I get the following message:
    "The server reported the error '-14120' while trying to create the group."
    Has has anyone else seen this problem?
    What is error '-14120'
    Thanks
    Tim

    "Has has anyone else seen this problem?
    What is error '-14120'"
    Yes. See the [Error '-14120'|http://discussions.apple.com/thread.jspa?threadID=1205369] thread, as a starting point.
    Looks to be an existing and nasty and as-yet unresolved bug in Leopard.

  • How to setup the local testing server ??

    hello, what do I need to install first before I can setup the
    testing server in dreamweaver 8? I have download apache2 triad,
    mySQL, IIS 6...
    Where should I download the correct version of mySQL because
    I need to test my php scripts locally which has something to do
    with database?
    How do I configure these on the testing server setup
    Connection Name - what should I input here?
    MySQL Server - and this?
    Username - where do I get one?
    Password - where do I get one?
    Database - gets an error saying "HTTP error code 404...
    1) There is no testing server running on the server machine.
    2)The testing server specified for this site does not map to
    the
    http://localhost/...... ??
    Please Help.. Thanks in advance!

    criticalx wrote:
    > I'm using the apache2triad for the mySQL.. I s there
    anything I did wrong on
    > my configuration part? Thanks... "I only need to test my
    site locally"
    I have never heard of apache2triad, but I've just had a look
    at the
    apache2triad site, which says: "It is recommended that only
    experienced
    users, with a vast knowledge of how networks, and its
    components (Apache
    Web Server, ect.) should install this software. It IS NOT
    your average
    software; a lot of time, patience and effort are required to
    maintain
    such a server."
    Setting up a local testing server is not difficult, but it
    does require
    a basic understanding of how a server-side language like PHP
    works.
    As I said before, you must always store your files in the web
    server
    document root. According to the apache2triad documentation,
    this is C:
    \apache2triad\htdocs\. Unless you store your files there, or
    in a
    subfolder of htdocs, nothing will work.
    ---LOCAL INFO----
    Site Name: login
    Local Root folder: C:\apache2triad\htdocs\login
    checked refresh local site automatically
    default images: C:\apache2triad\htdocs\login\images\
    Links Relative to: "document" - this is correct
    HTTP address: leave blank
    cache: enabled
    ---REMOTE INFO---
    None
    ---TESTING SERVER---
    Server Model: PHP/MySQL
    Access: Local/Network
    Testing server folder: C:\apache2triad\htdocs\login\
    URL Prefix:
    http://localhost/login/
    mySQL connection:
    conn name: connLogin
    mySQL server: localhost (do not use
    http://)
    username: root
    password: mypassword
    Database: login
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Solution to using Site Root with Sub-folders on Testing Server & Browser Previews

    Hi Everyone
    Have found an elegant solution when using Site Root relative linking for a website, that allows browser previews, even when the testing server uses sub-folders and the live code references just the server site root " / " of the live server and not the sub-folder structure of the testing server.  This is really useful when you don't want to use document relative linking, which normally takes care of this problem in Dreamweaver.
    The solution is to use sub-domains referencing the sub-folders on the testing server, so the sub-folders appear as the root of each website and the html code pointing to the site root works correctly on both testing & live servers without alteration.
    Testing Server Setup
    One testing server domain is used for all client development work:
    For example:  www.testingserver.com
    On the testing server there are multiple sub-folder (one for each client website being developed):
    For example:  www.testingserver.com/clientA/ ,  www.testingserver.com/clientB/ , www.testingserver.com/clientC/
    Live Server Setup
    The site code needs to be developed with the final live server folder structure (url references) in mind:
    For example:  www.livesite.com (with all pages referencing the root of the live site server)
    Page URLs on Testing & Live Servers
    /page-name.html
    Testing server url:  www.testingserver.com/clientA/page-name.html
    Live server url:  www.livesite.com/page-name.html (without /clientA/ sub-folder)
    Browser Previews Don't Work
    You want to be able to run browser previews on the testing server while developing the website.  To do this you normally have to reference the sub-folder structure of the testing server in the url for things to work right:
    For example www.testingserver.com/clientA/page-name.html
    What do you do, when you can't keep switching all the urls in the code from pointing to the sub-folder to pointing to the site root, and you don't want to use document relative linking?
    One Solution - Sub-domains on Testing Server
    In your domain hosting (outside of Dreamweaver) setup a sub-domain to point to the testing server sub-folder.
    For example:  Sub-domain clientA.testingserver.com points to www.testingserver.com/clientA (sub-folder)
    So now when you reference the sub-domain it sees the sub-folder as the site root and all your problems are solved.
    Dreamweaver Site Definition Setup
    Site Definition under "Local Info"
    Links relative to: Site Root
    Site Definition under "Remote Info" (live server)
    Access: FTP
    FTP host:  ftp.livesite.com
    Host directory: /
    Site Definition under "Testing Server" 
    Access: FTP
    FTP host:  clientA.testingserver.com
    Host directory: /
    URL prefix: http://clientA.testingserver.com
    (location of the site's root folder on the testing server, the sub-domain redirection takes care of pointing to the sub-folder)
    This is just one solution but it works well for me as it doesn't have any cost associated with it under our hosting package where you can have multiple sub-domains setup.
    Hope this helps someone in a similar situation.
    Aly

    Just Google it, or run out and buy a copy of David Powers' Foundations Dreamweaver CS4 with CSS, Ajax and PHP, a book that is never out of reach for me.  He details the process explicitly for both Mac and PC.
    For me, on W7, I edit the C:/Windows/System32/drivers/etc/hosts file, and add the ip of my testing server along with the site alias -
    192.168.1.82  site.local
    Then I add this same designation to my httpd.conf file in Apache on the testing server.  Finally I restart Apache.
    Now from my production machine if I browse to "http://site.local", I get to see either the default file in the root of the site on the testing server, or a directory of the site on the testing server (my testing server is a unix box running on my LAN at that ip address).  Furthermore, all of my root relative links now work as they would if the pages were being browsed from the live server.

  • Lost option to upload related files when using testing server.

    I used to get a dialogue box when I was previewing files on my local machine using my localhost testing server setup. It was kind of annoying having to click yes every time. Last week I accidentally clicked the don't show this anymore box and now when I preview a site on my localhost related files and updated files are not uploaded. I have to manually upload the css, php, and any other related files to the testing server's folder.
    I tried deleting preferences, re-installing Dreamweaver CS4, and everything else I can think of but I can't get this option back. Is there some way, other than using the same folder for the testing server and the site to avoid this problem?
    Thanks.

    Edit > Preferences > Site > Dependant Files > Check the box for "Prompt on Put or Check-in"
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • I've set up the *&*%$ testing server - now can I please add a recordset?

    I run into this problem occasionally with DW. I set up an asp
    site using aspVBscript. When I go to add server behaviors the
    application box has the first two item s ticked (Create a site for
    this file, and Choose a document type) but the third, "Set up the
    site's testing server" is not, yet I have set up the testing server
    (several times). It is the same testing server settings I use on
    several of my other sites and they are fine. Why could DW be
    insisting I have not set this up? I've tried closing down the app
    and restarting, but it still thinks I have not entered the testing
    server settings for the site and so won't let me add server
    behaviors.
    Anybody have any ideas why this is happening and what I could
    do to fix?
    BTW i'm using Dreamweaver CS3 on a windows XP pro SP2
    machine. Windows 2003 IIS 6.0 server is where the site
    resides.

    What happens when you browse to
    http://localhost?
    What happens when you browse to your site prefix as specified
    in the testing
    server setup?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "murrayneill" <[email protected]> wrote in
    message
    news:fot33f$ql3$[email protected]..
    >I run into this problem occasionally with DW. I set up an
    asp site using
    > aspVBscript. When I go to add server behaviors the
    application box has the
    > first two item s ticked (Create a site for this file,
    and Choose a
    > document
    > type) but the third, "Set up the site's testing server"
    is not, yet I have
    > set
    > up the testing server (several times). It is the same
    testing server
    > settings I
    > use on several of my other sites and they are fine. Why
    could DW be
    > insisting I
    > have not set this up? I've tried closing down the app
    and restarting, but
    > it
    > still thinks I have not entered the testing server
    settings for the site
    > and so
    > won't let me add server behaviors.
    >
    > Anybody have any ideas why this is happening and what I
    could do to fix?
    >

  • How to see html code in a php file using CS5.5 without using testing server?

    In CS5.5 when I open a page with php extention, DW does not show any html code in design view without me having to set up a testing server. In DW 8 it would open the same files and show me the html in design view. I have no need to test php code, I just need to alter the html. Is there a setting I can change to enable this in CS5.5? Thanks.

    Below is the code. I discovered that if I create a new php document not from
    a template, then I can see the html elements in design view. If I create a
    new page from a template and save it as html, design view still works, but
    if I save a new page from template and save it as php, I only see symbols
    for php and nothing else in design view.
    Thanks for your help on this.
    <!--
    body
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to
    zero padding and margin on lists. For consistency, you can either specify
    the amounts you want here, or on the list items (LI, DT, DD) they contain.
    Remember that what you do here will cascade to the .nav list unless you
    write a more specific selector. */
        padding: 0;
        margin: 0;
    h1, h2, h3, h4, h5, h6, p {
        margin-top: 0;     /* removing the top margin gets around an issue where
    margins can escape from their containing div. The remaining bottom margin
    will hold it away from any elements that follow. */
        padding-right: 15px;
        padding-left: 15px; /* adding the padding to the sides of the elements
    within the divs, instead of the divs themselves, gets rid of any box model
    math. A nested div with side padding can also be used as an alternate
    method. */
    a img { /* this selector removes the default blue border displayed in some
    browsers around an image when it is surrounded by a link */
        border: none;
    /* ~~ Styling for your site's links must remain in this order - including
    the group of selectors that create the hover effect. ~~ */
    a:link
    a:visited
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard
    navigator the same hover experience as the person using a mouse. */
        text-decoration: none;
    /* ~~ This fixed width container surrounds all other divs ~~ */
    .container
    /* ~~ The header is not given a width. It will extend the full width of your
    layout. It contains an image placeholder that should be replaced with your
    own linked logo. ~~ */
    .header
    /* ~~ These are the columns for the layout. ~~
    1) Padding is only placed on the top and/or bottom of the divs. The elements
    within these divs have padding on their sides. This saves you from any "box
    model math". Keep in mind, if you add any side padding or border to the div
    itself, it will be added to the width you define to create the *total*
    width. You may also choose to remove the padding on the element in the div
    and place a second div within it with no width and the padding necessary for
    your design.
    2) No margin has been given to the columns since they are all floated. If
    you must add margin, avoid placing it on the side you're floating toward
    (for example: a right margin on a div set to float right). Many times,
    padding can be used instead. For divs where this rule must be broken, you
    should add a "display:inline" declaration to the div's rule to tame a bug
    where some versions of Internet Explorer double the margin.
    3) Since classes can be used multiple times in a document (and an element
    can also have multiple classes applied), the columns have been assigned
    class names instead of IDs. For example, two sidebar divs could be stacked
    if necessary. These can very easily be changed to IDs if that's your
    preference, as long as you'll only be using them once per document.
    4) If you prefer your nav on the right instead of the left, simply float
    these columns the opposite direction (all right instead of all left) and
    they'll render in reverse order. There's no need to move the divs around in
    the HTML source.
    /* sidebar1 = left */
    .sidebar1
    .content
    .sidebar2
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol
    /* ~~ The navigation list styles (can be removed if you choose to use a
    premade flyout menu like Spry) ~~ */
    ul.nav {
        list-style: none; /* this removes the list marker */
        border-top: 1px solid #666; /* this creates the top border for the
    links - all others are placed using a bottom border on the LI */
        margin-bottom: 15px; /* this creates the space between the navigation on
    the content below */
    ul.nav li {
        border-bottom: 1px solid #666; /* this creates the button separation */
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that
    your links retain their button look even after being visited */
        padding: 5px 5px 5px 15px;
        display: block; /* this gives the anchor block properties so it fills
    out the whole LI that contains it so that the entire area reacts to a mouse
    click. */
        width: 160px;  /*this width makes the entire button clickable for IE6.
    If you don't need to support IE6, it can be removed. Calculate the proper
    width by subtracting the padding on this link from the width of your sidebar
    container. */
        text-decoration: none;
        background: #C6D580;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the
    background and text color for both mouse and keyboard navigators */
        background: #ADB96E;
        color: #FFF;
    /* ~~ The footer styles ~~ */
    .footer
    /* ~~ Miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page.
    The floated element must precede the element it should be next to on the
    page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page.
    The floated element must precede the element it should be next to on the
    page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a
    or empty div as the
    final element following the last floated div (within the .container) if the
    .footer is removed or taken out of the .container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    TD.mincart {
        font-size: 10px;
        font-family : Verdana;
        position:relative:
        left: 10px;
        top: -30px;
    P.mincart {
        font-size: 10px;
        font-family : Verdana;position:relative:
        left: 10px;
        top: -30px;
    #search 
    #minicartdiv
    P.smaller{
        text-align:center;
        font-size: 12px;
        position: relative;
        top: 1px;
    #tagline {
        font-weight: bold;
        color: #03F;
        height: 18px;
        width: 350px;
        font-size: 18px;
        position: relative;
        left: 10px;
        padding-bottom: 10px;
    #contact {
        font-size: 12px;
        float: right;
        height: 18px;
        position: relative;
        padding-right: 10px;
        font-weight: bold;
        font-family: "Courier New", Courier, monospace;
        padding-top: 7px;
    Call 541-424-5555 Mon-Fri 7am-4pm Pacific Time. Email:
    [email protected]
    Bluetooth and More! No Sales Tax!
    body, this
    is a test
     [Home | index.php] - Store Policies - Products
            - Search - Checkout
            email: [email protected] Call
    541-424-5555</p>
      <!-- end .footer --></div>
      <!-- end .container --></div>
    SSL
    COT("images/cot.gif", "SC2", "none");
    </html

  • Need help setting up at local testing server

    I have Coldfusion 8 installed on my hard drive and DWCS3
    installed on an external hard drive hooked up to computer. I have
    set up a DSN in Coldfusion I can't however get setup the testing
    server so that I can test my site it is asking for a HTTP address,
    I have tried everything I can think of and tried pointing this
    address to any folder that is related to my site can someone help
    me please

    I recommend downloading and installing XAMPP

Maybe you are looking for

  • Upgrade memory mid 2011 MacBook Air

    how to upgrade my MacBook Air mid 2011 memory ?? is my Mac memory can be upgrade ???

  • Crystal Report formula with datediff not working as expected

    We need a Crystal Report formula to display the number of seconds the oldest arriving call has been waiting.  Across multiple resources that can each have an "oldest call".  The database stores a datetime value for the time the oldest call arrived. 

  • LR rotates images as they were at the upload

    Hi everybody I went back to a folder I haven't been looking for about 3-4 months. After I located the folder from the external disk all the images opened,  with my surprise, without the rotation I have set at the time so I had to to do it all again.

  • Backing up VHS video data 8600 RCA ports

    Hi all has anyone been successful on transferring their lovely VHS home video collection via the 8600 RCA ports on back? I'm in the process of trying this but wanted feedback before attempting this. I heard it's a very long and tedious process. Thank

  • My touchscreen is not working properly?!

    My phone is still working but it is acting really weird. Whenever I try to unlock my phone, it does not respond, I cannot unlock it by swiping, I can only use my thumbprint. Then once I am into the home screen the screen is frozen. I then have to loc