TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 141
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 88
  • Total: 88

Lowered right panel when viewing topic as a guest

Started by itweb, May 21, 2008, 04:26:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

itweb

Just like that:



It also happens in other theme (made by Bikken) so it's probably not theme-related.

Any idea how to fix it?

IchBin

What about the default theme? Does it happen there as well?

itweb

Quote from: IchBinâ,,¢ on May 21, 2008, 04:42:43 PM
What about the default theme? Does it happen there as well?

Sad to admit, but default theme is broken here :(
Quote
Fatal error: Cannot redeclare updatechatstats() (previously declared in (...)/Sources/Load.php(1810) : eval()'d code:800) in (...)/Sources/Load.php(1810) : eval()'d code on line 865
Happened some time ago (I am guessing some kind of chat mod) that I wasn't able to repair.

BTW, both SlickPro and Mystic Jade are OK (with right panel) when logged in as a user or admin...

IchBin

Disable all your blocks. Enable them one by one, each time checking to see if one of them is causing the problem.

itweb

Quote from: IchBinâ,,¢ on May 21, 2008, 09:31:27 PM
Disable all your blocks. Enable them one by one, each time checking to see if one of them is causing the problem.

I just did that and it didn't make any difference. I checked all blocks. There can be just one right block active (and no other blocks: left, right or center) and it will do the same thing, on both themes.

Bug?

IchBin

I don't think its a bug, as its working on many forums without your problem. I think its your theme or your install. Why is your default theme broken?

itweb

Quote from: IchBinâ,,¢ on May 24, 2008, 03:52:00 AM
I don't think its a bug, as its working on many forums without your problem. I think its your theme or your install. Why is your default theme broken?

It pops this error:
QuoteFatal error: Cannot redeclare updatechatstats() (previously declared in (...)/Sources/Load.php(1810) : eval()'d code:800) in (...)/Sources/Load.php(1810) : eval()'d code on line 865

Part of load.php:
Quote
   elseif ($set == 'profile')
   {
      $select_columns = "
         IFNULL(lo.logTime, 0) AS isOnline, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType,
         mem.signature, mem.personalText, mem.location, mem.gender, mem.avatar, mem.ID_MEMBER, mem.memberName,
         mem.realName, mem.emailAddress, mem.hideEmail, mem.dateRegistered, mem.websiteTitle, mem.websiteUrl,
         mem.birthdate, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin, mem.memberIP, mem.memberIP2, mem.lngfile, mem.ID_GROUP, mem.ID_THEME, mem.buddy_list, mem.pm_ignore_list,
         mem.pm_email_notify, mem.timeOffset" . (!empty($modSettings['titlesEnable']) ? ', mem.usertitle' : '') . ",
         mem.timeFormat, mem.secretQuestion, mem.is_activated, mem.additionalGroups, mem.smileySet, mem.showOnline,
         mem.totalTimeLoggedIn, mem.ID_POST_GROUP, mem.notifyAnnouncements, mem.notifyOnce, mem.notifySendBody,
                        mem.thank_you_post_made, mem.thank_you_post_became,
         mem.notifyTypes, lo.url, mg.onlineColor AS member_group_color, IFNULL(mg.groupName, '') AS member_group,
         pg.onlineColor AS post_group_color, IFNULL(pg.groupName, '') AS post_group,
         IF(mem.ID_GROUP = 0 OR mg.stars = '', pg.stars, mg.stars) AS stars, mem.passwordSalt";
      $select_tables = "
         LEFT JOIN {$db_prefix}log_online AS lo ON (lo.ID_MEMBER = mem.ID_MEMBER)
         LEFT JOIN {$db_prefix}attachments AS a ON (a.ID_MEMBER = mem.ID_MEMBER)
         LEFT JOIN {$db_prefix}membergroups AS pg ON (pg.ID_GROUP = mem.ID_POST_GROUP)
         LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = mem.ID_GROUP)";
   }

Per Notepad++, Line 865 is:
Quotemem.totalTimeLoggedIn, mem.ID_POST_GROUP, mem.notifyAnnouncements, mem.notifyOnce, mem.notifySendBody,

Am I missing an easy fix?

G6Cad

Pop ovet to the chat mod people and ask them why you get that issue with the chat.
We cannot help you with that mod as we dont know anything about it.

itweb

Quote from: G6 on May 25, 2008, 05:38:17 PM
Pop ovet to the chat mod people and ask them why you get that issue with the chat.
We cannot help you with that mod as we dont know anything about it.


It was uninstalled long time ago, but it looks like something got messed up.

It's weird though, that only default theme gets hit by this error and no other theme I have had or tried since then.

Smoky

have you tried to replace the core/default theme??  :o

This website is proudly hosted on Crocweb Cloud Website Hosting.