Member
Member
branza   2008-07-04, 18:11
#1
Howdy,

As you can see the thumbnails & images aren't being displayed...
http://www.thebranza.com

i CHMODed the cache & albums folders correctly...
my server supports everything, but still it doesn't work.
if i remove the .htaccess files everything works except the rewrite rule.
if i remove the last raw in the htaccess "Catch-all" the thumbnails show up but i cannot access the albums...

thank you for your help

.htaccess:

---------------------------------
# htaccess file version 1.1.6.0
# Update the above and the define in setup.php when you make changes to the rewrite rules!
# NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory. (Or let setup.php do it for you!)

<IfModule mod_rewrite.c>
RewriteEngine On

#### !!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!
RewriteBase /
####

RewriteRule ^admin/?$ zp-core/admin.php [R,L]

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^albums/?(.+/?)?$ $1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [R,L]

RewriteRule index\.php$ index.php [L,QSA]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/?$ index.php?p=$1 [L,QSA]
RewriteRule ^(.*)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^(.*)page/([A-Za-z0-9\-_]+)/?$ index.php?album=$1&p=$2 [L,QSA]

#### Rewrite rule addtion for search
RewriteRule ^page/([A-Za-z0-9\-_]+)/fields([0-9]+)/(.*)/([0-9]+)/?$ index.php?p=$1&searchfields=$2&words=$3&page=$4 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/fields([0-9]+)/(.*)/?$ index.php?p=$1&searchfields=$2&words=$3 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/archive/(.*)/([0-9]+)/?$ index.php?p=$1&date=$2&page=$3 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/archive/(.*)/?$ index.php?p=$1&date=$2 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/tags/(.*)/([0-9]+)/?$ index.php?p=$1&searchfields=4&words=$2&page=$3 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/tags/(.*)/?$ index.php?p=$1&searchfields=4&words=$2 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/(.*)/([0-9]+)/?$ index.php?p=$1&words=$2&page=$3 [L,QSA]
RewriteRule ^page/([A-Za-z0-9\-_]+)/(.*)/?$ index.php?p=$1&words=$2 [L,QSA]

RewriteRule ^(.*)/image/(thumb|[0-9]{1,4})/([^/\\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA]
# Catch-all - everything else gets handled in PHP for compatibility.
RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
RewriteRule ^(.*)/image/([^/\\]+)$ zp-core/i.php?

</IfModule>
-----------------
Member
Member
sbillard   2008-07-04, 22:51
#2
Check the size of your images. On servers which limit the memory for PHP scripts large images cannot be processed.
Member
Member
branza   2008-07-05, 18:03
#3
10x sbillard
but thats not the problem...

if i remove the .htaccess file everything works except the rewrite rule.
if i remove the last raw in the htaccess "Catch-all" the thumbnails show up but i cannot access the albums...
Member
Member
sbillard   2008-07-05, 19:35
#4
Well, that line is needed for processing the resizing of images. I am not sure how things worked without it (unless the thumbnails were already cached.) Sounds like mod_rewrite does not work on your site.
Junior Member
Junior Member
benberg   2008-11-27, 11:01
#5
Well same problem install went ok, but no thumbs and no pictures. And i got some problems in uploading, but i use FTP for uploading test pictures.

more info 'bout server -> http://users.utu.fi/benberg/phpinfo.php
and zenphoto "gallery" page -> http://users.utu.fi/benberg/zenphoto/

yours
BE
Administrator
Administrator
acrylian   2008-11-27, 11:18
#6
The error image indicates that the gd lib is probably not installed or working correctly although your phpinfo says it is. I suggest to contact your ISP about that.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.