![]() |
|
Error after initial setup.php - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Error after initial setup.php (/thread-3897.html) |
Error after initial setup.php - plora2003 - 2008-10-18 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? Error after initial setup.php - sbillard - 2008-10-18 Can you tell us what version of zenphoto this is supposed to be? The first error makes no sense on the current versions--there is no call on Where did the setup script come from? From a download on the zenphoto web pages or from Dreamhost? Error after initial setup.php - plora2003 - 2008-10-18 This is a download from the zen photo website. Dreamhost does not support a custom install of ZenPhoto - they only do the "One-click-install" that doesn't allow you to batch import photos via ftp (which is stupid IMO). 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 I downloaded it about 10 times, the size was always the same, about 55kb. Thanks for the help! Error after initial setup.php - acrylian - 2008-10-18 I can't reproduced any problem with downloading. Both files on our home page are complete and as they should be. Error after initial setup.php - sbillard - 2008-10-18 Well, the zip file at least is 2,627kb so something is going drastically wrong with your download. You could also try to download one of the nightly builds to see if it comes down beter: http://www.zenphoto.org/files/nightly/ Error after initial setup.php - plora2003 - 2008-10-18 Is there a way to do private messages here? I wanted to explain this in further detail and see if you can help? I downloaded both the ZIP and TGZ file and uncompressed both and uploaded them to an empty subdomain and a different site. Both did not work and both give me the same error: 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. Error after initial setup.php - sbillard - 2008-10-18 We don't do private support. It is best if everyone can see the transcript. First, so that the whole community can possibly help out. Second, so that if someone else is having the same problem we don't have to deal with it again and again. 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: Error after initial setup.php - albeezie - 2008-10-18 Sounds to me like you are downloading the setup.php file only (somehow) and not the other files since you said it is 55kb.. 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:
You should then have a full copy of all zenphoto files.
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..... Error after initial setup.php - plora2003 - 2008-10-19 I have all those files that you mentioned and the setup file is 53.1 KB (54,453 bytes) the ZP-core folder is 5.99 MB (6,287,713 bytes)/183 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. |