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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 252
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 221
  • Total: 221

5000 pages of bugs <3

Started by Azraeliitti, August 11, 2005, 12:30:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Azraeliitti

I'm using SMF 1.3 and noticed that in 20 days I had got over 5000 pages to my error log and like 99% from TinyPortal. After removing them, I got 4 errors right after.

8: Undefined index: hide_rightbar_forum
File: /home/fubarbiz/public_html/shadowbit/Sources/TPortal.php
Line: 177

8: Undefined index: hide_leftbar_forum
File: /home/fubarbiz/public_html/shadowbit/Sources/TPortal.php
Line: 175

8: Undefined index: approved_membergroups
File: /home/fubarbiz/public_html/shadowbit/Sources/TPortal.php
Line: 95

8: Undefined index: allowed_membergroups
File: /home/fubarbiz/public_html/shadowbit/Sources/TPortal.php
Line: 85

zuma

#1
It sounds like you are missing some fields from the tportal_settings table in your database.

This is a copy of a tportal_settings table. Usng phpMyAdmin or similar, Please check to see whether you have field numbers 27-32. If you look at the names of the fields, you'll see 4 of them correspond to your error messages.

id name value

1 topbar 0
2 leftbar 1
3 rightbar 0
4 padding 4
5 margins 2
6 topbar_align center
7 leftbar_width 170
8 rightbar_width 170
9 fixed_width 0
10 use_SSI 1
11 front_type forum_articles
12 frontpage_limit 5
13 SSI_board 39
14 temaer 1
15 temanames SMF Default Theme
16 showtop 0
17 frontpage_limit_len 2000
18 shoutbox_height 120
19 shoutbox_limit 5
20 guest_shout 0
21 featured_article 4
22 front_type forum_articles
23 showforumfirst 0
24 allow_guestnews 1
25 version 060
26 use_wysiwyg 0
27 allowed_membergroupsÃÆ'ââ,¬Å¡Ãƒâ€šÃ,  ÃÆ'ââ,¬Å¡Ãƒâ€šÃ, 
28 approved_membergroupsÃÆ'ââ,¬Å¡Ãƒâ€šÃ,  ÃÆ'ââ,¬Å¡Ãƒâ€šÃ, 
29 userbox_options avatar,logged,time,unread
30 centerbar 0
31 hide_leftbar_forum 1
32 hide_rightbar_forum 1ÃÆ'ââ,¬Å¡Ãƒâ€šÃ, 

ontap


your missin tables in ur database, use phpmyadmin and manually insert this into tportal_settings

mysql_query("INSERT INTO tportal_settings VALUES (27, 'allowed_membergroups', '')");
mysql_query("INSERT INTO tportal_settings VALUES (28, 'approved_membergroups', '')");
mysql_query("INSERT INTO tportal_settings (name,value) VALUES ('centerbar', '0')");
mysql_query("INSERT INTO tportal_settings (name,value) VALUES ('hide_leftbar_forum', '0')");
mysql_query("INSERT INTO tportal_settings (name,value) VALUES ('hide_rightbar_forum', '0')");

This website is proudly hosted on Crocweb Cloud Website Hosting.