![]() |
|
can's see thumbnails or albums, but can open images manually - 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: can's see thumbnails or albums, but can open images manually (/thread-2063.html) |
can's see thumbnails or albums, but can open images manually - melogrrl - 2008-01-11 Please help! I have spent almost all day on this. I have uploaded few test images successfully, but when I am trying to open my gallery (www.rosalyn-photography.com/gallery) i see blank page. If I will show direct path to the picture it opens it. If somebody helps I will be very grateful. This is an Apache Error Log: PHP Fatal error: main() [function.require]: Failed opening required 'classes.php' (include_path='.:/usr/share/pear') in /home/default/rosalyn-photography.com/user/htdocs/gallery/zp-core/template-functions.php on line 8 PHP Warning: main(classes.php) [function.main]: failed to open stream: Operation not permitted in /home/default/rosalyn-photography.com/user/htdocs/gallery/zp-core/template-functions.php on line 8 PHP Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/classes.php) is not within the allowed path(s): (/tmp:/home/default/rosalyn-photography.com) in /home/default/rosalyn-photography.com/user/htdocs/gallery/zp-core/template-functions.php on line 8 please please please help me! can's see thumbnails or albums, but can open images manually - sbillard - 2008-01-11 Sounds like you did not get the files of the release uploaded. Check that all the files have been copied to the zp-core folder. can's see thumbnails or albums, but can open images manually - melogrrl - 2008-01-11 I have deleted everything and reinstalled again. Still same issue. http://www.rosalyn-photography.com/gallery/index.php?album=test http://www.rosalyn-photography.com/gallery/albums/ http://www.rosalyn-photography.com/gallery/albums/test/Bride1.jpg Any ideas how can make it all work? can's see thumbnails or albums, but can open images manually - melogrrl - 2008-01-11 just for the record: .htaccess is amended and copied in "gallery" folder. It looks to me i'm doing it all right, but it don't want to work... can's see thumbnails or albums, but can open images manually - acrylian - 2008-01-11 Is the path correct within htaccess? can's see thumbnails or albums, but can open images manually - melogrrl - 2008-01-11 this is what i have in htaccess: `# htaccess file for zenphoto NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.RewriteEngine Off !!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!RewriteBase /gallery RewriteRule ^admin/?$ zp-core/admin.php [R,L] RewriteCond %{REQUEST_FILENAME} -f [NC,OR] RewriteCond %{REQUEST_FILENAME} -d [NC] 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] Rewrite rule addtion for seachRewriteRule ^page/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ index.php?p=$1&words=$2 [L,QSA] RewriteRule ^page/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([0-9]+)/?$ index.php?p=$1&words=$2&page=$3 [L,QSA] Rewrite rule addtion for archive-/date-search (needed to be separarted because of the same structur)RewriteRule ^page/([A-Za-z0-9-]+)/archive/([A-Za-z0-9-]+)/?$ index.php?p=$1&date=$2 [L,QSA] RewriteRule ^page/([A-Za-z0-9-]+)/archive/([A-Za-z0-9-]+)/([0-9]+)/?$ index.php?p=$1&date=$2&page=$3 [L,QSA] RewriteRule ^(.*)/image/(thumb|[0-9]{1,4})/([^/]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA] RewriteRule ^(.*)/image/([^/]+)$ zp-core/i.php?a=$1&i=$2 [L,QSA] Catch-all - everything else gets handled in PHP for compatibility.RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA] ` it doesn't work if I change "RewriteEngine Off" to "RewriteEngine On" i am not sure if my ISP provides mod_rewrite can's see thumbnails or albums, but can open images manually - melogrrl - 2008-01-11 i have just checked: mod_rewrite is in the list of loaded modules. i am baffled. can's see thumbnails or albums, but can open images manually - melogrrl - 2008-01-11 can anybody help? or point where the problem may lie. can's see thumbnails or albums, but can open images manually - melogrrl - 2008-01-11 In my error log it keeps showing this: [Fri Jan 11 17:21:52 2008] [error] [client 82.68.85.73] File does not exist: /home/default/rosalyn-photography.com/user/htdocs/favicon.ico, referer: http://www.rosalyn-photography.com/gallery/ [client 82.68.85.73] PHP Fatal error: main() [function.require]: Failed opening required 'classes.php' (include_path='.:/usr/share/pear') in /home/default/rosalyn-photography.com/user/htdocs/gallery/zp-core/template-functions.php on line 8, referer: http://www.rosalyn-photography.com/gallery/zp-core/admin.php?page=home [client 82.68.85.73] PHP Warning: main(classes.php) [function.main]: failed to open stream: Operation not permitted in /home/default/rosalyn-photography.com/user/htdocs/gallery/zp-core/template-functions.php on line 8, referer: http://www.rosalyn-photography.com/gallery/zp-core/admin.php?page=home [client 82.68.85.73] PHP Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/classes.php) is not within the allowed path(s): (/tmp:/home/default/rosalyn-photography.com) in /home/default/rosalyn-photography.com/user/htdocs/gallery/zp-core/template-functions.php on line 8, referer: http://www.rosalyn-photography.com/gallery/zp-core/admin.php?page=home any ideas what does it mean??? can's see thumbnails or albums, but can open images manually - sbillard - 2008-01-12 There is some kind of server security enabled on your website. You probably will have to contact your provider to figure out what it is and how to fix it. The messages above are saying that the zenphoto scripts are not within the "blessed" file paths so they are being denied doing something. |