Suhosin error

yosxik

Joined: 2009-06-27
Posts: 2
Posted: Sat, 2009-06-27 07:39

I try to upload photo for the first time and in the new popup windows I have this:

Quote:
Error: your server is configured to use the suhosin.session.encrypt setting from Suhosin. You must disable this setting to upload photos.

How can I solve this problem??

Yosxik:- http://comwebmt.com

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11023
Posted: Sat, 2009-06-27 13:33

Start here:
http://gallery.menalto.com/search

http://gallery.menalto.com/node/86065#comment-304038
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17356
Posted: Sat, 2009-06-27 14:22

Added a FAQ:
suhosin.session.encrypt

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
yosxik

Joined: 2009-06-27
Posts: 2
Posted: Sat, 2009-06-27 15:13

I solved the first problem by put suhosin.session.encrypt = Off in the php.ini file.
But now I have another problem after upload photo i hae the error 406.

How can I solve this??

Yosxik:- http://comwebmt.com

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17356
Posted: Sat, 2009-06-27 15:50

@Error 406:
http://gallery.menalto.com/node/88308

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
bharat
bharat's picture

Joined: 2002-05-21
Posts: 6103
Posted: Sun, 2009-06-28 04:41

Try getting the latest code, I've turned off mod_security by default (or tried to, at least).
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

Login or register to post comments
rafiks
rafiks's picture

Joined: 2009-07-13
Posts: 17
Posted: Fri, 2009-07-17 18:20

Hi! i ran into problems with this..I keep getting the error.

Already turned it off on my php.ini and I also verified it on phpinfo () webpage. .I looked at the logs and I don't see any problems..

Login or register to post comments
rafiks
rafiks's picture

Joined: 2009-07-13
Posts: 17
Posted: Fri, 2009-07-17 20:49

I restarted the computer ..It is working now..!

Login or register to post comments
skunker

Joined: 2005-02-04
Posts: 298
Posted: Sun, 2009-07-19 15:33

My server admin wont' let me make the change because he said it will affect the entire server. Any other alternatives?

I can still upload photos, but the photos will not appear.

It don't check if suhosin is in SIMULATION mode (which it is)?

Login or register to post comments
bharat
bharat's picture

Joined: 2002-05-21
Posts: 6103
Posted: Tue, 2009-07-21 13:56

If you're in simulation mode, then the warning may appear but you can ignore it safely. If you're still having problems uploading photos, check your gallery3/var/logs for errors.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

Login or register to post comments
skunker

Joined: 2005-02-04
Posts: 298
Posted: Tue, 2009-07-21 15:42

<?php defined('SYSPATH') or die('No direct script access.'); ?>

2009-07-20 11:17:13 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/dashboard/reorder?csrf=ac8ec178b991d9c3aa0c95d720429c6e&dashboard_center%5B%5D=6&dashboard_center%5B%5D=7&dashboard_center%5B%5D=8&dashboard_center%5B%5D=9&dashboard_sidebar%5B%5D=2&dashboard_sidebar%5B%5D=3&dashboard_sidebar%5B%5D=4&dashboard_sidebar%5B%5D=5, could not be found. in file system/core/Kohana.php on line 841
2009-07-20 11:17:27 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/dashboard/reorder?csrf=ac8ec178b991d9c3aa0c95d720429c6e&dashboard_center%5B%5D=6&dashboard_center%5B%5D=7&dashboard_center%5B%5D=8&dashboard_center%5B%5D=9&dashboard_sidebar%5B%5D=2&dashboard_sidebar%5B%5D=3&dashboard_sidebar%5B%5D=4&dashboard_sidebar%5B%5D=5, could not be found. in file system/core/Kohana.php on line 841
2009-07-20 11:17:28 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/dashboard/reorder?csrf=ac8ec178b991d9c3aa0c95d720429c6e&dashboard_center%5B%5D=6&dashboard_center%5B%5D=7&dashboard_center%5B%5D=8&dashboard_center%5B%5D=9&dashboard_sidebar%5B%5D=2&dashboard_sidebar%5B%5D=3&dashboard_sidebar%5B%5D=4&dashboard_sidebar%5B%5D=5, could not be found. in file system/core/Kohana.php on line 841
2009-07-20 11:17:29 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/dashboard/reorder?csrf=ac8ec178b991d9c3aa0c95d720429c6e&dashboard_center%5B%5D=6&dashboard_center%5B%5D=7&dashboard_center%5B%5D=8&dashboard_center%5B%5D=9&dashboard_sidebar%5B%5D=2&dashboard_sidebar%5B%5D=3&dashboard_sidebar%5B%5D=4&dashboard_sidebar%5B%5D=5, could not be found. in file system/core/Kohana.php on line 841
2009-07-20 11:17:40 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/dashboard/reorder?csrf=ac8ec178b991d9c3aa0c95d720429c6e&dashboard_center%5B%5D=6&dashboard_center%5B%5D=7&dashboard_center%5B%5D=8&dashboard_center%5B%5D=9&dashboard_sidebar%5B%5D=2&dashboard_sidebar%5B%5D=3&dashboard_sidebar%5B%5D=4&dashboard_sidebar%5B%5D=5, could not be found. in file system/core/Kohana.php on line 841
2009-07-20 11:17:41 -05:00 --- error: Uncaught Kohana_404_Exception: The page you requested, admin/dashboard/reorder?csrf=ac8ec178b991d9c3aa0c95d720429c6e&dashboard_center%5B%5D=6&dashboard_center%5B%5D=7&dashboard_center%5B%5D=8&dashboard_center%5B%5D=9&dashboard_sidebar%5B%5D=2&dashboard_sidebar%5B%5D=3&dashboard_sidebar%5B%5D=4&dashboard_sidebar%5B%5D=5, could not be found. in file system/core/Kohana.php on line 841

Login or register to post comments
skunker

Joined: 2005-02-04
Posts: 298
Posted: Thu, 2009-07-23 20:40

Can someone please help me with the above error? I'm stuck here...can't move forward on the beta. thanks. My server admin wont' let me do: suhosin.session.encrypt = Off

Should I find another host?

Login or register to post comments
bharat
bharat's picture

Joined: 2002-05-21
Posts: 6103
Posted: Thu, 2009-07-23 21:25

I'm surprised that your admin won't let you do that for just your virtual host. As far as I can tell, there's no way for us to circumvent that and still use the flash uploader. If anybody knows of a solution, I'd love to hear it.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

Login or register to post comments
skunker

Joined: 2005-02-04
Posts: 298
Posted: Fri, 2009-07-24 18:41

My admin ended up commenting out suhosin in php v5. That seemed to work!

UPDATE: It seems that the culprit was Imagemagick. After I deactivated it, I selected GD and now my photos appear! It may not be suhosin after all....

Login or register to post comments
bharat
bharat's picture

Joined: 2002-05-21
Posts: 6103
Posted: Thu, 2009-07-30 19:08

That makes sense if suhosin was in emulation mode. We can't detect the difference (or at least not yet) but it shouldn't break stuff.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

Login or register to post comments