1 of 2
1
Blank page after log in
Posted: 19 December 2005 07:42 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  139
Joined  10-20-2002

This is a truly bizzarre situation.  I was re-arranging things in my sidebar.  I logged out.  Upon logging back in (on the blog, not the control panel) I got a blank page.  literally blank, nothing in the source either.

I went back and reverted to the old templates.  No fix.  I have now gone so far as to revert to a backup of the entire database, and I still get a blank page when I log in anywhere on the blog…even in the forums.

HELP!

*Added - Also, if you try to register, the page goes blank upon submission.

Profile
 
 
Posted: 19 December 2005 08:25 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23485
Joined  05-20-2002

To be clear in my own head:

1.  You can log into the CP and view the backend;
2.  You can view the frontend- index etc- if logged out;
3.  If logged in, you can NOT view the front end;
4.  This definitely did NOT happen before you re-arranged things- anything else change during this time?

All of that correct?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 19 December 2005 08:32 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  139
Joined  10-20-2002
rob1 - 19 December 2005 08:25 AM

To be clear in my own head:

1.  You can log into the CP and view the backend;
2.  You can view the frontend- index etc- if logged out;
3.  If logged in, you can NOT view the front end;
4.  This definitely did NOT happen before you re-arranged things- anything else change during this time?

All of that correct?

Yes to all, and no other changes.  Now, the odd thing is, I reverted back to a backup database, so all the changes I made were wiped out anyway…and yet it is still happening.  So obviously I missed something.

I cleared caches (both on my machine and in EE), I changed browsers and even changed computers.  Same behavior every time.

Wait, one other thing.  I updated the blacklist.  I don’t think it matters, but I figured I’d better note it.

Profile
 
 
Posted: 19 December 2005 08:48 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23485
Joined  05-20-2002

Heh- just registered, and yea- see what you mean.  It’s got to be some odd access restriction- and the reason the page is blank after login is because it redirects to your index page. 

Things to try/check:
1. - delete your blacklist (save a copy if you’ve added to it)- make sure it’s removed from .htaccess as well if you’re using it;
2.  In ‘Templates’- double check that folks have access to your index page and any embeds, etc;
3.  Inside the template, make sure you don’t have any conditionals based on group_id or any other member variable.  Just clean them out (saving an old version of the template).

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 19 December 2005 08:58 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  139
Joined  10-20-2002
rob1 - 19 December 2005 08:48 AM

Heh- just registered, and yea- see what you mean.  It’s got to be some odd access restriction- and the reason the page is blank after login is because it redirects to your index page. 

Things to try/check:
1. - delete your blacklist (save a copy if you’ve added to it)- make sure it’s removed from .htaccess as well if you’re using it;
2.  In ‘Templates’- double check that folks have access to your index page and any embeds, etc;
3.  Inside the template, make sure you don’t have any conditionals based on group_id or any other member variable.  Just clean them out (saving an old version of the template).

Well, I deleted the blacklist.  I checked for conditionals and permissions.  It didn’t help.

Profile
 
 
Posted: 19 December 2005 09:08 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23485
Joined  05-20-2002

stark- do you have error reporting turned on?  (Admin- System Prefs - Output and Debugging Preferences) - should be some sort of error message showing.  Also might try creating a test template- just stick ‘hello world’ on it and go to mysite.com/index.php/weblog/test - see if it shows while logged in.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 19 December 2005 09:17 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  139
Joined  10-20-2002
rob1 - 19 December 2005 09:08 AM

stark- do you have error reporting turned on?  (Admin- System Prefs - Output and Debugging Preferences) - should be some sort of error message showing.  Also might try creating a test template- just stick ‘hello world’ on it and go to mysite.com/index.php/weblog/test - see if it shows while logged in.

Yes, it’s on, there are no errors coming back…the blog itself refuses to let me log in.

I have an entire other set of templates (I was playing with the idea of a new design based on tinyred) and that displays the same behavior.

I just removed the sidebar altogether and put ONLY the same weblog code that ahs been working for ages, code I DID NOT ALTER, and it is still doing the same thing.

Profile
 
 
Posted: 19 December 2005 09:33 AM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  139
Joined  10-20-2002

Could this be some weird database corruption?  I have tried literally dozens of things at this point and nothing is fixing this problem.

*ADDED - http://right-thoughts.us/index.php/tinyred/index/ <- I didn’t change a thing in these templates.  Same problem.

Profile
 
 
Posted: 19 December 2005 09:34 AM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23485
Joined  05-20-2002

