Page 1 of 1

a html version bug?!

Posted: 03 Mar 2009, 09:44
by say_hello
hi there :D ,

dont know if this has been asked before...

I installed the last version 20090209 and checked out the html version.

too bad - when i try to open a picture, the flash version of the show is beeing started... :shock:

http://gallery.lubas.at/?content%2Fspor ... 09_2008%2F

please do me a favour and fix this issue.

many thanks and regards
/chris

Posted: 04 Mar 2009, 00:17
by mjau-mjau
hmm, you have a point ... I will talk to my partner about this immediately ...

Posted: 04 Mar 2009, 02:36
by say_hello
i just updated to v.2.0.2 (20090224) - conforming the same "html viewing bug"

when i open the gallery in html mode, browsing to a picture folder, then clicking on a thumbnail, the flash version ist starting up :shock:

maybe for your interest:
NON WORKING EXAMPLE:
- mouse over a thumbnail in html mode the link is:
http://gallery.lubas.at/?content%2Fspor ... 8%2C+4.jpg


but this thumbnail opens correctly in html mode too:
WORKING EXAMPLE:
- mouse over THIS thumbnail in html mode the link is:
http://gallery.lubas.at/?content%2Fflor ... G_0853.JPG

@karl: thank you for investigating this issue :!:

cheers
/chris

Posted: 04 Mar 2009, 14:28
by admin
Could you please provide your ftp login to take a closer look?

Judging by this though:

http://gallery.lubas.at/imagevue/imagevue-check.php

Looks like you suhosin extension might be the cause. Here's how to disable it:

Code
Add .htaccess in gallery root directory with

php_flag suhosin.simulation On

from viewtopic.php?t=4461#14862

Posted: 04 Mar 2009, 15:44
by say_hello
...sent by a pm
hope hearing from you soon
cheers
/chris

Posted: 04 Mar 2009, 16:19
by admin
Yes. Well it's that damn suhosin thing. The worst thing its being installed by default on more and more servers around. :/

First of all, I could not disable it by uploading .htaccess - you need to contact your webhost support.

What actually breaks everything is one of theese directives:

suhosin.get.max_array_index_length
Type: Integer
Default: 64

or

suhosin.get.max_name_length
Type: Integer
Default: 64

It just doesnt allow paths longer than 64 symbols on your host.

http://gallery.lubas.at/imagevue/phpinfo.php

Posted: 05 Mar 2009, 01:21
by say_hello
thanks for the check-out!
i will contact my ISP and will report back asap. :x
cheers for now
/chris

Posted: 05 Mar 2009, 02:12
by Nick
Admin that was me btw, just didnt noticed that im logged in under this account, sorry.

Posted: 05 Mar 2009, 04:05
by say_hello
hi,

good news:
my ISP didnt disabled suhosin, but changed it right into this:
suhosin.get.max_array_index_length 250
suhosin.get.max_name_length 250

http://gallery.lubas.at/imagevue/phpinfo.php

bad news:
this didn ´t solve my problem anyway :(

these opens correctly in html-mode:
101 char ´s:
http://gallery.lubas.at/?content%2Fflor ... G_0243.JPG

this still not - with 132 char:
http://gallery.lubas.at/?content%2Fspor ... 8%2C+4.jpg

- the problem must be something deeper in this suhosin, isn ´t it?
- or do the webserver changes just take effect when the webserver will be rebooted?

i guess i will start a new folder structure to avoid this issue, or do you have still ideas to get behind this? :roll:

thanks again,
cheers
/chris