News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

white screen of death on one board

Started by timned88, September 05, 2009, 01:46:26 AM

Previous topic - Next topic

timned88

http://www.themagicinpixels.com/forum/index.php?topic=5034.0

is giving me a white screen of death.  as far as i know, there are no other boards with that problem.  the main forum is working fine and people are posting up a storm.  i have no idea why that particular page is giving me an issue.  i split it off the end of another thread that was working properly to isolate the problem (ie. pages 1-6 of that thread where fine, page 7 came up white screen of death).

here are the error log entries for that particular board... any help would be much appreciated.

http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: topbottom4
File: /home/themagic/public_html/forum/Sources/Subs.php
Line: 3961

http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: enableShoutBox
File: /home/themagic/public_html/forum/Themes/default/Display.template.php (body_above sub template - eval?)
Line: 514


line 3961 in subs.php reads:
return '<img src="' . $settings['images_url'] . '/buttons/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />' . ($label != '' ? '<b>' . $txt[$label] . '</b>' : '');


line 514 in display.template.php reads:
// How about... even... remove it entirely?!

PLEASE HELP!

tyty1234

Here's what you should do.

Download this mod, delete those two errors, go back to the page where the errors came from, and go back into your error log. Tell me the errors you get afterwards. :)
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Norv

#2
Please post as attachment here your file index.template.php (from ./Themes/{your_theme} directory, if any, or from ./Themes/default directory otherwise).

Does the thread's posts have attachments?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

timned88

Quote from: tyty1234 on September 05, 2009, 04:21:43 AM
Here's what you should do.

Download this mod, delete those two errors, go back to the page where the errors came from, and go back into your error log. Tell me the errors you get afterwards. :)


same error messages as before... with this one now as well...

http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: enableShoutBox
File: /home/themagic/public_html/forum/Themes/default/index.template.php
Line: 514

http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: topbottom4
File: /home/themagic/public_html/forum/Sources/Subs.php
Line: 3961

http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: enableShoutBox
File: /home/themagic/public_html/forum/Themes/default/Display.template.php (body_above sub template - eval?)
Line: 514

timned88

Quote from: Norv on September 05, 2009, 06:51:45 AM
Please post as attachment here your file index.template.php (from ./Themes/{your_theme} directory, if any, or from ./Themes/default directory otherwise).

Does the thread's posts have attachments?

here is the file you requested...  i am sure there are attachments in that thread.  it is a photo forum so that sounds likely.  thanks for your help.


Norv

#5
The errors with undefined indexes, like the ones you listed above, could be fixed. In order to do that, can you please tell, did you have a ShoutBox installed, and which that was? Is it still installed?

However, I doubt these little errors have something to do with the white page on that thread. Rather, it is possible that one or more of the attachments to the posts in that thread got corrupted or otherwise leading PHP into troubles. An option to discover which that (or those) pictures is to try checking Admin > Attachments and avatars > Browse Attachments.
Alternatively, try from the File Maintenance tab, 'Maintain'.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

timned88

i have ajax chat installed, not a shoutbox.  not really sure where that came from as i don't recall ever installing shoutbox.

timned88

as far as i can tell, there are no corrupted attachments in that thread.

Norv

To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

timned88

hi norv, i tried the file that you gave me and it did not work.  same result as before.

here are the new error messages:

   

http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: topbottom4
File: /home/themagic/public_html/forum/Sources/Subs.php
Line: 3961
   
http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: smf251
File: /home/themagic/public_html/forum/Sources/Subs.php
Line: 3961
   
http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: action
File: /home/themagic/public_html/forum/Sources/Load.php
Line: 1330
   
http://www.themagicinpixels.com/forum/index.php?http://www.themagicinpixels.com/forum/
8: Undefined index: action
File: /home/themagic/public_html/forum/Sources/Load.php
Line: 1330

Norv

Actually it seems you have no more errors in Display.template.php, which were the ones that the file could fix. :)

Please post as attachment also ./Sources/Subs.php, ./Sources/Load.php, ./Themes/default/Modifications.english.php. Is your forum language english, or english-utf8 ?

