Member
Member
mbonwick   2009-09-19, 12:08
#1

Hi,

I'm running zenphoto on 110mb.com free hosting, but recently (last week) they disabled image hotlinking, so noone can see the large versions of images in my gallery (Clicking a thumbnail returns "object not found")

Is there anything I can do about this?

Administrator
Administrator
acrylian   2009-09-19, 12:34
#2

We will need a link to that site.

Member
Member
sbillard   2009-09-19, 17:05
#3

These links are all direct, so I think we need to understand what the site did to "disable hot linking".

Member
Member
mbonwick   2009-09-20, 18:16
#4

The link to the site is http://mbonwick.110mb.com/gallery

From reading what little information 110mb.com have made available, I understand that the HTTP referrer must either:
be 110mb.com
be site.110mb.com (where site is the user's site, in my case mbonwick.110mb.com)
or be non existant, through vopying and pasting a link.

Even so, I still can't see how this would affect zenphoto.

Member
Member
sbillard   2009-09-21, 01:48
#5

The only thing I see that is strange is that the "album" parameter has the slash(/) character encoded. This is not normal, it is usually left a slash. But I tried the URL with a slash instead of the %2F and still got the object not found.

Anyway, this error generally comes from not finding the particular album file or image file in the filesystem. So one possibility is that Zenphoto is no longer able to read the folders due to some permissions change. This might be what they did to prevent hotlinking.

Member
Member
mbonwick   2009-09-29, 17:57
#6

At the suggestion of the host admins, I tried the gallery with the default theme again. This time it worked.

This has led me to believe that this is a template-related fault, but I've no idea what could have been changed/deleted in the "stopdesign" theme.

Thoughts please.

Member
Member
sbillard   2009-09-29, 18:14
#7

Were you using an unmodified version of stopdesign?

Member
Member
mbonwick   2009-09-29, 20:51
#8

Not quite,

All I've done is add a banner at the bottom of the homepage using HTML code after the PHP close tags.

Member
Member
sbillard   2009-09-29, 21:10
#9

That should not be an issue, but maybe for completeness you should try the unmodified stopdesign theme. I checked the stopdesign theme from the nightly builds and it is not placint the %2F in place of slashes in the album urls.

Just FYI, this problem is typically caused by using the urlencode() function rather than the pathurlencode() function on album names.

Member
Member
mbonwick   2009-10-01, 19:05
#10

How strange....I reinstalled the theme, except for the modified index.php file
It's started working again! I just hope it lasts...

I'm none the wiser as to the cause, but thanks for the help. Much appreciated.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.