ZenphotoCMS Forum
Welcome to the installation support forum - 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: Welcome to the installation support forum (/thread-1.html)



Welcome to the installation support forum - trisweb - 2005-09-18

You can get help with installation here. There's one thing that keeps popping up that might help...

[b]NOTE: Since 0.9, the following instructions are not needed, as the server_path and web_path variables have been abolished[/b]

Quote: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:

``

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.




Welcome to the installation support forum - trisweb - 2005-09-19

Also, if you're getting 404 errors (that index.php cannot be found or somesuch) - check your .htaccess file. It might be hidden and/or not changed (you have to modify the path to your own).




Welcome to the installation support forum - mike - 2005-09-20

I have tried everything to sort this issue out, but to no end. The server path is right on, but I still get the error. Any ideas?




Welcome to the installation support forum - trisweb - 2005-09-20

No mike, I'd have to see your installation. Got a link?




Welcome to the installation support forum - tiwan - 2005-09-20

Hi,
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 :p Now everything's fine! Keep on guys, your're doing vey well (I'll post about my gallery later I think) !




Welcome to the installation support forum - bulle - 2005-09-20

ok.. i am hopelessly stuck | i am new to this sort of thing - first blog site | i apoligize in advance for the stupidity of this question, but here goes:

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//

[i]// 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;[/i]

and the .htaccess file as follows//

[i]# htaccess file for zenphoto

NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.


RewriteEngine On

!!! Change this to the absolute path !!!


RewriteBase /usr301/home/b/u/bulle/public_html/zenphoto[/i]

when i run the test.php file http:www.bulledesign.com/zenphoto/test.php)
i get this// Configuration File (php.ini) Path = [i]/usr/local/lib/php.ini [/i]
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




Welcome to the installation support forum - trisweb - 2005-09-20

Your server path looks right.

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.




Welcome to the installation support forum - bulle - 2005-09-20

i made this change and now...

i still get the directory page when i go to "view gallery"
but now i get [b]"Error: The 'albums' directory cannot be found or is not readable"[/b] 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 :

htaccess file for zenphoto


NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.


RewriteEngine On

!!! Change this to the absolute path !!!


RewriteBase [b]/zenphoto[/b]

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]

and the config.php varianles are set like this:




Welcome to the installation support forum - trisweb - 2005-09-21

"The albums directory cannot be found or is not readable" means exactly that. You either have your 'server_path' wrong, or the albums directory has the wrong permissions (both 'albums' and 'cache' dirs need full read/write perms - do it over FTP or SSH)




Welcome to the installation support forum - tristero - 2005-09-21

Database tables created fine. Able to login okay. Ran the test.php to find correct server path:

Quote:/kunden/homepages/35/user/htdocs/zenphoto
Here are the pertinent lines from config.php:

Quote: The path to zenphoto on the server - e.g. /home/user/public_html/zenphoto. No trailing slash/
$conf['serverpath'] = "/kunden/homepages/35/user/htdocs/zenphoto";

// The URL of zenphoto from the domain root. - e.g. 'http://www.yoursite.com/zenphoto'
// (or '/zenphoto' in that case). No trailing slash/
$conf['webpath'] = '/zenphoto';
and the .htaccess file:

Quote:RewriteBase /zenphoto
Yet when I attempt to access the Administration Panel or gallery, still receiving following error:

Quote:Error: The 'albums' directory cannot be found or is not readable.
I've seen your mention of 'album' and 'cache' directories - but see no such folders created from the default install. Are these supposed to be directories that already exist??? I've 777'd the directories that do exist, and still receive same errors.




Welcome to the installation support forum - trisweb - 2005-09-21

yes, they should come with the installer. Your extractor might have ignored them because they're empty.

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...




Welcome to the installation support forum - tristero - 2005-09-21

Quote: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..
That was the problem. Thanks!




Welcome to the installation support forum - FG - 2006-07-10

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?
kann hier niemand helfen
Can nobody help?

FG




Welcome to the installation support forum - Chilifrei64 - 2006-07-10

yes.. here is what you need to do

  1. dont spam the board.
  2. start a thread
  3. explain what your problem is

something more descriptive than "help me" would be useful.




Welcome to the installation support forum - dantes - 2006-07-18

anyone know how to start a thread?




Welcome to the installation support forum - Chilifrei64 - 2006-07-19

at the bottom of the first page
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.. :-)




Welcome to the installation support forum - Stringer - 2008-12-05

Hi
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.




Welcome to the installation support forum - acrylian - 2008-12-05

You need to tell us what errors you got in the log then. Also details about what php and mysql version and what server system would be helpful.




Welcome to the installation support forum - sbillard - 2008-12-05

You should not have to rename the zp-config.php.source file. What should be done is to upload everything to the site and run setup.php. It will make the appropriate copy of zp-config.php.source including changes to the file it deems needed for your configuration.

Setup will also produce a system check that may identify issues on your site.