First of all. Most excellent script you have made here. I have been searching for a gallery like this forever, at least it feels like forever. Beautiful. (Made a little bit of modifications to fit my image-resizing needs, though
However. Two little problems.
I previously used the 0.8 version Beta. Then the admin worked fine, also through myzendirectory/admin/. One day I had a lot of problems out of the blue (*cough* server reconfiguration*mhhm*). So. I installed the current version (1.0.1 Beta), and still one same problem:
When I try to access the admin panel through myzendirectory/admin, I cannot. Not a big problem, maybe. I can live with writing a little more, so that I do do. I go to myzendirectory/zen/admin.php (which is the only path that will work, not myzendirectory/zen/admin/ that gives me the admin.css) and log in, but get a 404 page. Only when I go back one page and log in again am I able to access the admin panel.
Now. The second problem. When I have entered the admin panel. Everything seems to work fine. Uploading galleries and moving images back and forth through ftp also works like a charm. Uploading images through the admin panel works also, until I try to add a new image to an existing gallery. Then I get this error: (full path replaced with [...])
Warning: move_uploaded_file([...]/public_html/img/albums/album/image.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in [...]/public_html/img/zen/admin.php on line 113
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpSjqf5Y' to '[...]/public_html/img/albums/album/image.jpg' in [...]/public_html/img/zen/admin.php on line 113
Warning: Cannot modify header information - headers already sent by (output started at [...]/public_html/img/zen/admin.php:113) in [...]/public_html/img/zen/admin.php on line 127
Does anyone have any clue as to what might be wrong. I really don't know what information I should give you about the server, so please just ask and see if I can answer. I cannot modify the database tables myself, don't have access because I don't know how to! Could be done though, this is a server my friend keeps.
Thank you.
Ingaló.
Comments
instead of:
http://ingalo.binary.is/img/index.php?page=2 (for example)
it always prints out:
http://ingalo.binary.is/img/index.php?page=1
Have you been sure to make the albums and cache directories world readable + writable?
Warning: Cannot modify header information - headers already sent by (output started at [...]/public_html/img/zen/admin.php:113) in [...]/public_html/img/zen/admin.php on line 127
....have you looked at this post - it was the cause of my similar problem. Maybe you have spaces before the <php or after the ?> in admin.php.
http://www.zenphoto.org/support/topic.php?id=32
The other 2 little problems, though. Do you have any ideas?