I didn't notice this happen before my upgrade from 1.44 to 1.45 but the public can't zoom into photos.
Is there any settings I missed besides disabling "Image Processor security" which keeps a public user from viewing a full image? I mean when I disable that option, everything works fine.
It's strange that when I'm logged in as an admin, I can view everything, thumbnails and all full images down to zoom level. When I logout I lose the access to the full image yet I can see thumbnails and the previews.
Symptoms :When the public clicks on the thumbnail then sees the preview it's fine but then
*From chrome when they click to view the full image it displays "Access to the webpage was denied"
*From firefox when they click to view the full image it displays "The image '
http://www.xxx.org/....' cannot be displayed because it contains errors
*From IE when they click to view the full image it displays " The website declined to show this webpage"
The zenphoto security log doesn't show anything nor does the debug log seem to show anything related.
Comments
For full images there is a setting that controls access. (Image processor security just prevents someone from concocting an image processor URI and bypassing your password protection.)
Use the "full image protection" option set to "unprotected". You may also have to adjust your file and folder permissions on the albums folder and on the albums and images themselves. If those prevent browser access the image will not load.
Thanks!
Logged in as admin under options/gallery the gallery is set to public. I thought that option would allow the public to view the full image original.
Also there are options underneath which I can check off unprotected pages but even with all of them checked, the full image doesn't open up without logging in.
Now I can not do that anymore. With the above in 1.45, people get a ZP-logo with an acclamation mark (../zp-core/images/err-imagegeneral.png). The only way to let other people see the full images, is to set my gallery to Unprotected View? But then the Prevent Hotlinking option does not work anymore (as I understand it) and also the making unclear of the image name is not working anymore.
http://www.3dart4u.com/ ... for now the default Garland theme is set. It's set now as Protected View, full images are cached, Hotlinking Off, make cached names unclear. Going through all the thumbs and so on works just fine. Also when hovering over the big thumb to go to the full size image, I can see that the image name is made unclear. But when clicking it, I get that ZP icon.
Also something else that (maybe) is connected: no matter what I do, the "Register for this site" is always visible except when I am logged in as Admin. And when the "Register for this site" is clicked, a blank page is shown. Under Options/Gallery it is set to Public, so that is okay.
The Debug log is full with lines like this:
`
{32599:Fri, 12 Jul 2013 13:46:37 GMT}
NOTICE: Use of undefined constant _PAGE_ - assumed '_PAGE_' in /home/dart/domains/3dart4u.com/public_html/zp-core/template-functions.php on line 3478
getCustomPageURL called from printCustomPageURL (template-functions.php [3505])
from footer (functions.php [105])
from include (image.php [95])
from include (index.php [112])
from index.php [15]
`
For me abracadabra, only thing I know is that I did not mess in the PHP pages themself.
`
$conf['special_pages'] = array(
'page'=> array('define'=>'_PAGE_', 'rewrite'=>'page'),
'search'=> array('define'=>'_SEARCH_', 'rewrite'=>'page/search'),
'archive'=> array('define'=>'_ARCHIVE_', 'rewrite'=>'page/archive'),
'tags'=> array('define'=>'_TAGS_', 'rewrite'=>'page/search/tags'),
'news'=> array('define'=>'_NEWS_', 'rewrite'=>'news'),
'category'=> array('define'=>'_CATEGORY_', 'rewrite'=>'news/category'),
'news_archive'=>array('define'=>'_NEWS_ARCHIVE_', 'rewrite'=>'news/archive'),
'pages'=> array('define'=>'_PAGES_', 'rewrite'=>'pages')
);
`
in it. If not then you will need to restore the contents. Depending on what caused the initial problem you may be able to restore these with the rewriteTokens plugin. If not you will need to delete your config file and re-run setup. Be sure, of course, to make note of your database setup first.
Btw: what are Tokens?
http://www.zenphoto.org/news/zenphoto-1.4.5#change-in-rewrite-rule-handling
Remains the part why on my site there is always the "Register for this site" option? When it is clicked a blank page is shown. I did set my site as Public so no registration is needed.
Btw, it was a complete clean install of 1.4.5., so no upgrade.
PS
I did change theme but also there exactly the same problem.
And as far as I see it, my site is in "registered mode". So only people who register and sign in can see full images. But, I have set my site to "Public" (Options/Gallery). Also, the register plugin is not enabled. But still the option is shown to register.
Also, you do have the register user plugin enabled. Maybe because the copy theme forced that?
Yes, it's a copy. I used the Duplicate option in ZP just to prevent I mess up the original But it doesn't matter which theme I use: they all have the above problems.
And no, the register plug-in is not enabled so a blank page appears when the mysterious Register link is clicked on my page.
- A fatal PHP error which should be noted in the logs
- A server misconfiguration because of a permissions issue or htaccess issues. That is not necessarily in the error log. But maybe in the access log of the server.
@meegja: You will have to manually modify the function footer() within the functions.php of your Garland theme copy to remove the call.