The simpler media website CMS
The common error: "The albums directory cannot be found or is not readable" means you have the config variable "server_path" wrong. The server path is the full file path to the zenphoto directory on your server — to find this, you can use your FTP or SSH program to look at the path, or you can upload a 'test.php' file into your zenphoto directory with this one line:
`<?php phpinfo(); ?>`
in it, and visit it. In the environment variables, it shows you the path to that test.php file on the server, which is what you should use.
Comments
can you confirm that it works fine with a windows setup of Apache, ie a path which looks like "K:\Sites\home" (which is exactly what I get from phpinfo) ?
Thanx.
>tiwan
Edit: sorry, it's K:/Sites/home for the script path, but still is my question
Edit, again: sorry to be impatient, I understood it was the document_root, not the zen path Now everything's fine! Keep on guys, your're doing vey well (I'll post about my gallery later I think) !
i have installed zenphoto and got the big OK - YOU'RE DONE! (tables have been created)
but when i go to "view my gallery: i just get an index of the directory..
and when i go to "administrate" i just get an error 404 page (file not found)...
i have configured the config.php file as follows//
// The path to zenphoto on the server - e.g. /home/user/public_html/zenphoto. No trailing slash/
$conf['serverpath'] = "/home/b/u/bulle/public_html/zenphoto";
// The URL of zenphoto from the domain root. - e.g. 'http://www.bulledesign.com/zenphoto'
// (or '/zenphoto' in that case). No trailing slash/
$conf['webpath'] = '/zenphoto';
// If you have Apache mod_rewrite, put true here, and you'll get nice cruft-free URLs.
// MAKE SURE TO EDIT THE .htaccess FILE with your path information.
$conf['mod_rewrite'] = true;
and the .htaccess file as follows//
# htaccess file for zenphoto
# NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.
<IfModule mod_rewrite.c>
RewriteEngine On
# !!! Change this to the absolute path !!!
RewriteBase /usr301/home/b/u/bulle/public_html/zenphoto
when i run the test.php file http:www.bulledesign.com/zenphoto/test.php)
i get this// Configuration File (php.ini) Path = /usr/local/lib/php.ini
but i have no idea what to do with it (? the config.php asks for a full path to the gallery, and this can't be it, can it?)
again - i am so sorry - i'm in a bit over my head here...
if someone could help me i would be SO grateful!
thank you,
k
The problem is the .htaccess -- by "absolute path" I do not mean "server path" - it means the path from the root of your site. For you, it would be:
`RewriteBase /zenphoto`
This thread had the same problem and fixed it the same way.
i still get the directory page when i go to "view gallery"
but now i get "Error: The 'albums' directory cannot be found or is not readable" when i go to "administrate"
i realize that there is an answer to this problem posted here, but i cannot seem to get it work.. i'm at my wit's end
here is my info again
++++++++++++++++++++++++++
i changed the .htaccess file to this :
<blockqoute># htaccess file for zenphoto
# NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.
<IfModule mod_rewrite.c>
RewriteEngine On
# !!! Change this to the absolute path !!!
RewriteBase /zenphoto
RewriteRule ^zen/(.*)$ - [L]
RewriteRule ^tests/(.*)$ - [L]
RewriteRule ^admin$ admin/ [R]
RewriteRule ^admin/?$ zen/admin.php [QSA,L]
RewriteRule ^admin/admin.css$ zen/admin.css [R,L]
RewriteRule ^admin/admin.js$ zen/admin.js [R,L]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [QSA,L]
RewriteRule ^([^/\.]+)/?$ index.php?album=$1 [QSA,L]
RewriteRule ^([^/\.]+)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [QSA,L]
RewriteRule ^([^/\.]+)/image/(thumb|[0-9]{1,4})/([^/\\]+)$ zen/i.php?a=$1&i=$3&s=$2 [QSA,L]
RewriteRule ^([^/\.]+)/image/([^/\\]+)$ albums/$1/$2
RewriteRule ^([^/\.]+)/([^/\\]+)$ index.php?album=$1&image=$2 [QSA,L]
</IfModule></blockqoute>
and the config.php varianles are set like this:
</blockqoute>
<?php /* PUT NOTHING BEFORE THIS LINE, not even a line break! */
$conf = array();
define("DEBUG", true);
/** Do not edit above this line. **/
/**********************************/
/////////// zenPHOTO configuration variables.
// After you're done editing this file, load
// http://www.yoursite.com/zenphotodir/zen/setup.php
// to run the setup (of course, replacing the paths where needed).
//// The following three only matter if your template uses them.
// The default template does.
// What you want to call your photo gallery.
$conf['gallery_title'] = "CODE IS POETRY";
// For a link back to your main site
$conf['main_site_name'] = "BULLEDESIGN";
$conf['main_site_url'] = "http://www.bulledesign.com/";
// If you're in a different time zone from your server, set the offset in hours:
$conf['time_offset'] = 0;
// Tags allowed in comments
$conf['allowed_tags'] = "<i><b>
";
// The path to zenphoto on the server - e.g. /home/user/public_html/zenphoto. No trailing slash/
$conf['serverpath'] = "/home/b/u/bulle/public_html/zenphoto";
// The URL of zenphoto from the domain root. - e.g. 'http://www.bulledesign.com/zenphoto'
// (or '/zenphoto' in that case). No trailing slash/
$conf['webpath'] = '/zenphoto';
// If you have Apache mod_rewrite, put true here, and you'll get nice cruft-free URLs.
// MAKE SURE TO EDIT THE .htaccess FILE with your path information.
$conf['mod_rewrite'] = true;</blockqoute>
and mt test.php is here:
<blockqoute>http://www.bulledesign.com/zenphoto/test.php</blockqoute>
still no go...
i greatly appriciate you taking the time to help me with this!! i know there has to be a way for me to get this working
Go ahead and create an 'albums' and 'cache' folder in the /zenphoto dir and chmod them to 777. Should work. Also, put the chmod on all the stuff you 777'd while experimenting back to 755 just to be safe...
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
kann hier niemand helfen
Can nobody help?
FG
1. dont spam the board.
2. start a thread
3. explain what your problem is
something more descriptive than "help me" would be useful.
http://www.zenphoto.org/support/
there are categories
click on the appropiate category then at the bottom of that page you will see a
"New topic in this forum"
post there.. :-)
I used Zenphoto a while ago and am just trying to get it going again but I am doing something stupid.
I have copied the files to the directory, and renamed the zp-config.php.source file to zp-config.php.
I think there is something on my webspace that is not right perhaps as setup wont run.
I get this error.
"The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log."
Not a pc guru, but I managed it before, just this time I am clearly missing somethings.
My webspace supports MySQL PHP etc and is the same hosting company I used before.
Setup will also produce a system check that may identify issues on your site.