It took me forever to get the setup.php file to even work, the support team at dreamhost told me it was a corrupt install file (the setup.php file) and they had to copy a new one to my site for it to work. But now, it finally worked and I typed in all the SQL info which is 100% right. The new error I get is:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.belvy/mpgroup/photos.pablossite.com/zp-core/setup.php on line 51
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/.belvy/mpgroup/photos.pablossite.com/zp-core/admin-functions.php on line 407
Can someone please help with any thoughts?
Comments
Where did the setup script come from? From a download on the zenphoto web pages or from Dreamhost?
Is there somewhere else I can download it from? Maybe an older version? When I tried to install it by myself without help from Dreamhost support - it gave me the an error and Dreamhost said that the file on the ZenPhoto website was corrupted. This is what they said:
"I've
taken a quick look at your site and it looks like the setup.php file is
corrupted or incomplete. I've compared it to a fresh download of
ZenPhoto and there is a large chunk that is missing from the file on your
web server. A fresh download may do the trick."
I downloaded it about 10 times, the size was always the same, about 55kb. Thanks for the help!
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/.belvy/mpgroup/pablossite.com/Photos/zp-core/setup.php on line 914
Dreamhost somehow uploaded a different file that they say is "not corrupted" and it works initially but after I enter in all my SQL information it gives me the errors that I mentioned in the first post. Do you have any suggestions? How big is the setup.php file supposed to be? Is there anything special I need to do when uploading? Do I need to do anything with mySQL before I upload? Or is that taken care of during setup.php?
Thanks! you guys are quick to response which I love.
Did you get the correct file size when you downloaded the files? If not, there is no point in going further since the problem is with the download.
Here are the file sizes of the 1.2.1 release:
Name Size
404.php 0.8 KB
admin.css 14.7 KB
admin.php 45.5 KB
admin-albumsort.php 2.1 KB
admin-cache-images.php 2.7 KB
admin-comments.php 12.4 KB
admin-dynamic-album.php 6.9 KB
admin-functions.php 68.5 KB
admin-options.php 63.9 KB
admin-plugins.php 5.1 KB
admin-refresh-metadata.php 4.0 KB
admin-sortable.php 6.1 KB
admin-tags.php 5.9 KB
admin-themes.php 5.8 KB
admin-upload.php 10.4 KB
archive.php 19.3 KB
auth_zp.php 4.0 KB
c.php 1.0 KB
changelog.html 27.2 KB
class-album.php 37.3 KB
classes.php 10.4 KB
class-gallery.php 20.2 KB
class-image.php 20.9 KB
class-load.php 0.5 KB
class-search.php 20.8 KB
class-transientimage.php 0.9 KB
class-video.php 2.8 KB
controller.php 3.3 KB
full-image.php 4.4 KB
functions.php 89.8 KB
functions-controller.php 15.7 KB
functions-db.php 6.2 KB
functions-i18n.php 12.6 KB
functions-image.php 16.9 KB
i.php 8.0 KB
index.php 0.1 KB
lib-encryption.php 1.6 KB
lib-htmlawed.php 46.5 KB
lib-pclzip.php 192.0 KB
lib-sajax.php 10.3 KB
lib-seo.php 7.5 KB
lib-utf8.php 26.0 KB
setup.php 53.2 KB
setup-option-defaults.php 6.1 KB
setup-primitive.php 4.8 KB
template-functions.php 123.6 KB
upgrade.php 0.1 KB
version.php 0.2 KB
zp-config.php.source 4.7 KB
I use Dreamhost and have not had issues. Do you have SSH access to your account? If so, log in using SSH.
Then you should have a shell open. Do the following:
`mv photos.pablossite.com/ oldsite`
`wget http://www.zenphoto.org/files/nightly/zenphoto-2008-10-17-trunk.zip`
(or any of the other nightly builds)
`unzip zenphoto-2008-10-17-trunk.zip`
You should then have a full copy of all zenphoto files.
`mv zenphoto/ photos.pablossite.com`
Then you can do whatever you need to do, including uploading via FTP. I have done this a billion times using SSH in Dreamhost.
---- if you don't have SSH access, well.....
the ZP-core folder is 5.99 MB (6,287,713 bytes)/183 Files
the whole zen photo folder is 30.9 MB (32,491,696 bytes)/3784 Files
Where do I see if I have SSH? Do you mean secure hosting? If so then no. I dont understand how no one else has had this problem.. I just don't see how I can be doing anything wrong if I'm simply uploading a folder via FTP to another folder... pretty hard for me to mess this up. Thanks again for everyone's help.