SimplePortal

Support => English Support => Topic started by: nwobhm on November 17, 2009, 02:59:04 PM

Title: Getting errors from shoutbox
Post by: nwobhm on November 17, 2009, 02:59:04 PM
I'm not sure if this is Simpleportal related or Ajaxchat integration related problem. But when I ugraded my site into RC2, I lost AjaxChat integration mod in that process.
Now that I have re-installed this latest Simpleportal, I'm getting tons of admin related errors
like: Undefined index: sp_admin_shoutbox_list
sp_admin_shoutbox_title
and so on.

I haven't installed back that AjaxChat integration because it doesn't support RC2, not yet atleast.
I'm hoping that those errors will disapear after AjaxChat installed with RC2 support.
Title: Re: Getting errors from shoutbox
Post by: Nathaniel on November 17, 2009, 05:01:27 PM
They look like missing language strings to me. Make sure that your language files are up to date. Try uploading the 'languages' folder from the SP package into your '/Themes/default/' folder.
Title: Re: Getting errors from shoutbox
Post by: nwobhm on November 18, 2009, 12:32:36 PM
I'll have to look into that.

Errors are mostly on admin.php like
Line 377
Code: [Select]
'add' => array($txt['sp_admin_shoutbox_add']),
Line 366
Code: [Select]
'label' => $txt['sp_admin_pages_title'],
Line 359
Code: [Select]


'label' => $txt['sp_admin_pages_title'],
Title: Re: Getting errors from shoutbox
Post by: ccbtimewiz on November 18, 2009, 01:48:27 PM
That is because those variables are referencing an array key that does not exist-- which in this case means that the language strings (which would define that) are missing or not being called.

Have you took Nathaniel's suggestion?
Title: Re: Getting errors from shoutbox
Post by: nwobhm on November 18, 2009, 04:16:37 PM
I just uploaded langueage files from the simpleportal package.
Still getting errors, but I wonder if files called SPortalAdmin2.template.php, SPortal2.template.php and SPortalBlock2.template.php are from previous simpleportal installation? Before I upgraded my forum into RC2? Maybe simpleportal uninstall wasn't complete?
Title: Re: Getting errors from shoutbox
Post by: nwobhm on November 18, 2009, 05:06:14 PM
No more errors :D I fixed the error.
Title: Re: Getting errors from shoutbox
Post by: Nathaniel on November 18, 2009, 06:19:15 PM
Any template or source files with numbers like '2' which are SimplePortal files, are from a SimplePortal version before SP 2.3.

Glad that you resolved the issue, Marked as solved.
SimplePortal 2.3.8 © 2008-2024, SimplePortal