SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: Talismen on September 02, 2009, 11:26:27 AM

Title: Installed SP 2.3, but now getting error
Post by: Talismen on September 02, 2009, 11:26:27 AM
Hi all!

Wanted to say thanks for the hard work on SP 2.3!

I'm currently running SP 2.3 and SMF 1.1.10.
Also, after installing 2.3 , I'm getting this error:

8: Undefined index: session_var
File: (part of file path removed).../Themes/default/languages/Post.english.php (portal_above sub template - eval?)
Line: 111


I've tested a few things, and it seems to be happening when I have the shoutbox block enabled and active on my portal, and then I hit the "Home" button to go to the portal. That's when I get this error.


Can anyone help?

Thanks!
Tal


Forum is here: http://allsidespoliticalforums.com/main/index.php
Title: Re: Installed SP 2.3, but now getting error
Post by: [SiNaN] on September 02, 2009, 03:48:30 PM
Congrats, you have found a bug.

Themes/default/PortalShoutbox.template.php

Code: (Find) [Select]
\'' . $context['session_var'] . '\'
Code: (Replace) [Select]
\'sc\'
Only affects SMF 1.1 versions on Internet Explorer.
Title: Re: Installed SP 2.3, but now getting error
Post by: Talismen on September 02, 2009, 08:33:46 PM
Or...The bugs find me  :)


Thanks for your help SiNaN! As always, it's appreciated muchly  :thumbsup:

You folks did a great job!
Title: Re: Installed SP 2.3, but now getting error
Post by: [SiNaN] on September 03, 2009, 04:34:29 AM
You're welcome. I hope you enjoy it! ;)
Title: Re: Installed SP 2.3, but now getting error
Post by: littlenana on September 03, 2009, 03:52:29 PM
I'm getting the same error. Do you mean to completely replace all of this line: \'' . $context['session_var'] . '\'  with: \ 'sc\'?

Please tell me exactly  between what and what I need to place \ 'sc\'

I tried replacing \'' . $context['session_var'] . '\'  with \ 'sc\', but then my forum went down. So I had to reverse things back to the way it was.
Title: Re: Installed SP 2.3, but now getting error
Post by: Nathaniel on September 03, 2009, 04:53:12 PM
Try performing that edit again, if it doesn't work. Then can you please attach that file so that we can have a look over it?
Title: Re: Installed SP 2.3, but now getting error
Post by: littlenana on September 03, 2009, 05:16:10 PM
Try performing that edit again, if it doesn't work. Then can you please attach that file so that we can have a look over it?

I just tried the edit again. Still causes my forum not to be accessible. I attached the file here. Thank you for looking at it.  :)
Title: Re: Installed SP 2.3, but now getting error
Post by: littlenana on September 04, 2009, 04:53:17 PM
Try performing that edit again, if it doesn't work. Then can you please attach that file so that we can have a look over it?

I just tried the edit again. Still causes my forum not to be accessible. I attached the file here. Thank you for looking at it.  :)

Could someone please help me with this? thanks
Title: Re: Installed SP 2.3, but now getting error
Post by: [SiNaN] on September 05, 2009, 05:05:59 AM
The file you attached seems to be correctly edited. What is the exact error you are getting when you replace your file with that one?
Title: Re: Installed SP 2.3, but now getting error
Post by: littlenana on September 05, 2009, 05:43:18 AM
The file you attached seems to be correctly edited. What is the exact error you are getting when you replace your file with that one?

I get a parse error code when I replace my file with this one.

If this helps,  on my PortalShoutbox.template, where I should see, \'' . $context['session_var'] . '\'  instead I see \'' . $context['session_var'] .  ', \''   So when I replace my file with the correctly eidited one I get a parse error

Title: Re: Installed SP 2.3, but now getting error
Post by: [SiNaN] on September 05, 2009, 06:40:27 AM
Try the attached file.
Title: Re: Installed SP 2.3, but now getting error
Post by: littlenana on September 05, 2009, 06:53:35 AM
Thank you very much!! That fixed it!!   :applause:  :thumbsup:
Title: Re: Installed SP 2.3, but now getting error
Post by: Nathaniel on September 07, 2009, 08:00:50 AM
Reported on the bugtracker:
http://simpleportal.net/index.php?issue=268.0
SimplePortal 2.3.8 © 2008-2024, SimplePortal