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

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
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

 
floridave
floridave's picture

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

Added a FAQ:
suhosin.session.encrypt

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
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

 
floridave
floridave's picture

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

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

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
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!

 
rafiks
rafiks's picture

Joined: 2009-07-13
Posts: 44
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..

 
rafiks
rafiks's picture

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

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

 
skunker

Joined: 2005-02-04
Posts: 344
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)?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
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!

 
skunker

Joined: 2005-02-04
Posts: 344
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

 
skunker

Joined: 2005-02-04
Posts: 344
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?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
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!

 
skunker

Joined: 2005-02-04
Posts: 344
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....

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
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!

 
kenw

Joined: 2005-08-08
Posts: 10
Posted: Thu, 2010-04-01 23:14

Can I bump this one please.

I have the error given in the first post by yosxik.
My Gallery version is 3.0 RC1.
My web host does not allow setting of php.ini values.
I can see that the default gallery3 .htaccess contains "php_flag suhosin.session.encrypt Off" in the <IfModule mod_php5.c> section.
The FAQ is not helpful, since it seems to be suggesting what is already in .htaccess, (but doesn't say where to put that setting in the file).
My web host uses Fantastico to allow module installation. The version of Gallery it installs is still 2.3.1, so the host guys haven't had to deal with 3.0 yet.
I tried alternating between Imagemagick and GD active. Made no difference.

What other steps can I take? This is a show-stopper for me, and probably for many others.
Sure, I run a server at home, but I want to put Gallery3 onto commercially hosted sites.

 
elpeter

Joined: 2010-04-05
Posts: 1
Posted: Tue, 2010-04-27 10:03
kenw wrote:
Can I bump this one please.

I have the error given in the first post by yosxik.
My Gallery version is 3.0 RC1.
My web host does not allow setting of php.ini values.
I can see that the default gallery3 .htaccess contains "php_flag suhosin.session.encrypt Off" in the <IfModule mod_php5.c> section.
The FAQ is not helpful, since it seems to be suggesting what is already in .htaccess, (but doesn't say where to put that setting in the file).
My web host uses Fantastico to allow module installation. The version of Gallery it installs is still 2.3.1, so the host guys haven't had to deal with 3.0 yet.
I tried alternating between Imagemagick and GD active. Made no difference.

What other steps can I take? This is a show-stopper for me, and probably for many others.
Sure, I run a server at home, but I want to put Gallery3 onto commercially hosted sites.

I have the same problem, Is there any solution?

Thanks!