1 of 2
1
Forum, no author displayed in “latest post info” column
Posted: 27 August 2008 04:34 AM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

For some reason I am getting no author being displayed sometimes in the Latest Post Info column in the front page of the forums.

I have modified the forum php files, so i assumed it was that but I swapped them back to the originals and I am still getting the problem (i’ve since swapped back to my hacked forum).

I also seems to be happening in my public forums rather than the hidden forum.

Running 20080710 build which is the latest.

You can visit the forum here, it parses link tag to their profile but not their name.

Any Ideas?

Profile
 
 
Posted: 27 August 2008 07:18 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

Weird- looks like forum is 2.1.0 (20080710).  Hm- can you toss up one of the other templates so it shows in the style flipper.  Know you already tested, but it’s just really weird and I want to see if in another theme.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 27 August 2008 07:30 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

I should mention that I have hacked the actual module php files so the member profile links point to custom member profiles (solspace’s User module).

However, I have have just uploaded the original forum files (member links point to ee templates now) and there is a choice for the original EE Default theme.

Can you let me know once you’ve had a look so i can revert back to the hacked forums.

Profile
 
 
Posted: 27 August 2008 07:34 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

Hmm, I just reset my screen name in the “my account” section of control panel and it is displaying “Tom” now for 2 of the 3 forums.

I did import a load of members into a clean install of EE.  Do you think that might be an issue at all?

Profile
 
 
Posted: 27 August 2008 07:35 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

Cool- I looked and copied the link w/missing title.

Hm- but to trouble shoot, really need to be working from stock forum files.  If this was a widespread bug, I should have seen it before.  And I don’t recall doing so.

I know you don’t like having the goofed up urls, but in truth, for a good debug I’d suggest grabbing a fresh copy of the forums from your download area, deleting the current modules/forum folder, and putting up the fresh copy.  Best way to see if there is something in your code causing it.  (Plus I’ll be looking at stock code to debug, so if you’re running a different code base, it’s going to create difficulties.)

You could leave current forum folder up there- just rename forum_bk for the moment and upload a fresh one.  Will hose the ‘module’ tab, but it’s short term, so no biggie.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 27 August 2008 07:41 AM   [ Ignore ]   [ # 5 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

The forum you just saw is working from stock files.  I’ve swapped it with my hacked version for this debug…

Did you see my post above (kind of posted it at the same you did your reply)?  I resaved my display name in the CP and now it appears on the site! 

I imported the members for this site from another install of EE, could that be an issue?

Profile
 
 
Posted: 27 August 2008 07:44 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

also I should point out this error seems to come and go.  So now ive posted a few test posts its not showing up (eg forum is working correctly, but i’ve seen this bug happen a couple times) :/

Profile
 
 
Posted: 27 August 2008 07:48 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

Crud- no, we did x-post on that one.  The resave thing is… weird.  It is looking db related- particularly since some members were imported.  Though- names show fine elsewhere.  But- do me this- go check the db in whatever- ‘Admin- Utilities- SQL Manager- Manage DB Tables’ is fine.  How many rows do you have for exp_members, exp_member_homepage and exp_member_data?

And if it’s important, can go ahead and flip hacked files back in.  We’ll poke the db for a bit and see what we find.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 27 August 2008 08:01 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

All three are 70.

I think it was a forum posts and members import.  As i was merging a forum into a small EE site that had no members.

I have no idea how to replicate the bug either.  I’ve tried posting new threads, deleting threads and moving threads, but it’s currently displaying the names as expected.  But I posted a new thread a day ago and my name didn’t show up on the front page until I changed my display name today.  What’s even stranger is i have seen it where it will display my name in the “lasted post” column on one forum but not another!

I’ve gone back to using my hacked versions now.  I’ll let you know if i figure anything else out!

Profile
 
 
Posted: 27 August 2008 08:10 AM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

Yea- the intermittent nature is really weird- and it’s only the front page where they don’t show (sometimes)- right?  Hm- could do a search, see if maybe they don’t have a screen name.  Can’t remember if EE creates on login if left blank or not.  Still- wouldn’t hurt to check.

SELECT * FROM exp_members WHERE screen_name = ''


But… the coming and going thing is just really odd.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 27 August 2008 08:18 AM   [ Ignore ]   [ # 10 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

query gave no results.

I think EE sets the screen_name to the username if it’s left blank.  My screen name is different from my username and the bug has happened with me. 

But yeah it is really odd.

Profile
 
 
Posted: 27 August 2008 05:00 PM   [ Ignore ]   [ # 11 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32861
Joined  05-14-2004

Joobs, are you running any extensions?

 Signature 
Profile
MSG
 
 
Posted: 27 August 2008 05:08 PM   [ Ignore ]   [ # 12 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

yes..

Solspace User
LG file Upload
Solspace Tag

Although i think upload and tag were installed after I first noticed this.

Profile
 
 
Posted: 27 August 2008 05:10 PM   [ Ignore ]   [ # 13 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32861
Joined  05-14-2004

Can you try disabling all extensions (green button in the upper right; you won’t lose your settings unless you disable them individually) and see if you can reproduce this while extension-free, please?

 Signature 
Profile
MSG
 
 
Posted: 27 August 2008 05:24 PM   [ Ignore ]   [ # 14 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

Hmm, I’m not sure I can really do that.  The fault seems to happen randomly and is something i’ve just noticed now and again over a period of a few weeks (which is too long for extensions to be off).

I could wait till i notice it again, and then turn extensions off and on to see if it switches the names on/off.

Profile
 
 
Posted: 29 August 2008 02:58 PM   [ Ignore ]   [ # 15 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Yes, please do that and let us have your results.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 29 August 2008 03:50 PM   [ Ignore ]   [ # 16 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32861
Joined  05-14-2004

Joobs, you did a member import on this yes? Did you use the member import utility?

 Signature 
Profile
MSG
 
 
Posted: 29 August 2008 03:54 PM   [ Ignore ]   [ # 17 ]  
Lab Assistant
RankRank
Total Posts:  271
Joined  07-04-2007

I can’t actually remember how I imported the members…

I would of used the utility or maybe overwritten the member tables since the other site only had one member (admin account). 

Since i imported members and forum posts to this other site, i assume it was a database dump of the forum and members related tables.  I can see why this might cause errors but if it was at fault why would errors only be happening intermittently?

Profile
 
 
Posted: 29 August 2008 04:12 PM   [ Ignore ]   [ # 18 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32861
Joined  05-14-2004

Can you check that exp_members and exp_members_data have the same number of rows?

 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: 64912 Total Logged-in Users: 29
Total Topics: 81863 Total Anonymous Users: 15
Total Replies: 440099 Total Guests: 196
Total Posts: 521962    
Members ( View Memberlist )
Newest Members:  bjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcfthenetmonkeybenekwhobutsb