eZ Community » Forums » Setup & design » Suhosin & eZPublish
expandshrink

Suhosin & eZPublish

Suhosin & eZPublish

Tuesday 22 December 2009 4:07:12 pm - 7 replies

Hello,

I would like to install php5-suhosin package, on debian server with eZPublish. But i've just a little problem: i've always an ezpublish error when trying to load website:

Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.

Trying to check on log file, but nothing appears..

Its strange because i dont have this problem on specific website (without ez)

Dont know what to change or do to run suhosin with eZ

I use eZPublish 4.2 with,

PHP 5.2.11-0.dotdeb.1 with Suhosin-Patch 0.9.7 (cli) (built: Sep 20 2009 09:41:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH

Thanks

Tuesday 22 December 2009 5:10:23 pm

Hi Philippe

Do the log say something (eZ Publish, Apache, PHP) ? Try to regenerate autoloads

Tuesday 22 December 2009 8:33:12 pm

I'm running the php5-suhosin package on a debian dev machine as a module (and compiled in on other machines) and it works - I've found sometimes suhosin will fatal a process that would otherwise only throw a warning. I see this especially with cli things throwing canary efree errors... but depending on your setup - if you don't display php errors you might end up getting blank pages because of errors that you otherwise would ignore.

Wednesday 23 December 2009 10:29:03 am

Hi Jérôme,

I try this morning again.. clear all cache, restart apache, clear all logs.. i've classical log via eZPublish and juste discover this log on error.log via apache2:

[Wed Dec 23 10:23:26 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.11-0.dotdeb.1 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
[Wed Dec 23 10:23:30 2009] [error] [client 10.0.1.172] ALERT - Include filename ('compress.zlib://var/cache/template/compiled/accueil-11849b87506e2c680bfb48fd184d07a8.php') is an URL that is not allowed (attacker '10.0.1.172', file '/var/www/ezpublish/lib/eztemplate/classes/eztemplatecompiler.php', line 447)
[Wed Dec 23 10:23:30 2009] [error] [client 10.0.1.172] ALERT - Include filename ('compress.zlib://var/cache/template/compiled/debug_toolbar-10f724bfab50caab95b70d940c6854fd.php') is an URL that is not allowed (attacker '10.0.1.172', file '/var/www/ezpublish/lib/eztemplate/classes/eztemplatecompiler.php', line 447)

10.0.1.172 is my local ip. Have u ever seen this message?

HI Steven,

I display all errors and warning via apache2 and cli. Maybe a problem with dotdeb package... dont know.. I ll search more happy.gif Emoticon

Thanks

Wednesday 23 December 2009 2:17:32 pm

Hi Philippe

Quick silly question : is zlib extension available on your PHP configuration ?

Wednesday 23 December 2009 2:19:28 pm

Also, it seems that you activated template compression, did you ? In that cas, try to turn it off (and you'll also have better performance)

Wednesday 23 December 2009 3:03:38 pm

oh damn.. template compression was on true and zlib was on off..

thanks for ur help happy.gif Emoticon

Wednesday 23 December 2009 4:02:01 pm

You're welcome happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from