Hi.
I have XAMPP installed under Windows XP to develop my websites and for testing.
Now I want to test ZenPhoto for my website and installed it. It worked all fine.
But now I have add some images and I can´t see them. The gallery is public without password, I have recreate the cache for the pictures, but I can´t see them anyway if logged in or not.
I see the gallery and instead of the thumbnails there are only the pictures name (html alt-tag I think) and when I click on the gallery or the pictures-name I get an error message from apache, that the url is not found.
When I look into the cache folder, there are no thumbnail pictures available. It must be a problem with the thumbnail creation but I don´t know which one. It´s windows, apache has permission to the cache-folder.
I test a other gallery before and it worked fine (created thumbnails).
Has someone any suggestions for me?
Thanks!
Comments
I think the size is not the problem at the moment.
But I also found nothing in the apaches error log.
The only error I get is a "file does not exist" error when try to accessing the gallery:
C:/Programme/Xampp/htdocs/domainname/zend/galleryname, referer: ... (to the cache-images.php)
That´s all ...
it worked ... you are right. It was a problem with the mod_rewrite. I think the part of the script to create the thumbnails also use mod_rewrite to locate the thumbnail folder?
When mod_rewrite does not work properly it can´t create thumbnails in the correct folder.
Very good.
But how I can use mod_rewrite? Or how I can check what´s the problem and how to fix it to use mod_rewrite (because I use the CodeIgniter PHP lightweight Framework and it´s use also search engine friendly URLs (via mod_rewrite). This also works with XAMPP on my developer notebook.
Maybe I have set something wrong in the options tabs? But if I saw it correctly I can only activate or deactivate mod_rewrite. Or can I set some other options?
[edit]
I read a post a few hours ago (iirc) and there was something explained about mod_rewrite in the .htaccess file!?
But I think it was a older version (1.06 ...!?).
It really (I can´t believe it) was the mod_rewrite not enabled.
I really thought the other things (other gallery and the lightweight php framework codeigniter) uses also mod_rewrite, but they don´t.
It was not loaded. I take a look at the phpinfo() and it was not listed.
Thanks for your link.
A note to the troubleshooting page: it would be nice if someone can add some sentences to apache like this:
"When the apache module mod_rewrite is not loaded, you can´t use mod_rewrite within your ZenPhoto configuration. Via phpinfo() you can look, if mod_rewrite is listed as loaded module. If is not, you can load it by open the httpd.conf of your apache and uncomment (delete the leading #) or add this line:
LoadModule rewrite_module modules/mod_rewrite.so"
Thanks!