Search…

X3 Photo Gallery Support Forums

Search…
 
Phuong Costello
Topic Author
Posts: 2
Joined: 05 Apr 2009, 20:07

Is there a workaround without disabling suhosin?

06 Apr 2009, 14:49

I have problems getting my gallery www.phuongcostello.com to work since the newest version of X2. I noticed the suhosin warning on the admin-panel and have read through stickies and other threads relating problems with suhosin here at the forum.

There seems to be two solutions: disabling suhosin or enable suhosin.simulation.. either way, since I'm using a webhost, I don't have access or let alone disable anything in php.ini or htaccess :/ I've contacted admin and they agree on suhosin maybe beeing too strict and they asked me which of the restrictions are causing troubles for imagevue script.

So.. my question.. have anyone played around and identified which of the settings in suhosin that are causing all this trouble? Is there a workaround to this without disabling suhosin? (I don't think admins are willing to completely remove suhosin just for my tiny gallery :roll: )

whoooho..!
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

09 Apr 2009, 01:37

First of all you should ask them to let you use .htaccess and just create this file in your gallery root folder and add suhosin_simulation=off to it.
This will disable it only for your gallery but won't turn it off completely.
And this what helped other people usually.

Then, as I mentioned already - default suhosin installation (as it comes with latest Ubuntu atleast) poses no troubles to imagevue.

So either them admins overtighten security nuts and bolts after install, or those issues are related to some "increased security" linux distro where suhosin is pre-configured this way.

Unfortunately there are enough settings to destroy any web-application, so it's bit hard to tell exactly what's wrong, but atleast for some issues we tried to suggest what to disable. There are some posts in forum too.

Your issues are not related to suhosin it seems, first of all your gallery tried to load
http://www.phuongcostello.com/imagevue/ ... nglish.xml
which is not even there.

But actual file is
http://www.phuongcostello.com/imagevue/ ... nglish.xml

You need to change English to english in config.

I believe your best bet is to see if gallery works. Then .htaccess suhosin if you have issues. If this wont help, ask your friendly admins to actually enable .htaccess directives for your site.
firedev.com
 
Phuong Costello
Topic Author
Posts: 2
Joined: 05 Apr 2009, 20:07

09 Apr 2009, 10:20

pain wrote:Your issues are not related to suhosin it seems, first of all your gallery tried to load
http://www.phuongcostello.com/imagevue/ ... nglish.xml
which is not even there.

But actual file is
http://www.phuongcostello.com/imagevue/ ... nglish.xml

You need to change English to english in config.
Holy moses.. that did the trick! I'm so embarrased to have wasted valuable support-effort on this :oops: Strangely enough, it wasn't any problem on my home computer (I do all configs and updates locally before uploading an 100% identical copy online).. only difference between my home setup and hostserver is the suhosin-patch. Either way, creds for locating the problem so fast and it was very interesting reading about suhosin.

Thanks alot! Imagevue X2.. i'm luvin' it :P

best regards
Phuong Costello