The simpler media website CMS
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
Fatal error: main() [function.require]: Failed opening required 'classes.php' (include_path='.:/usr/local/nf/php5/lib/php') in /mnt/w0713/d48/s25/b0288033/www/ashgrovevisualarts.com/zenphoto/zen/admin-functions.php on line 3Lee Eschen
Comments
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:
`require_once("classes.php");` becomes `require_once(dirname(__FILE__) . "/classes.php");`
Note the new slash as well.
This could be so much easier if the wiki was up and running.
Lee
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.
If you need, I can send you the raw SQL to run manually, if all else fails.
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:
~~~~~~~~~~~~~~~~~~~
Database d60310081 running on MySQL Server Farm 2
Structure SQL Export Search
No tables found in database.
*
Create new table on database d60310081 :
Name :
Fields :
~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks again and again!
Lee
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