1

Topic: problem after php update from 5.3.5-5.16.1 to 5.3.5-5.214.1

Hallo,

after php security update yesterday to php 5.3.5-5.214.1 the ImageManager have no function and the server load grows up. No images (tumbs) were load.
No changes in php.ini
Return to php 5.3.5-5.16.1 no problems.


PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /imagemanager/classes/Utils/JSON.php on line 353, referer: /imagemanager/pages/im/index.html

PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /imagemanager/classes/Utils/JSON.php on line 246, referer: /imagemanager/pages/im/index.html

PHP Fatal error:  Maximum execution time of 300 seconds exceeded in /imagemanager/classes/Utils/JSON.php on line 234, referer: /imagemanager/pages/im/upload.html

Has anyone same problems after php security update?

VERSION of JSON.php
JSON.php 149 2007-11-06 11:24:58Z spocke

Thank you.

Last edited by dwwolfi (2012-04-01 20:37:08)

2

Re: problem after php update from 5.3.5-5.16.1 to 5.3.5-5.214.1

Hmm, can't seem to install that specific version since it seems to be a security fix for RPM based linux versions we use debian/ubuntu and windows for testing/deveopment.

So you have an FTP to where this is installed so I can try to fix it from here?

Best regards,
Spocke - Main developer of TinyMCE

3

Re: problem after php update from 5.3.5-5.16.1 to 5.3.5-5.214.1

solved.

The problem was magic_quotes_gpc in the php.ini.

In my php.ini magic_quotes_gpc = On
And here Imagemanger works not with php security update.
When I change the magic_quotes_gpc = Off
All works fine.

Workaround for users who have to set magic_quotes_gpc = On in php.ini

set a .htaccess file in the /imagemanager directory with the following line:

# Disable magic_quotes_gpc
php_flag magic_quotes_gpc off

Last edited by dwwolfi (2012-04-06 15:50:47)

4

Re: problem after php update from 5.3.5-5.16.1 to 5.3.5-5.214.1

Nice to hear that.

Best regards,
Spocke - Main developer of TinyMCE

5

Re: problem after php update from 5.3.5-5.16.1 to 5.3.5-5.214.1

i have a problem , where is file php.ini ? i edit to file ?I used E107 PROBLEM ImageManager have no function and the server load grows up. No images (tumbs) were load.