Previous Thread
Next Thread
Print Thread
Hop To
Joined: Feb 2006
Posts: 24
M
newbie
newbie
M Offline
Joined: Feb 2006
Posts: 24
Can anyone see anything here that would explain why I'm randomly getting blank pages. I think it's the hosting company problem but I can't pin point the problem and this the best I can come up with. If I wait minute and hit refresh it will receive the page.

GET /ubbthreads/ubbthreads.php?ubb=postlist&Board=10&page=1&PHPSESSID=ef88c70e414f92c81ffa9320682a1e6c HTTP/1.1

Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application/x-silverlight, */*

Referer: http://meridianunplugged.com/ubbthreads/

Accept-Language: en-us

UA-CPU: x86

Accept-Encoding: gzip, deflate

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.5.21022; .NET CLR 3.0.04506; MS-RTC LM 8)

Host: meridianunplugged.com

Connection: Keep-Alive

Cookie: ubbt_myid=2; ubbt_key=eaa2f673a9e8530c7b99bb8698452163; MeridianWiki_WIKI_ID=GeorgeMills; PHPSESSID=ef88c70e414f92c81ffa9320682a1e6c; ubbt_mysess=aab9221ab2571018f276769b93ddcb60



HTTP/1.1 200 OK

Date: Fri, 04 Apr 2008 19:32:22 GMT

Server: Apache

X-Powered-By: PHP/4.3.11

Keep-Alive: timeout=5, max=44

Connection: Keep-Alive

Transfer-Encoding: chunked

Content-Type: text/html



0




Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Don't see anything that stands out. Do you have zlib compression enabled in the control panel? I was working on a site a couple days ago that was getting the same thing with zlib compression enabled. Wasn't just the forums, but other php pages that used it had the same thing.

So, there problem was something with zlib, once they disabled it, it was fine. Host is checking into it now. You might try disabling it and seeing if you still get blank pages.

Joined: Feb 2006
Posts: 24
M
newbie
newbie
M Offline
Joined: Feb 2006
Posts: 24
Thanks but it's off.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, you might check to see if there is any info in the webserver error logs maybe?

Joined: Feb 2006
Posts: 24
M
newbie
newbie
M Offline
Joined: Feb 2006
Posts: 24
Ok, I think I may have found the problem.

I'm testing a fix now.

@session_start() was failing. Pain in the butt to track this down, I had to sprinkle trace commands to find it.

See PHP Bug http://bugs.php.net/bug.php?id=25876

My hosting company is running 4.3.11
I'm running ubbthreads 7.2.2

I'm trying one of the work arounds suggested in the bug

Fix is adding one line of code below to ...\lib\ubbthreads.inc.php
.
.
.
// ----------------------
// Start the session here
if (!defined('ALTER') && !defined('IMPORT')) {
session_save_path($config['SESSION_PATH']);
@ini_set("session.save_handler","files"); // Added per PHP Bug work around http://bugs.php.net/bug.php?id=25876
$check = @session_start();
header("Cache-control: private");
}

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
What a pain in the Butt Good Luck wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Feb 2006
Posts: 24
M
newbie
newbie
M Offline
Joined: Feb 2006
Posts: 24
Just wanted to follow up that it does indeed seem to have fixed the problem.

Phew. I had been complaining and complaining to hosting company when it turns out it was not their fault at all.

Last edited by mswlogo_; 04/14/2008 12:26 PM.
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Thanks for sharing wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Lol, well, technically it wasn't the UBB; just a simple bug in PHP which would have been fixed by upgrading (or in this case, hacking the offending file(s))


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2006
Posts: 24
M
newbie
newbie
M Offline
Joined: Feb 2006
Posts: 24
Sorry I didn't think it was so funny. It was a royal b%%ch to find.

It wasn't a "simple bug" when you have very little control over the host, no tracing and no error report from the app.

I could switch to PHP 5 host but that could easily expose other issues. And the only place I previously saw the "blank page" problem was under PHP 5.

I think UBB could make debugging through HTML easier and more sanity checking. A total blank page for this major failure made it really hard to find.

I also don't like blindly upgrading until things work, I like to get to the bottom of things.


Last edited by mswlogo_; 04/14/2008 11:00 PM.
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I wasn't laughing at the bug; I was laughing at you taking blame away from the webhost when it's a bug that'd be fixed by upgrading the service... PHP4 goes beyond PHP4.3.11, in fact, the final version is 4.4.8; so they could retain PHP4 while running the final version in its release tree.

and in any case, your fix seems to be to use iniset; which could just as easily be included in the php.ini on the webhost to "fix" it for all users without it being an issue...

And I'm not sure how well the ubb would be at displaying this error as the error was stopping the preprocessor from running, or rather spewing an error... Then again, if there was an error generated, it'd also be in your error logs on your server...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2006
Posts: 24
M
newbie
newbie
M Offline
Joined: Feb 2006
Posts: 24
There is no trace that the bug was even fixed in PHP 4 that I could tell. Bug was never assigned or acknowledged.

I just noticed a few folks reporting it against PHP 5.2.5

Last edited by mswlogo_; 04/15/2008 12:43 AM.

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
2 members (DennyP, 1 invisible), 969 guests, and 171 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)