Hi Guys
First time user of ZenPhoto and have hit a problem, have looked through the forums but haven't found a definitive answer.
Basically its the "I've uploaded my photos by ftp and now don't see any images problem"
The installation
http://chris.lineages.co.uk/zenphotoSafe mode is off, GD is installed (see
http://chris.lineages.co.uk/phpinfo.php ), Mod rewrite does work, but i have tried with and without it to no avail.
Have Chmod'ed albums and cache to 777
RewriteBase = /zenphoto
It clearly see the photos (because it lists their names).
Any ideas guys?
Thanks in advance
Chris
Comments
http://chris.lineages.co.uk/zenphoto/zen/i.php?a=marrakesh&i=S7000166.jpg&s=thumb
Any ideas why and what I can do about it?
Chris
Until then you may be able to fix it by changing your umask by putting `umask(0)` somewhere at the top of i.php. Still need to delete the cache though.
Apache error log shows file not found errors for the album URL.
This is a fresh 1.0.7 install on xampplite (Windows version 1.5.5) -- so it shouldn't be a directory/file permission thing. I tried setting path overrides, but that made no difference.
I got this working last night on a different machine, but it has a slightly different version XAMPP (I think it has a slightly older and non-'lite' version), so that may be the culprit.
It really wouldn't surprise me if xampplite did not come preconfigured with gd support. I have noticed that to be the case with wamp and xampp in the past.
Check your php info and make sure you gd2 is installed
It works (I can add albums, upload photos, change themes, etc.), but no thumbnails for any photos.
phpinfo:
>GD Support enabled
>GD Version bundled (2.0.28 compatible)
Once that was on, I had to add this rule to get the root page stop showing the "album does not exist" error.
RewriteRule index\.php$ index.php [L,QSA]
@arthuc01 -- Glad to hear it. So that's a very good fix for that issue in 1.0.7. 1.0.8 will have fixed the problem and won't need that change any more, so you shouldn't have to worry about it in upgrades.
I recommend anyone with the same problem make the same change.
Yes, both installs were in /gallery and I updated the RewriteBase.
I know the other rewrite rules (and thus, presumably, the RewriteBase) were working correctly since http://localhost/gallery/admin would redirect correctly to the admin pages.
I found the solution here:
http://www.zenphoto.org/support/topic.php?id=1077
I had to add that rewrite for both my xampp setups (one at home the other one work, but that's really a portable install on a USB key drive), once in, everything worked like a charm.
I've removed the cache folder as suggested above.
I use lunarpages as a hosting company.
GD2 is setup correctly.
The picture even uploads it just will not display, I checked the error logs and zenphoto was looking in www.soulaskew.com/zenphoto instead of the /img directory where I'd been running it.
I changed the webpath hoping that would fix it. That also didn't work.
It appears that is not making the index files for the album, nor the thumbnails.
Any suggestions on how to make this work, I have no problem reinstalling it.
www.soulaskew.com/img/ is the location of my zenphoto install.
your rewritebase in your .htaccess file is still set to /zenphoto that is why it is looking for it there.
you need to change it to /img
Pictures are still not visible.
It's looking for a directory that it didn't make.
http://www.soulaskew.com/img/me/image/thumb/doncoat.jpg
it doesn't even go to "album/me/"
Any more suggestions?
`
Warning: mkdir(/home/soula4/public_html/img/cache/me) [function.mkdir]: No such file or directory in /home/soula4/public_html/img/zen/i.php on line 133
Warning: Cannot modify header information - headers already sent by (output started at /home/soula4/public_html/img/zen/i.php:133) in /home/soula4/public_html/img/zen/i.php on line 228`
You might need the umask(0) solution mentioned above.
It's now going to a different directory, it appears to be ignoring the "album" director altogether.
2nd, it looks like you've royally screwed something in your install up, so I'd recommend re-installing.
3rd. It looks like you don't have the /cache directory in your install. If either the directory '`/cache`' or '`/albums`' does not exist, please create them, and change their permissions to 0777, or world readable, writable and executable.
I apprecaite everyone's effort in helping me, off to take pictures!
~dsedberry