![]() |
|
Error running 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 running setup.php (/thread-904.html) |
Error running setup.php - ashgrove - 2006-11-22 Error message is: Quote:Warning: main(classes.php) [function.main]: failed to open stream: No such file or directory in /mnt/w0713/d48/s25/b0288033/www/ashgrovevisualarts.com/zenphoto/zen/admin-functions.php on line 3 Error running setup.php - trisweb - 2006-11-22 Well, like it says, it can't find That's very weird, and it seems like an odd PHP configuration is to blame. You may have to (unfortunately) add something to the include path for every "require" statement:
Note the new slash as well. Error running setup.php - ashgrove - 2006-11-23 Thanks, trisweb. Apparently some files didn't get transferred when I FTP'd ZP up to the server. Now I get past the above error, but it stops while trying to create tables with: Quote:`zenphoto setup< Creating tables...< MySQL Query ( CREATE TABLE IF NOT EXISTS
This could be so much easier if the wiki was up and running. Lee Error running setup.php - trisweb - 2006-11-23 Wouldn't be much easier with the Wiki up -- it doesn't have specific advice like this. It sounds like a user permissions problem with the MySQL server. Check the perms in the database (the one you named in the config) and for the user, and make sure they're all matching. If you have another app working, take a look at what config works for it. If you need, I can send you the raw SQL to run manually, if all else fails. Error running setup.php - ashgrove - 2006-11-23 trisweb wrote: It's beginning to look like I may need to do just that. I can't get setup.php to run. I can get phpMyAdmin 2.4.0 running on mySQL from the webhost control panel, but haven't yet figured how to use the program to change permissions. It does show no tables yet created in the database. I can figure that the table name needs to be "albums" from the error message, but can guess at little else. Below is an approximation of the screen I am faced with in phpMyAdmin:
Thanks again and again! Lee Error running setup.php - ashgrove - 2006-11-23 Hallelujah! It's working! I don't know why, but it looks like Filezilla is sometimes not actually overloading the old file (zp-config.php) on the server after I've made corrections to it. I had assumed it was, but when I actually loaded the editor direct from the server, the file was actually the old version. Once I fixed the file, it started working correctly. You can see my first album at: www.ashgrovevisualarts.com/zenphoto Thanks for all your help. After doing 3 days of battle with my webhost's "PicturePro", I really appreciate ZenPhoto's much cleaner UI and simpler admin functions. The PicturePro version is at: www.ashgrovevisualarts.com/nfpicturepro I have only just begun to setup my gallery. Neither of the above should be considered complete. My final choice of which to use will depend on many things, but right now, ZenPhoto is way out front. Simple is sweet! Lee |