TinyPortal

Development => Support => Topic started by: domp on December 10, 2005, 03:38:20 PM

Title: Weird fatal error
Post by: domp on December 10, 2005, 03:38:20 PM
Fatal error: Call to undefined function: tportal_sidebar() in /home/beauboy/public_html/domp/forum/Sources/Load.php(1040) : eval()'d code on line 215

The weird is thing is that the error isnt always on the same line. When i change themes it will give me different numbers :o


???

LoL, short message but does anyone know why i  get this ? It happens when i press THIS (http://domp.libertinia.com/forum/userplane_simplemachines_plugin.php). And no.. the script that's called isnt causing the problem ;)


Tia, Dirk
Title: Re: Weird fatal error
Post by: bloc on December 10, 2005, 06:20:30 PM
Thats because Load.php starts the Tportal init routine..but since index.template is not touched..or rather the template_main_above isn't..the call to include TPortalBlocks is omitted, and the function TPortal_sidebar will not be reached (which render a bar)

I need to investigate, but it might be that i need to move some thngs to be sure its loaded even in custom pages/actions.
Title: Re: Weird fatal error
Post by: domp on December 10, 2005, 06:24:43 PM
Thx for y're reply,

The error isnt new, I always ignored it before since I was able to join the chatroom. No when i change to "amber" the login isnt displayed at all :|

Would be great when u can fix it :-)

Title: Re: Weird fatal error
Post by: ThunderBolt on February 06, 2006, 06:24:38 AM
My buddy is getting a similar error.  He's using SMF 1.06 and just installed TP 8

Fatal error: Call to undefined function: tportal_version() in /mnt/raid/srv/www/icwow/Forum/Sources/Load.php(1040) : eval()'d code on line 417

Can you point me in the right direction for a resolve?

T
Title: Re: Weird fatal error
Post by: IchBin on February 06, 2006, 02:38:49 PM
Quote from: ThunderBolt on February 06, 2006, 06:24:38 AM
My buddy is getting a similar error.  He's using SMF 1.06 and just installed TP 8

Fatal error: Call to undefined function: tportal_version() in /mnt/raid/srv/www/icwow/Forum/Sources/Load.php(1040) : eval()'d code on line 417

Can you point me in the right direction for a resolve?

T

This is usually the result of using a theme that is not converted for TinyPortal.
Title: Re: Weird fatal error
Post by: bloc on February 06, 2006, 06:21:06 PM
uhm, more like TPortal.php is missing - it seems a TP theme is trying to call the tportal_version function.. :)
Title: Re: Weird fatal error
Post by: IchBin on February 06, 2006, 07:08:04 PM
oops, thought that was the sidebar error, not the version error..... :uglystupid2:
Title: Re: Weird fatal error
Post by: Skraps on February 06, 2006, 07:47:04 PM
In regards to Thunders post:  (I am the buddy he posted for)

This error went away after I set my /Forum folder to "777", and the Package Installer was able to complete the TP install.