![]() |
|
Full Size Link - errors? - 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: Full Size Link - errors? (/thread-5955.html) |
Full Size Link - errors? - micheall - 2009-10-08 Ok, so I'm having an issue. I recently upgraded from 1.2.6 release to the svn (1.2.6 [4504]). Performed the setup.php for the upgrade of the database like it says and almost everything is working flawlessly. I did however notice one issue. The full image link, if set to protected, just returns to the index page, it doesn't produce the image. If I set it to unprotected or download, it processes fine. I've tried clearing caches, and using protected with cache full image both checked and un-checked. Did some perusing through the forums and not seeing anyone else posting about the issue. I think I've exhausted about every option, barring a complete fresh install of the gallery. Any suggestions besides fresh install? I'd like to keep the tags/descriptions I have, though if I must try a fresh install I will. Full Size Link - errors? - acrylian - 2009-10-08 What theme please? Full Size Link - errors? - sbillard - 2009-10-08 Install the nightly. If I remember correctly there was a bug in the protected image handling. Full Size Link - errors? - micheall - 2009-10-08 Alright, I'll grab a newer version of the nightly, and it happens in all themes, currently I'm using a modified one based off the example theme. Full Size Link - errors? - micheall - 2009-10-08 Alright, I've updated to the latest nightly and still get the error. I am now currently running version 1.2.6 [4518] (the 10-7-2009 nightly) and have the same problem. If protected mode is enabled and I click for a full-size view, it returns me to the index page. If I set it to unprotected, or download options, the image is produced properly. If I set it to no-access, it returns me to the image page. It happens on all themes I've tried, my theme, example theme, default theme. Full Size Link - errors? - sbillard - 2009-10-08 Is this just for the no-access case? That is the only case I can reproduce. There is an error in all the standard themes. They are not cheking to see if there is a link before creating the HREF. So they create an empty link which takes you to the index page. This will be fixed in the nightly tonight. Full Size Link - errors? - micheall - 2009-10-08 No, it happens when I choose Protected View as well. Could it be that protected view without using a watermark etc is my problem? Full Size Link - errors? - sbillard - 2009-10-08 No, you should get a link to the full image script with any protected selection except the no-access. The watermarking is done later on. Any CGI errors? Full Size Link - errors? - micheall - 2009-10-08 No errors that I can see anywhere in any logs or anything. Installing a fresh copy in case something just hosed up during my upgrade. Will update once it's done. Full Size Link - errors? - micheall - 2009-10-08 Ok, just did a completely fresh install with a fresh database and everything. Uploaded 3 pictures to a test album and get the same results. http://www.michealmalone.com/zentest/ for linkage. Full Size Link - errors? - micheall - 2009-10-08 Aha! It IS what I thought, using protected view without any watermarking etc was causing the issue. The moment I turned watermarking on, the fullsize images generated properly.. Edit: Full Size Link - errors? - sbillard - 2009-10-08 Can you put the test site back to no watermark so I can take a look? I can't reproduce it here. I did fix a bug along with the no-access stuff, but that bug caused CGI errors. Full Size Link - errors? - micheall - 2009-10-08 Alright, swapped it back to no watermark. Also created an admin login for back-end: U: tester Full Size Link - errors? - sbillard - 2009-10-08 The link looks correct, so I am guessing you ran into the problem I mentioned. Should have been some error messages, though. Give the nightly a try. Full Size Link - errors? - micheall - 2009-10-08 Alright, will wait for the 10-8 nightly then and give it a go after it's up. Thanks for looking into it. Full Size Link - errors? - micheall - 2009-10-09 Whatever you changed appears to have fixed the issue Thanks to the zenphoto team looking into this. Edit: If I link the "view image" link it'll break, but if I click the view image link, then copy the addy from address bar, it displays the image, thereby bypassing the disable hotlinking function. Full Size Link - errors? - sbillard - 2009-10-09 Yes, it should be the full image url. Probably an oversite. I will look into it. EDIT: The browser address will be the actual image--that's the way browsers work. If someone knows that link they do not even need to get it from Zenphoto, just enter it directly. Only way to prevent that is an external album folder. Full Size Link - errors? - acrylian - 2009-10-09 Real hotlinking prevention is possible via Full Size Link - errors? - micheall - 2009-10-10 Yeah, I had hoped to avoid the actual .htaccess changes. I noticed though that in some of the showcase links the image url is the coded one and not the direct link to the album folder. Just wondering if I had modified something that had screwed it up. Thanks again |