Member
Member
Healadon   04-06-2013, 10:47
#1

I created a new theme in a offline environment (xampp)and everything worked wonders, I then installed zenphoto online and activated my custom theme, all is well, I created loads of galleries and uploaded images, it all works perfectly, except for when I click on the thumbnail of an image in a gallery and then i get the error "Object not found"

I am pretty sure it has to do with a path or something but I have no idea where to change it, or why it worked in xampp and then not online...

Administrator
Administrator
acrylian   04-06-2013, 13:57
#2

Missing htaccess file maybe. You really should look into your error logs.

Member
Member
sbillard   04-06-2013, 16:36
#3

Such errors are often because of case differences. On line usually means a unix server whose file system is case sensitive. Off line usually means MAC or Windows. Neither of those file systems care about the case of the file name.

Member
Member
Healadon   11-06-2013, 08:20
#4

awesome, I was thinking it might be something to that effect.

Any suggestions on how I might go about fixing this issue?

Administrator
Administrator
acrylian   11-06-2013, 10:10
#5

The easiest is always to use lowercase characters in file/folder names. If you use the backend upload and have the seo plugin enabled Zenphoto should do all this for you.

Member
Member
Healadon   11-06-2013, 10:17
#6

I do use the backend and the plugin "seo_zenphoto" was enabled... Is there another one? Or am I missing something, cause the problem still persists.

Administrator
Administrator
acrylian   11-06-2013, 12:13
#7

No, that's it actually. Are the images with the same names lower/upper case in the albums itself (via FTP)?

Member
Member
Healadon   11-06-2013, 13:13
#8

The images are numbered "p1000646.jpg" in sequence and they are named the same in the the folders and in the backend. I connected via ftp and went into the individual albums and they are all named the same...

this is a very very strange problem..

Administrator
Administrator
acrylian   11-06-2013, 14:21
#9

Since you mention the path as an issue. What is the url of one of these failing ones? Does the non modrewrite url work?

Member
Member
Healadon   11-06-2013, 15:06
#10

The instillation path is:

http://www.ekuja-hunting-namibia.com/zenphoto

I have then got 6 albums with images in each. The path to the albums are:

http://www.ekuja-hunting-namibia.com/zenphoto/2007/

And the failing image path is :

http://www.ekuja-hunting-namibia.com/zenphoto/2007/p1000675.jpg

Feel free to go take a look at it, the site is old and was build years ago, they just asked me to ad a gallery to it.

Administrator
Administrator
acrylian   11-06-2013, 15:36
#11

Well, a a link like http://www.ekuja-hunting-namibia.com/zenphoto/2007/p1000675.jpg cannot work. It is missing the rewrite suffix, normally .php or .html per default. Check the option for that (Options > General).

http://www.ekuja-hunting-namibia.com/zenphoto/index.php?album=2007&image=p1000675.jpg does work so Zenphoto without modrewrite is working correctly.

Member
Member
Healadon   11-06-2013, 15:43
#12

Excellent we are getting closer. I went into options and checked and mod rewrite was selected.

So I deselected it all and now its working just fine, but with horrible url's.. If I check mod rewrite and put in a mod rewrite suffix (.php) it all still doesn't work..

But as far as I am concerned this is a victory. I will keep the mod rewrite off for now, sure this will hurt my search engine results but at least its functional now.

Administrator
Administrator
acrylian   11-06-2013, 16:55
#13

Try .html instead of .php as many current Apache installs have modsecurity enabled which does not like .php. The suffix can be also something like -view or /view. It is required because otherrwise it is not clear this is an image page and not a direct image call.

Member
Member
sbillard   11-06-2013, 19:26
#14

Just a note that the rewrite suffix is totally NOT required. In fact it may even be configured to be missing, leaving links like you show.

But of course, if your server is not supporting mod_rewrite or you do not have the correct .htaccess file you cannot use such nice looking urls.

Administrator
Administrator
acrylian   12-06-2013, 09:32
#15

Ok, my fault, I indeed didn't know it can be kept empty. Always used the defaults of .php or .html myself.

I would recommend to use it as you otherwise more or less pretend that hte url is an image while it is a page. Might be that server security triggers on that as well.

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