|
From: David Powers on 4 May 2008 13:39 StevieDan wrote: > I did choose to Not Install to PHP with Marc Liyanage's package. Could this be > my problem? No. I'm not sure what the status of Marc Liyanage's package is with regard to Leopard. The preinstalled version of PHP works fine on Leopard, as long as you have configured it correctly. > All indications are that PHP is running. If you can see the output of phpinfo(), it's running. > It says that two possible reasons exist, the 2nd one being that my > Essential Guide folder, which I have placed in the "Macintosh > HD/Library/Webserver/Documents/Essential Guide" position does not map to the > "http://localhost/egdwcs3/" URL on the testing server. Verify that the URL > Prefix maps to the root of your site. That's your answer. First of all, you shouldn't have any spaces in the names of either folders or files when creating a website. So a folder called "Essential Guide" is a complete no-no. Rename that folder "egdwcs3", and update your site definition. All the details are on page 117, 122 and 123 of the book. -- David Powers, Adobe Community Expert Author, "The Essential Guide to Dreamweaver CS3" (friends of ED) Author, "PHP Solutions" (friends of ED) http://foundationphp.com/
From: StevieDan on 4 May 2008 17:54 Not only was the space in the name of the two-word folder a problem; the fact that I was not naming the folder "egdwcs3" the biggest problem. As soon as I renamed the folder "egdwcs3" it became a match to what I had named in the /private/etc/hosts file as the localhost (127.0.0.1 egdwcs3). When you told me to rename the folder egdwcs3 I (at first) renamed it Essential_Guide and it, of course, still gave me error messages. Then it hit me that I hadn't followed your advice "to a T" !!!! I wasn't getting that what was set as the host had to be the identical to the folder name in the server root. Somewhere along the line I had saved a file in that wrongly named folder "egdwcs3.php" and I was looking at the files in chapter 4 of the examples folder for the book's downloaded files and I noticed there was no filed named "egdwcs3.php" - only one named "datetest.php" That was when I had my epiphany! Now when I look at the datetest.php file with the live data button I see today's date! Consider this "Case_Closed.php!" and Thank You, David! Once again - Awesome Book!
From: David Powers on 4 May 2008 19:11 StevieDan wrote: > Consider this "Case_Closed.php!" and Thank You, David! Glad you got there in the end. Only 600 more pages to go. ;-) -- David Powers, Adobe Community Expert Author, "The Essential Guide to Dreamweaver CS3" (friends of ED) Author, "PHP Solutions" (friends of ED) http://foundationphp.com/
|
Pages: 1 Prev: Form submission Next: DW8 not retaining remote site login info after restart |