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: How can I solve this problem?? Yosxik:- http://comwebmt.com |
|
Posts: 16504
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
Posts: 27300
Added a FAQ:
suhosin.session.encrypt
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 2
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
Posts: 27300
@Error 406:
http://gallery.menalto.com/node/88308
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7994
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!
Posts: 44
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..
Posts: 44
I restarted the computer ..It is working now..!
Posts: 344
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)?
Posts: 7994
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!
Posts: 344
<?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
Posts: 344
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?
Posts: 7994
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!
Posts: 344
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....
Posts: 7994
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!
Posts: 10
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.
Posts: 1
I have the same problem, Is there any solution?
Thanks!