I am trying to set this up on my Mac running Apache with PHP5. I put everything a folder called zenphoto but when I go to http://www.gotdangit.com/zenphoto/zen/setup.php the page is blank. I can't get past step 2 in the install instructions, so I must be making a major/stupid mistake, but I can't see what it is. I know my server is working... I have both wordpress and gallery running just fine, but my setup.php won't show anything!
I am seeing this error in my httpd error log:
[Tue Feb 21 01:12:31 2006] [error] PHP Parse error: syntax error, unexpected $end in /Library/WebServer/Documents/zenphoto/zen/setup.php on line 140
Are there more instructions other than "get the files on the server and go to setup.php" that I'm missing? What am I doing wrong this early in the installation?
Yes, I did. The first time I had the tar.gz version and it would create a folder named "1.0b" and it contained 8 items.
Then I downloaded the .zip version, and when unpacked it created a folder named "zenphoto-1" which had the same 8 files/folders. Same results with both. For the sake of disparity, I downloaded the files again with Firefox instead of Safari, and I still get the same thing.
I have a feeling the problem lies in my build of php5 but I only say that because I was able to get zenphoto to work just fine on my Mac at work and as near as I can tell the only difference is that my Mac at work has php 4.3.11 and my problem Mac has 5.1.2. I'm just not smrt enough to know how to trouble shoot this. And like I said, both wordpress and gallery are running just fine on this Mac.
According to this "short_open_tag" is off.
This is frustrating because I know it's going to be one little thing that needs to be changed and then it will work beautifully. I just can't figure out what the one little thing is.
One more thing to note, and I can't imagine it would be important this early in the install, but, I had to make a change in my php.ini file to get mysql to work. I had to change the MYSQL_SOCKET to /tmp/mysql.sock but I haven't even gotten to the stage where I fill in my db details.
Just in case anyone gets the following error:
Parse error: syntax error, unexpected $end in C:\http\www\gallery\zen\sortable.php on line 202
By turning "On" "short_open_tag", my windows setup was also able to get zenphot to work properly. I'm running wamp5_1.6.1 services.
Thanks Trisweb!!!