Copy link to clipboard
Copied
hello I have xampp installed on my mac (os 10.4) and have just installed DW CS4. Using an ancient version of DW (version 6 ) I was able to connect to my localhost no problem. It is located on the local root folder (usr:Applications:xampp:xamppfiles:htdocs:test:) and URL prefix for the testing server is http://localhost/test/ and everything works ok. However in DW CS4 I get stuck at the prompt which asks me "What URL would you like to use to browse to the root of your site?" and entering http://localhost/ doesn't work, neither does http://localhost/test/ (the location of my php files) nor does http://localhost/test/helloWorld.php nor does any other crazy combination I've tried.
The error message received when clicking "Test URL" is the following: Dreamweaver cannot use the prefix you entered to display live data. Please double-check your site configuration or click on Help etc etc" clicking on help doesn't really do the trick.
Perhaps CS4 doesn't like XAMPP?
Hopefully the fix is something relatively simple.
Thanks
XAMPP on a Mac is relatively unusual. For a long time, it was marked as experiental and "use at your own risk". Most Mac users opt for MAMP. Anyway, if it's working satisfactorily, the principle of defining a testing server is the same for both XAMPP and MAMP.
Rather than use the Basic site set up, I suggest you click the Advanced button at the top of the Site Definition dialog box, and follow the instructions here: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html.
Copy link to clipboard
Copied
XAMPP on a Mac is relatively unusual. For a long time, it was marked as experiental and "use at your own risk". Most Mac users opt for MAMP. Anyway, if it's working satisfactorily, the principle of defining a testing server is the same for both XAMPP and MAMP.
Rather than use the Basic site set up, I suggest you click the Advanced button at the top of the Site Definition dialog box, and follow the instructions here: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html.
Copy link to clipboard
Copied
Hello,
I had problems getting a website created in CS 4 on a MAC to connect with an apache server on the network. Inserting the path to the folder that i wanted didn't worked so i had to add the shared folder that i wanted as a device using Finder and then browse to it. Afterwards everything worked ok.Have you tried browsing to that folder ?
Regards,
Copy link to clipboard
Copied
On the Mac, localhost point to the OSX built in Apache server.
I don't know about xampp but with MAMP you need to specify a port (it's 8888).
So your testing url would be something like:
http://localhost:8888/mysite/
Btw David why didn't you recommand MAMP for Mac users in your last (and awesome I mean it!) DW book ?
It's so far easier than the builtin OSX Apache (no php to activate, no specific install for MySQL, no phpMyAdmin to install).
Copy link to clipboard
Copied
Btw David why didn't you recommand MAMP for Mac users in your last (and awesomeI mean it!) DW book ?
Don't know which book you're referring to, but page 62 of "The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP" (my most recent book) says "If you don't already have a PHP testing environment on your local computer, I suggest that you get XAMPP for Windows... or MAMP for Mac OS X".