 Respuesta: Problem With Header In ACP
I've found the key to solve my problem.... The main issue here is that I'm connecting to the internet using a proxy and firewall and the FW doesn't let me open a socket against an ip beyound it (ie. internet), only through the proxy.
Then, when the xs2_head.php code tries to connect to the phpBBXS.com site with the call:
if ($fsock = @fsockopen('***.phpBBXS.com', 80, $errno, $errstr))
the php processor blocks since there is no timeout in the call and the browser keeps trying to execute the code until the PHP timeout expires (configured in php.ini using the max_execution_time parameter).
So the solution to this issue is just to use a fsockopen call including a timeout value lesser than the php timeout. For example:
if ($fsock = @fsockopen('***.phpBBXS.com', 80, $errno, $errstr,10))
This is kind of a patch since the call will still fail if you are behind a FW that blocks socket connections, but at least the header will show with all the buttons except those ones use to upgrade the phpBBXS version.
I hope this solution helps someone else besides me.
|