TinyPortal

Development => Support => Topic started by: calumks on February 18, 2009, 07:25:38 AM

Title: Fix this error
Post by: calumks on February 18, 2009, 07:25:38 AM
www.nightgamer.net (http://www.nightgamer.net)
smf:1.1.8
TinyPortal v.1.0.6 beta 2
Theme: MegaPolis version 1.1.5
Mods installed:
Advanced Popup Xbox Gamertag
Custom Action Mod
EmailValidator
AJAX Instant Quick Reply
Message for your guests
Highslide Image Viewer
TinyPortal
SMF Arcade
OS & Browser Detection
Default Avatar

Error:

Calumks    Today at 11:19:08 PM
90.27.120.122      7e76566d9828bc32d20a36cfd546dcf1
http://www.nightgamer.net/forum/index.php?action=admin
8: Undefined variable: current_action
File: /home/iplod1/public_html/forum/Themes/default/languages/TPShout.english.php (eval?)
Line: 266
Title: Re: Fix this error
Post by: Zetan on February 18, 2009, 07:30:18 AM
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)
Title: Re: Fix this error
Post by: calumks on February 18, 2009, 07:57:44 AM
Ok Now can you try and fix my error?

Title: Re: Fix this error
Post by: G6Cad on February 18, 2009, 08:21:17 AM
That error idicate that you have missing code in your  theme of use. It looks for an array, and cant find it.

From the top of my head, it can be eather the Arcade or TP , you have to manuall ycheck the tp code in your files according to this.

Modification Instructions (http://docs.tinyportal.co.uk/index.php?topic=140)
Title: Re: Fix this error
Post by: bloc on February 18, 2009, 09:17:30 AM
$current_action is a variable often used in themes to find out where you are(for example in admin section that variable contains just "admin").

Check the Megapolis theme.
Title: Re: Fix this error
Post by: calumks on February 18, 2009, 10:50:11 AM
Thank you! I fixed the error.