php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39860 PHP returns a blank page
Submitted: 2006-12-18 03:19 UTC Modified: 2006-12-18 08:03 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: j dot hakvoort at publiceren dot net Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.0 OS: Linux
Private report: No CVE-ID: None
 [2006-12-18 03:19 UTC] j dot hakvoort at publiceren dot net
Description:
------------
CMD php index.php on MediaWiki for example does not return anything (blank)

While if you would start the script with a parameter to edit a wiki article it would serve the edit page. If you save it the new page will will be loaded but if you then refresh the page it will be 404 (blank).

This does not only occur with MediaWiki but also on my vBulletin forums wich sometimes return a blank screen or 404. This does not occur always but sometimes on the forum while on MediaWiki the index always returns a blank screen.

My host has already completely reinstalled PHP 5.2.0 and it still returns the same errors.

I did not change anything in MediaWiki or vBulletin so it must be related to PHP.

My host is reall verry experienced and knows what they are doing. PHP has been installed 2 times now by 2 difrent techs during the past 10 hours.

Is this a known bug? Please help!

Best Regards,
Jan Jaap

Reproduce code:
---------------
http://www.celebrityprofiler.com/ (MediaWiki)
http://www.papegaaienforum.nl/ (vBulletin forum, just click arround a few times untill a 404 is given)

Expected result:
----------------
Blank screen (no output) wich is interpreted by IE as 404.

Actual result:
--------------
Serving the script.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-18 03:30 UTC] judas dot iscariote at gmail dot com
enable display_errors=On , disable all third party extensions, mediawiki works perfectly with php 5.2.0 , most likely not a PHP problem.
 [2006-12-18 03:34 UTC] j dot hakvoort at publiceren dot net
Hi!

It's not about MediaWiki! It allso affects vBulletin and most likely other PHP scripts.

It's a default PHP instalation so it should work!

Error reporting has been enabled however, but before it was enabled it didn't work either.

Best Regards,
Jan Jaap
 [2006-12-18 03:38 UTC] j dot hakvoort at publiceren dot net
Ok! 

Adding display_errors=On did it! Now it works! :)

So this might be a real bug, since display_errors=On isn't enabled by default and I presume it shouldn't cause script failure (returning nothing) of any kind when disabled.
 [2006-12-18 04:33 UTC] j dot hakvoort at publiceren dot net
Ok, I was to quick with my reply, it seems to be related to ZEND.

This is my configuration in PHP.ini:

;[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.0
zend_optimizer.version=3.2.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

When this is disabled, it does work!

Please help!!

Best Regards,
Jan Jaap
 [2006-12-18 08:03 UTC] derick@php.net
Do not file bugs when you have Zend extensions (zend_extension=)
loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache,
APC, Xdebug and ionCube loader.  These extensions often modify engine
behavior which is not related to PHP itself.

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 17:01:27 2025 UTC