stark- if you want to email me admin level account info so I can log into the backend and see what’s up, I’ll take a look.  I’ve run through the obvious issues I can think of.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 02 January 2006 06:03 PM   [ Ignore ]   [ # 9 ]  
Grad Student
Rank
Total Posts:  35
Joined  12-02-2005

Stark not to jump in on this one but did you ever find the cause for this I am experiencing the same issue.

J.Brown

Profile
 
 
Posted: 05 January 2006 03:24 PM   [ Ignore ]   [ # 10 ]  
Summer Student
Avatar
Total Posts:  23
Joined  05-16-2004

I’m seeing the same problem.  It happened recently and I can’t remember changing anything.

Any insights people?

Tom
www.dbreakfast.com

 Signature 

Regards,
Tom

http://feeds.feedburner.com/dbreakfast.gif

Profile
 
 
Posted: 05 January 2006 06:10 PM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2541
Joined  12-21-2001

A blank page generally means a problem with your path.php file or your config.php file.  PHP is running into a fatal error, so it’s halting, and since EE (for security reasons) doesn’t show errors unless you are logged in, you’re getting a blank page.

Open your index.php file (the one for the control panel) and set this:

error_reporting(0);

To this:

error_reporting(E_ALL);

You should then see some error messages.

 Signature 
Profile
MSG
 
 
Posted: 05 January 2006 09:13 PM   [ Ignore ]   [ # 12 ]  
Summer Student
Avatar
Total Posts:  23
Joined  05-16-2004

Ok, i’m stupid.  Is it the index.php thats on my base URL, www.dbreakfast.com/index.php?  If not, where would I find the control panel index.php?

Now my comments have disappeared too (this happened during the upgrade from 1.3.2 to 1.4).

Tom

 Signature 

Regards,
Tom

http://feeds.feedburner.com/dbreakfast.gif

Profile
 
 
Posted: 05 January 2006 09:14 PM   [ Ignore ]   [ # 13 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

The control panel index is the one in your system directory (whatever you renamed it to).

 Signature 
Profile
MSG
 
 
Posted: 06 January 2006 05:40 AM   [ Ignore ]   [ # 14 ]  
Summer Student
Avatar
Total Posts:  23
Joined  05-16-2004

Ok

I replaced error_reporting(0);

To this:

error_reporting(E_ALL);

and I still get a blank page.  I expected to get a dump of what’s wrong.

This is really strange.  My trackbacks and comments have disappeared, comments aren’t functioning from the permalink webpage, and the member login goes to a blank page.

Please comment.

 Signature 

Regards,
Tom

http://feeds.feedburner.com/dbreakfast.gif

Profile
 
 
Posted: 06 January 2006 11:34 AM   [ Ignore ]   [ # 15 ]  
Summer Student
Avatar
Total Posts:  23
Joined  05-16-2004

Ok I get the following from trying to post a comment:

1
SELECT whitelisted_type, whitelisted_value FROM exp_whitelisted WHERE whitelisted_value != ‘’
2 SELECT blacklisted_type, blacklisted_value FROM exp_blacklisted
3 SELECT member_id, admin_sess, last_activity FROM exp_sessions WHERE session_id = ‘da452248fda48416206866f4255c8a8aac7bf6e9’ AND ip_address = ‘63.150.111.202’ AND user_agent = ‘Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv’
4 SELECT m.weblog_id, m.tmpl_group_id, m.username, m.screen_name, m.member_id, m.email, m.url, m.location, m.last_visit, m.last_activity, m.total_entries, m.total_comments, m.total_forum_posts, m.total_forum_topics, m.last_forum_post_date, m.language, m.timezone, m.daylight_savings, m.time_format, m.profile_theme, m.forum_theme, m.private_messages, m.accept_messages, m.display_signatures, m.display_avatars, m.last_email_date, m.notify_by_default, g.* FROM exp_members AS m, exp_member_groups AS g WHERE unique_id = ‘a93633a29f8e358487e7fc5e8b0db854de2a2629’ AND password = ‘e496d4414a1f943ae6720c5cbca312eb51e026f6’ AND m.group_id = g.group_id
5 UPDATE `exp_sessions` SET `session_id` = ‘da452248fda48416206866f4255c8a8aac7bf6e9’, `member_id` = ‘2’, `admin_sess` = ‘1’, `ip_address` = ‘63.150.111.202’, `user_agent` = ‘Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv’, `last_activity` = ‘1136597484’ WHERE session_id =‘da452248fda48416206866f4255c8a8aac7bf6e9’

Any help is greatly appreciated!!!

Tom

 Signature 

Regards,
Tom

http://feeds.feedburner.com/dbreakfast.gif

Profile
 
 
Posted: 06 January 2006 12:28 PM   [ Ignore ]   [ # 16 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2541
Joined  12-21-2001

Based on the post saying that the control panel was blank I suggested changing the CP file as indicated.  Doing so, however, won’t show errors if you are loading your site pages.  You’ll need to make the same change in your site index.php file.

 Signature 
Profile
MSG
 
 
Posted: 06 January 2006 01:01 PM   [ Ignore ]   [ # 17 ]  
Summer Student
Avatar
Total Posts:  23
Joined  05-16-2004

Ok, I’ve made the changes to the index.php in my base URL directory.  Now I get a large dump which I have to attach as a text file since the forum is restricted to 6000 characters.

Please comment.

If this persists, should I try to reinstall version 1.4?

Thanks,
Tom

File Attachments
indexdump.txt  (File Size: 7KB - Downloads: 45)
 Signature 

Regards,
Tom

http://feeds.feedburner.com/dbreakfast.gif

Profile
 
 
Posted: 06 January 2006 02:05 PM   [ Ignore ]   [ # 18 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2541
Joined  12-21-2001

Tom, I assume you have the “show queries” option turned on in your “output and debugging prefs”, which is why EE is showing you the queries it is generating.  Those are not error messages.  The queries are being shown because EE has been instructed to do so.

 Signature 
Profile
MSG
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64532 Total Logged-in Users: 28
Total Topics: 81108 Total Anonymous Users: 18
Total Replies: 436420 Total Guests: 196
Total Posts: 517528    
Members ( View Memberlist )