Search…

X3 Photo Gallery Support Forums

Search…
 
jldesigns
Topic Author
Posts: 2
Joined: 15 Nov 2009, 19:39

Just switch hosting, possible suhosin problem?

27 Nov 2009, 02:48

Hi there,

Just switched my hosting and when I start playing around with imagevue, everything seems to be okay as I can save settings, create new folder, save content I typed in textpages etc.

But when it comes to upload, whenever I tried uploading a picture into a gallery/folder, when it is successfully uploaded I get redirected back to admin login page each time and the image uploaded isn't there.

I notice the suhosin values were different from the phpinfo between my old and new hosting and I've tried the .htaacess which gives me server error and I tried php.ini (website root directory) which basically does nothing.

Thanks for reading, btw I'm leaving for thanksgiving so I won't be able to check back so soon.. do give me a reply and I'll read it when I'm back.

Btw below is the suhosin from my phpinfo
JL
Code
Directive	Local Value	Master Value
suhosin.apc_bug_workaround	On	On
suhosin.cookie.checkraddr	0	0
suhosin.cookie.cryptdocroot	On	On
suhosin.cookie.cryptkey	[ protected ]	[ protected ]
suhosin.cookie.cryptlist	no value	no value
suhosin.cookie.cryptraddr	0	0
suhosin.cookie.cryptua	On	On
suhosin.cookie.disallow_nul	1	1
suhosin.cookie.disallow_ws	1	1
suhosin.cookie.encrypt	Off	Off
suhosin.cookie.max_array_depth	50	50
suhosin.cookie.max_array_index_length	64	64
suhosin.cookie.max_name_length	64	64
suhosin.cookie.max_totalname_length	256	256
suhosin.cookie.max_value_length	10000	10000
suhosin.cookie.max_vars	100	100
suhosin.cookie.plainlist	no value	no value
suhosin.coredump	Off	Off
suhosin.disable.display_errors	Off	Off
suhosin.executor.allow_symlink	Off	Off
suhosin.executor.disable_emodifier	Off	Off
suhosin.executor.disable_eval	Off	Off
suhosin.executor.eval.blacklist	no value	no value
suhosin.executor.eval.whitelist	no value	no value
suhosin.executor.func.blacklist	no value	no value
suhosin.executor.func.whitelist	no value	no value
suhosin.executor.include.blacklist	no value	no value
suhosin.executor.include.max_traversal	6	6
suhosin.executor.include.whitelist	no value	no value
suhosin.executor.max_depth	0	0
suhosin.filter.action	no value	no value
suhosin.get.disallow_nul	1	1
suhosin.get.disallow_ws	0	0
suhosin.get.max_array_depth	50	50
suhosin.get.max_array_index_length	64	64
suhosin.get.max_name_length	64	64
suhosin.get.max_totalname_length	256	256
suhosin.get.max_value_length	512	512
suhosin.get.max_vars	100	100
suhosin.log.file	0	0
suhosin.log.file.name	no value	no value
suhosin.log.phpscript	0	0
suhosin.log.phpscript.is_safe	Off	Off
suhosin.log.phpscript.name	no value	no value
suhosin.log.sapi	0	0
suhosin.log.script	0	0
suhosin.log.script.name	no value	no value
suhosin.log.syslog	no value	no value
suhosin.log.syslog.facility	9	9
suhosin.log.syslog.priority	no value	no value
suhosin.log.use-x-forwarded-for	Off	Off
suhosin.mail.protect	0	0
suhosin.memory_limit	256	256
suhosin.mt_srand.ignore	On	On
suhosin.multiheader	Off	Off
suhosin.perdir	0	0
suhosin.post.disallow_nul	1	1
suhosin.post.disallow_ws	0	0
suhosin.post.max_array_depth	50	50
suhosin.post.max_array_index_length	64	64
suhosin.post.max_name_length	64	64
suhosin.post.max_totalname_length	256	256
suhosin.post.max_value_length	200000	200000
suhosin.post.max_vars	4000	4000
suhosin.protectkey	On	On
suhosin.request.disallow_nul	1	1
suhosin.request.disallow_ws	0	0
suhosin.request.max_array_depth	50	50
suhosin.request.max_array_index_length	64	64
suhosin.request.max_totalname_length	256	256
suhosin.request.max_value_length	200000	200000
suhosin.request.max_varname_length	64	64
suhosin.request.max_vars	4000	4000
suhosin.server.encode	On	On
suhosin.server.strip	On	On
suhosin.session.checkraddr	0	0
suhosin.session.cryptdocroot	On	On
suhosin.session.cryptkey	[ protected ]	[ protected ]
suhosin.session.cryptraddr	0	0
suhosin.session.cryptua	On	On
suhosin.session.encrypt	On	On
suhosin.session.max_id_length	128	128
suhosin.simulation	Off	Off
suhosin.sql.bailout_on_error	Off	Off
suhosin.sql.comment	0	0
suhosin.sql.multiselect	0	0
suhosin.sql.opencomment	0	0
suhosin.sql.union	0	0
suhosin.sql.user_postfix	no value	no value
suhosin.sql.user_prefix	no value	no value
suhosin.srand.ignore	On	On
suhosin.stealth	On	On
suhosin.upload.disallow_binary	0	0
suhosin.upload.disallow_elf	1	1
suhosin.upload.max_uploads	25	25
suhosin.upload.remove_binary	0	0
suhosin.upload.verification_script	no value	no value
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

30 Nov 2009, 07:13

As you can see there a quite a few options to say the least, as of now we dont know which ones causing this or that behavior exaclty, although you can use almost every one of them to cause some issues on server.

That's why we recommend to disable suhosin by adding .httaccess file to the root folder of gallery with the following content:

php_flag suhosin.simulation On
firedev.com