On another note: could you please find and post the webserver's error log? It could be in your host's cpanel.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

timned88

there are no cpanel errors for this.  the forum is english, not uft-8
here are the files that you requested:


Norv

The first two errors seem related to the mod: http://custom.simplemachines.org/mods/index.php?mod=2053
Perhaps you could uninstall it for now, and see if it still happens.

The last is very curious, and I'm not sure what lead to it. Are you sure logging is enabled for the webserver errors, or, in case you are choosing the errors to post, please consider that anything that may put PHP in trouble might be related. A blank page can be due to the PHP engine crashing, and there should be a trace of it.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

timned88

ok, i removed the go up mod but still getting the white screen!  here are the newest error messages!

http://www.themagicinpixels.com/forum/index.php?topic=5034.0
Undefined index: enableShoutBox
File: /home/themagic/public_html/forum/Themes/default/index.template.php
Line: 514
   
http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined variable: i
File: /home/themagic/public_html/forum/Themes/default/index.template.php
Line: 739
   
http://www.themagicinpixels.com/forum/index.php?topic=5034.0
8: Undefined index: action
File: /home/themagic/public_html/forum/Sources/Load.php
Line: 1330

http://www.themagicinpixels.com/forum/index.php?http://www.themagicinpixels.com/forum/
8: Undefined index: enableShoutBox
File: /home/themagic/public_html/forum/Themes/default/index.template.php
Line: 514
   
http://www.themagicinpixels.com/forum/index.php?http://www.themagicinpixels.com/forum/
8: Undefined variable: i
File: /home/themagic/public_html/forum/Themes/default/index.template.php
Line: 739
   
http://www.themagicinpixels.com/forum/index.php?http://www.themagicinpixels.com/forum/
8: Undefined index: action
File: /home/themagic/public_html/forum/Sources/Load.php
Line: 1330
   
http://www.themagicinpixels.com/forum/index.php?action=admin;area=logs;sa=errorlog;desc
8: Undefined index: enableShoutBox
File: /home/themagic/public_html/forum/Themes/default/index.template.php
Line: 514
   
http://www.themagicinpixels.com/forum/index.php?action=admin;area=logs;sa=errorlog;desc
8: Undefined variable: i
File: /home/themagic/public_html/forum/Themes/default/index.template.php
Line: 739

Norv

Can you please tell, are you by any chance using again the original ./Themes/default/index.template.php file? Post it here.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

timned88

i did try it with a clean version of index.template.php straight from the large installer.  still no dice.

Norv

Please try, in phpmyadmin or another database management tool offered by your host, this SQL code:

update smf_attachments as a, smf_messages set a.approved = 0 where a.id_msg = smf_messages.id_msg and smf_messages.id_topic = 5034

(replace "smf_" with your actual database prefix).
then, try to see the topic as guest.
The above code attempts to set all attachments in that particular topic as not-approved, thus as guest one should be able to access the topic without displayed attachments.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

gbsothere

*watching and trying to learn*


I wonder if just deleting that topic you split off (topic=5034.0, pages 7...) would right things?  But, since it's a photo site, I would suppose you'd rather save it, if you can.
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Norv

Quote from: gbsothere on September 05, 2009, 05:39:45 PM
I wonder if just deleting that topic you split off (topic=5034.0, pages 7...) would right things?  But, since it's a photo site, I would suppose you'd rather save it, if you can.
Quite surely it would, though I hope we can get to the bottom of this with a minimum of losses. I would actually try to separate the attached images (put them elsewhere), for the moment, but that's a little difficult to explain, and the Browse attachments interface is not that refined...
Though, perhaps running its Attachments and Avatars > File Maintenance > Maintain tool will help.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

timned88

the sql query did not work.  i tried the file maintenance thing and i just kept spinning in circles not appeared to do anything.  just kept counting down, refreshing, but never got past 1%.  i let it run for a few mins like that.

i do thank you for your patience with this.  hopefully the end is in sight!

Advertisement: