[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 Uwe Kaminski ju...@ju-key.de changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #12 from Uwe Kaminski ju...@ju-key.de 2012-02-16 08:46:54 UTC --- You are right, thanks. I did not know that I had to restart apache every time I changed the php.ini Now I'm facing other problems but that's an other story (see Bug 34437 ) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 --- Comment #13 from Antoine hashar Musso has...@free.fr 2012-02-16 08:56:07 UTC --- (In reply to comment #12) You are right, thanks. I did not know that I had to restart apache every time I changed the php.ini Ooops forgot to ask you to do that :-) It is great to know that this issue is solved for you. Enjoy your MediaWiki installation. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 Max Semenik maxsem.w...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED CC||maxsem.w...@gmail.com Resolution||INVALID --- Comment #9 from Max Semenik maxsem.w...@gmail.com 2012-02-15 17:39:10 UTC --- Re-closing, this is not a Suhosin support forum. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 --- Comment #10 from Uwe Kaminski ju...@ju-key.de 2012-02-15 19:16:16 UTC --- Ok, so this extension does not work and you assume it's a suhosin issue. What makes you sure regarding this? Did you read all the comments? IMHO a bug should be closed if it's sure that something out of reach causes the error. In this case all we have is an assumption so I would like to see this bug reopened. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 --- Comment #11 from Max Semenik maxsem.w...@gmail.com 2012-02-15 19:49:47 UTC --- Yes, I've read everything. The error is generated by Suhosin and absolutely certainly not by PHP/MediaWiki. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 Antoine hashar Musso has...@free.fr changed: What|Removed |Added CC||has...@free.fr Summary|Blank page after activating |Blank page after activating |this extension |MobileFrontend --- Comment #1 from Antoine hashar Musso has...@free.fr 2012-02-14 09:34:28 UTC --- Blank page means there has been a server side error. Please have a look at your web server error log which should contains hints :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 --- Comment #2 from Uwe Kaminski ju...@ju-key.de 2012-02-14 10:19:37 UTC --- Thanks. The error.log contains this entry if MobileFrontend is active: [Mon Feb 13 18:41:48 2012] [error] [client 88.128.4.213] FastCGI: server /srv/www/fcgi/n9wiki.de/php5/php-fcgi-starter stderr: ALERT - maximum execution depth reached - script terminated (attacker '88.128.4.213', file '/srv/www/n9wiki.de/http/index.php') There seems to be no other information in the other error logs (e.g.: php-error.log) I checked. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 --- Comment #3 from Uwe Kaminski ju...@ju-key.de 2012-02-14 10:20:26 UTC --- I suggest to raise the importance of this bug as it makes the whole installation unusable. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 --- Comment #4 from Patrick Reilly prei...@wikimedia.org 2012-02-14 10:43:47 UTC --- (In reply to comment #3) I suggest to raise the importance of this bug as it makes the whole installation unusable. Do you have memcached installed and activated with your mediawiki installation? If you don't you need to change the WURFL configuration. Change this section of the wurfl-config.xml file located in /extensions/MobileFrontend/library/resources/wurfl-config.xml: persistence providerfile/provider paramsdir=/tmp/wurfl/params /persistence -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 Antoine hashar Musso has...@free.fr changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Comment #5 from Antoine hashar Musso has...@free.fr 2012-02-14 10:44:04 UTC --- You server has a suhosin.executor.max_depth value which is too low for that extension. The default is 0 (aka disabled) according to http://www.hardened-php.net/suhosin/configuration.html#suhosin.executor.max_depth So you should raise that value wherever it could be set (probably /etc/php.ini ). Marking bug as worksforme since it seems to be a local issue. Please reopen if the above hint does not solve the issue for you :-] -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 --- Comment #6 from Patrick Reilly prei...@wikimedia.org 2012-02-14 10:49:28 UTC --- (In reply to comment #2) Thanks. The error.log contains this entry if MobileFrontend is active: [Mon Feb 13 18:41:48 2012] [error] [client 88.128.4.213] FastCGI: server /srv/www/fcgi/n9wiki.de/php5/php-fcgi-starter stderr: ALERT - maximum execution depth reached - script terminated (attacker '88.128.4.213', file '/srv/www/n9wiki.de/http/index.php') You also you can disable Hardened-PHP / Suhosin or change: suhosin.executor.max_depth One possible solution is to set these values in a .htaccess file: php_value suhosin.executor.max_depth 0 php_flag suhosin.simulation On - The first one deactivates the maximum execution depth. - The second one sets Suhosin to simulation mode (not needed) There seems to be no other information in the other error logs (e.g.: php-error.log) I checked. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 Uwe Kaminski ju...@ju-key.de changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME | --- Comment #7 from Uwe Kaminski ju...@ju-key.de 2012-02-14 17:35:41 UTC --- (In reply to comment #5) You server has a suhosin.executor.max_depth value which is too low for that extension. The default is 0 (aka disabled) according to http://www.hardened-php.net/suhosin/configuration.html#suhosin.executor.max_depth So you should raise that value wherever it could be set (probably /etc/php.ini ). Marking bug as worksforme since it seems to be a local issue. Please reopen if the above hint does not solve the issue for you :-] The file was located in /etc/php5/cgi/php.ini It contains: --- extension=suhosin.so [suhosin] suhosin.simulation=Off suhosin.log.syslog=511 suhosin.log.syslog.facility=9 suhosin.log.syslog.priority=5 suhosin.executor.max_depth=50 suhosin.executor.func.blacklist=system,exec,passthru,proc_open,shell_exec suhosin.executor.disable_eval=Off suhosin.session.encrypt=On suhosin.post.max_vars=1000 suhosin.request.max_vars=1000 --- I tried the values: suhosin.executor.max_depth=50 suhosin.executor.max_depth=500 suhosin.executor.max_depth=0 but every time I did I got the same error as described: [Mon Feb 13 18:41:48 2012] [error] [client 88.128.4.213] FastCGI: server /srv/www/fcgi/n9wiki.de/php5/php-fcgi-starter stderr: ALERT - maximum execution depth reached - script terminated (attacker '88.128.4.213', file '/srv/www/n9wiki.de/http/index.php') Hence reopening this bug. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 34388] Blank page after activating MobileFrontend
https://bugzilla.wikimedia.org/show_bug.cgi?id=34388 --- Comment #8 from Uwe Kaminski ju...@ju-key.de 2012-02-14 17:45:24 UTC --- (In reply to comment #6) (In reply to comment #2) Thanks. The error.log contains this entry if MobileFrontend is active: [Mon Feb 13 18:41:48 2012] [error] [client 88.128.4.213] FastCGI: server /srv/www/fcgi/n9wiki.de/php5/php-fcgi-starter stderr: ALERT - maximum execution depth reached - script terminated (attacker '88.128.4.213', file '/srv/www/n9wiki.de/http/index.php') You also you can disable Hardened-PHP / Suhosin or change: suhosin.executor.max_depth One possible solution is to set these values in a .htaccess file: php_value suhosin.executor.max_depth 0 php_flag suhosin.simulation On - The first one deactivates the maximum execution depth. - The second one sets Suhosin to simulation mode (not needed) I created a .htaccess in the directory containing the LocalSetting.php The only entries in this .htaccess file where the both lines from above. The result was an internal server error. Then I tried both lines above one separately and got this error in the log: [Tue Feb 14 18:29:30 2012] [error] [client 88.128.153.176] FastCGI: server /srv/www/fcgi/n9wiki.de/php5/php-fcgi-starter stderr: ALERT - maximum execution depth reached - script terminated (attacker '88.128.153.176', file '/srv/www/n9wiki.de/http/index.php') [Tue Feb 14 18:40:50 2012] [alert] [client 88.128.153.176] /srv/www/n9wiki.de/http/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration [Tue Feb 14 18:41:31 2012] [alert] [client 88.128.153.176] /srv/www/n9wiki.de/http/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration [Tue Feb 14 18:41:44 2012] [error] [client 88.128.153.176] FastCGI: server /srv/www/fcgi/n9wiki.de/php5/php-fcgi-starter stderr: ALERT - maximum execution depth reached - script terminated (attacker '88.128.153.176', file '/srv/www/n9wiki.de/http/extensions/MobileFrontend/library/WURFL/Handlers/KDDIHandler.php', line 45) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l