Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: bgranstrom on January 17, 2012, 02:12:58 PM

Title: White Topic pages
Post by: bgranstrom on January 17, 2012, 02:12:58 PM
All topics on my forums show as a blank white page.  I cleaned out the error log and tried to go to a topic to see if it would generate an error in the log but no luck.  Everything else seems to be fine as far as I can tell.

forum address: http://forum.frenemylogicians.com

list of mods:
1. reCAPTCHA for SMF    0.9.8a
2. Recount Member Posts    1.0.2
3. PM Readed    1.1
4. View Only Boards    1.2c
5. Quick Translation    0.7
6. Custom Board Sort    1.0.2
7. Delete Spam Posts    1.6
8. Slashout Banned Members    1.2
9. Google Member Map    1.0 beta 4
10. Country Flags    2.0
11. Sorted Package Manager Listing    1.0.2
12. TopicRenamer    2.2
13. Embed BBCode    1.5
14. Ban List    2.0
15. Images on Print Page    1.1
16. RedirectPage    2.6
17. Referrals System    3.0.3
18. Attention Locked Topic    1.0
19. Welcome Topic Mod    2.1
20. Event Reminder Mod for SMF2    2.04
21. Member Notepad    1.0.1
22. Temars EVE API    1.2.1

Any help would be greatly appreciated.
Title: Re: White Topic pages
Post by: Illori on January 17, 2012, 02:13:40 PM
any errors in your server error log?
Title: Re: White Topic pages
Post by: bgranstrom on January 17, 2012, 02:21:17 PM
[Tue Jan 17 13:18:17 2012] [error] [client 128.104.197.36] PHP Fatal error:  Cannot redeclare detect_spider() (previously declared in /home/virtual/site3/fst/home/forum/public_html/Sources/Display.php:67) in /home/virtual/site3/fst/home/forum/public_html/Sources/Display.php on line 107, referer: http://forum.frenemylogicians.com//index.php/board,17.0.html
[Tue Jan 17 13:18:17 2012] [error] [client 128.104.197.36] PHP Fatal error:  Cannot redeclare detect_spider() (previously declared in /home/virtual/site3/fst/home/forum/public_html/Sources/Display.php:67) in /home/virtual/site3/fst/home/forum/public_html/Sources/Display.php on line 107, referer: http://forum.frenemylogicians.com//index.php/board,17.0.html
[Tue Jan 17 13:18:17 2012] [error] [client 128.104.197.36] PHP Fatal error:  Cannot redeclare scheduled_reminderemails() (previously declared in /home/virtual/site3/fst/home/forum/public_html/Sources/ScheduledTasks.php:1646) in /home/virtual/site3/fst/home/forum/public_html/Sources/ScheduledTasks.php on line 1782, referer: http://forum.frenemylogicians.com//index.php/board,17.0.html
[Tue Jan 17 13:18:19 2012] [error] [client 128.104.197.36] PHP Fatal error:  Cannot redeclare detect_spider() (previously declared in /home/virtual/site3/fst/home/forum/public_html/Sources/Display.php:67) in /home/virtual/site3/fst/home/forum/public_html/Sources/Display.php on line 107, referer: http://forum.frenemylogicians.com//index.php/board,17.0.html

I'm digging into some of these now to see if there is something obvious.
Title: Re: White Topic pages
Post by: Illori on January 17, 2012, 02:24:03 PM
attach your display.php and scheduledtasks.php to your next post.
Title: Re: White Topic pages
Post by: bgranstrom on January 17, 2012, 02:32:30 PM
Pretty sure I got it working, apparently one or more of the modes duplicates some of the functions in display.php (spider detect funuction) and in Display.template.php (make_reminder_menu).

Thank you Illori for pointing to a place to start looking.
Title: Re: White Topic pages
Post by: Kal Durak on August 17, 2012, 02:57:49 PM
I am having the same problem.

What exactly is the fix?
Title: Re: White Topic pages
Post by: bgranstrom on January 31, 2013, 11:43:23 PM
I know it's been forever since this was posted in but thought some clarification may help someone in the future.

Make a backup of the file your working with...

In my error log it has "... Cannot redeclare <somefunction> ..." this means what it says, there was duplicates of the same function. Find all decelerations of the function (likely they will be right next to each other, and there may be more then two), verify they are the exact same. Delete any duplicates until there is only one of the culprit functions remaining. If they are not the same I'd suggest uninstalling the package via your smf admin counsel and then verify the functions where deleted automatically. If they are still there then delete the function and finally reinstall the package.