Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: mrbones - kesäkuu 22, 2011, 02:06:09 IP

Otsikko: One user with partial blank page
Kirjoitti: mrbones - kesäkuu 22, 2011, 02:06:09 IP
I've got one user on my forum (1.1.14) that is getting a partial blank page. He gets my custom header and a 'hello' message, but the body of the page is blank. I've confirmed it with IE and Firefox. I've changed his theme, group and checked the permissions and it is still there. When I check the source of the page, it appears all the forum is there, but just isn't displaying properly in a browser.

I can't recreate the problem. My admin account works ok and so does my test account.

Any ideas?
Otsikko: Re: One user with partial blank page
Kirjoitti: kat - kesäkuu 22, 2011, 02:41:53 IP
If it's only happening to this one user, it's got to be something weird going-down with his computer.

NoScript, perhaps? Does he use that?

Does he run some security software that's being a bit over-zealous?

Can he try a different machine?
Otsikko: Re: One user with partial blank page
Kirjoitti: mrbones - kesäkuu 22, 2011, 03:24:36 IP
He is at another location. When I logon here with his credentials, I see the same thing. When I logon with my admin and test account, no problem at all.
Otsikko: Re: One user with partial blank page
Kirjoitti: Illori - kesäkuu 22, 2011, 03:50:43 IP
can you view the source of the page when logged into his account paste it into a text file and attach it to your next post? also can you post the name and if you know the path to your current default theme as well.
Otsikko: Re: One user with partial blank page
Kirjoitti: mrbones - kesäkuu 22, 2011, 04:47:37 IP
The source is attached.

User name with problem: workman

Theme path: http://www.atvflorida.com/forum/Themes/default

Screen shot attached.
Otsikko: Re: One user with partial blank page
Kirjoitti: Illori - kesäkuu 22, 2011, 04:58:02 IP
best i can suggest at this point is try to get your custom code to be valid and see if that helps check it with http://validator.w3.org/#
Otsikko: Re: One user with partial blank page
Kirjoitti: mrbones - kesäkuu 22, 2011, 05:00:40 IP
Just curious. Why does the theme work with other users but not his?
Otsikko: Re: One user with partial blank page
Kirjoitti: Illori - kesäkuu 22, 2011, 05:02:58 IP
no idea from what i can see.
Otsikko: Re: One user with partial blank page
Kirjoitti: mrbones - kesäkuu 22, 2011, 06:17:34 IP
I guess it's an unsolvable problem.

How can I logout this user so he could at least view the forum as a guest?
Otsikko: Re: One user with partial blank page
Kirjoitti: mrbones - kesäkuu 22, 2011, 06:45:02 IP
I tracked it down to this code in index.template.php

"<tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>"

When changed to "<tr>", the problem with his logon was fixed.
Otsikko: Re: One user with partial blank page
Kirjoitti: kat - kesäkuu 23, 2011, 05:55:34 AP
How incredibly odd.

I'm gonna have to have a rummage and try to figure out why that would happen...
Otsikko: Re: One user with partial blank page
Kirjoitti: MrPhil - kesäkuu 25, 2011, 05:30:46 IP
Lainaus käyttäjältä: mrbones - kesäkuu 22, 2011, 04:47:37 IP
The source is attached.
You were asked for the page source, not a screen shot. In your browser, it will be something like View > Page source. We need to see that to see how much of the page is actually output.

Usually when there's a blank page, that means that PHP encountered a serious error while processing code. Besides providing the source (which is the HTML code your browser works with), check your SMF Error Log and any server error logs (e.g., PHP's error_log files). Look at my sig > FAQs for some debugging information.
Otsikko: Re: One user with partial blank page
Kirjoitti: Illori - kesäkuu 25, 2011, 06:05:30 IP
the source had been attached at one point.
Otsikko: Re: One user with partial blank page
Kirjoitti: mrbones - kesäkuu 25, 2011, 07:58:53 IP
Everything was attached, including the source. I already fixed it myself.