TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: copter on April 30, 2006, 08:57:54 PM

Title: Errors filling up error log and things not working
Post by: copter on April 30, 2006, 08:57:54 PM
 :D

Does anyone know how to solve these errors please [smf 1.0.7]

QuoteWhen I click on Tiny Portal Settings I get:

8: Undefined index: theme_version
File: /home/rabb/public_html/smf/Sources/TPortalAdmin.php
Line: 62

8: Undefined index: submissions
File: /home/rabb/public_html/smf/Themes/default/Admin.template.php (eval?)
Line: 28

8: Undefined index: boardnews
File: /home/rabb/public_html/smf/Themes/default/TPortal.template.php (eval?)
Line: 61

8: Undefined index: boardnews
File: /home/rabb/public_html/smf/Themes/default/TPortal.template.php (eval?)
Line: 163

Title: Re: Errors filling up error log and things not working
Post by: G6Cad on April 30, 2006, 10:42:10 PM
Have you installed the update package for the TP after the installation?

You find the update package in the downloadsection
Title: Re: Errors filling up error log and things not working
Post by: copter on April 30, 2006, 11:56:52 PM
Yes, I have just done the update, thanks for informing me.

Most errors are solved, but now I get these:

Quotesmf/index.php?action=tpadmin;sa=settings

8: Undefined index: theme_version
File: public_html/smf/Sources/TPortalAdmin.php
Line: 62

8: Undefined index: submissions
File: public_html/smf/Themes/default/Admin.template.php (eval?)
Line: 28

The bit highlighted in red means it happens on the following pages aswell:

action=tpadmin;sa=frontpage
action=tpadmin;sa=categories
action=tpadmin;sa=articles
action=tpadmin;sa=submission
action=tpadmin;sa=blocks
action=tpadmin;sa=menubox
action=tpadmin;sa=modules
action=tpadmin;sa=shoutbox
action=tpadmin;sa=credits
action=tpmod;dl=admin

Quotesmf/index.php?action=tpmod;dl=admin 
8: Undefined index: tp-settings
File: public_html/smf/Themes/default/Admin.template.php (eval?)
Line: 21

action=tpmod;dl=adminsettings
action=tpmod;dl=adminaddcat
action=tpmod;dl=adminsubmission  

And there may well be more errors which I haven't come across, Hopefully if you could help me to resolve these please. :)

I'm using smf 1.0.7 ;D
And here are the lines:

Quoteif(in_array($settings['theme_version'],array('1.0.5','1.0.6')) || !isset($settings['theme_version']))

Quote{

Quote<td class="catbg">', $section['title'], '</td>
:)
Title: Re: Errors filling up error log and things not working
Post by: bloc on May 01, 2006, 03:08:41 PM
ah, yes. The 1.0.7 is missing there. Try to add it, like:
      if(in_array($settings['theme_version'],array('1.0.5','1.0.6','1.0.7')) || !isset($settings['theme_version']))
Title: Re: Errors filling up error log and things not working
Post by: copter on May 01, 2006, 06:05:36 PM
Thanks Bloc ;)

I changed it to the new code, but the errors still appear O0 I'll look into it abit more, luckily I have backups :D

I'd be grateful if you could provide a solution just in case I can't figure it out - tiny portal's new to me and looks great :up: :)
Title: Re: Errors filling up error log and things not working
Post by: copter on November 21, 2006, 12:45:03 AM
Hi

The solution was to install Tiny Portal 0.9.6

Bye