TinyPortal

Development => Support => Topic started by: palorber on November 22, 2005, 06:39:31 PM

Title: Right Block Error
Post by: palorber on November 22, 2005, 06:39:31 PM
Hi,

Whenever I go to the tpadmin / edit blocks I get this Error:

index.php?action=tpadmin;sub=blocks 
8: Undefined variable: rblock
File: /home/apexv2/public_html/rc/Themes/default/TPortalBlocks.template.php (eval?)
Line: 1132

from line 1132 TPortalAdmin.template.php
<a href="' . $scripturl . '?action=tpadmin;blockon=' .$rblock['id']. '"><img title="'.$txt
     ['tp-activate'].'" border="0" src="' .$settings['images_url']. '/TPgreen' , $rblock['off']
     =='1' ? '2' : '' , '.gif" alt="'.$txt['tp-activate'].'"  /></a>


General TP settings for Right block are: Right Block Off, Hide Right Block in forums Yes There Are No Right Blocks Listed.

I am using: Tiny Portal v0.75 on SMF v 1.1rc
I have the Follwing Mods Installed: Users Online Today Mod 1.2.0 RC1, along with a manual install of SMF Arcade 

Thanks for the help...  appreciate all ya do.

Title: Re: Right Block Error
Post by: IchBin on November 22, 2005, 09:46:30 PM
http://www.tinyportal.net/smf/index.php?topic=1147.0
Title: Re: Right Block Error
Post by: palorber on November 22, 2005, 11:27:33 PM
thx ichbin,

Read that... but didn't see a resolved issue regarding line 1132.... on re-reading it I just noticed bloc said might be a bug there and he was looking into it.   

went ahead and placed an html box in the right block section left it off, and the error went away