FIXED Problem With Header In ACP


Subject: Problem With Header In ACP
Now that phpBBXS is online again (although with a different domain name), I wonder if someone can solve the issue that happens every time I open the ACP: the header above the other two frames is empty because xs2_head.php tries to connect to phpBBXS.com.... I tried modifying this php file replacing phpBBXS.com with phpBBXS.eu but it didn't work :(

Does anyone know how to get through this???

Greetings,

Ramiro

Profile PM  
Subject: Re: Problem With Header In ACP
I think it isn't your problem

and when did it happen?

at first try to optimize the database

clear cache

Subject: Re: Problem With Header In ACP
But, does anyone see the header of the ACP page or is it a blank frame?

Profile PM  
Subject: Re: Problem With Header In ACP
no you don't understand me

the problem is not in url I'm thinking

Subject: Re: Problem With Header In ACP
And what do you think the problem is, 'cause inside the php there are lots of calls to the url, even a sockopen call

Profile PM  
Subject: Re: Problem With Header In ACP
Don't worry... this has been fixed in new XS... please be patient a bit and you will have the new version! :wink:

Subject: Re: Problem With Header In ACP
Ok, I'll try to be patient.... :roll:

Tks

Profile PM  
Subject: 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. :LOL:

Subject: Re: FIXEDProblem With Header In ACP
Great suggestion... added even to next XS.

Thank you very much. :up:

Subject: Re: FIXEDProblem With Header In ACP
Thanks ramarodri, I was looking for that. :)


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1194s (PHP: 16% SQL: 84%)
SQL queries: 10 - Debug Off - GZIP Enabled