SimplePortal

Support => English Support => Topic started by: kaamaru on May 15, 2009, 03:13:25 PM

Title: Error help (Undefined index: collapsed)
Post by: kaamaru on May 15, 2009, 03:13:25 PM
 Calumks    Today at 12:08:51 PM
I am getting this error:

**.**.**.**      4adeb6c1cb4956fef37e7a88c66bcd9e
     Type of error: Undefined
 http://www.nightgamer.net/forum/index.php?action=admin;area=blocks;ed4f4462=4adeb6c1cb4956fef37e7a88c66bcd9e
8: Undefined index: collapsed
File: /home/*****/public_html/forum/Themes/default/SPortalAdmin2.template.php (eval?)
Line: 32

I have:

 SimplePortal 2.2.1
Smf arcade  2.5 Beta 5
custom pages 1.0.10

Thanks 4 any help.

Title: Re: Error help (Undefined index: collapsed)
Post by: Nathaniel on May 15, 2009, 07:38:22 PM
The string 'collapsed' doesn't occur once in that file, so the error message isn't very useful.

Try running this query in PHPMyAdmin (replace 'smf_' with your forums db prefix):
Code: [Select]
REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);
That should allow us to see where the error is actually occuring, post the error message that SMF gives you then.

You can then run this query to turn eval back on:
Code: [Select]
DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';
Title: Re: Error help (Undefined index: collapsed)
Post by: Nathaniel on May 23, 2009, 10:32:09 PM
Any updates on this issue calumks? Did you manage to get a list of errors, by using my instructions in the last post?
Title: Re: Error help (Undefined index: collapsed)
Post by: ccbtimewiz on May 24, 2009, 07:15:36 PM
Is this still an issue, calumks?
Title: Re: Error help (Undefined index: collapsed)
Post by: Nathaniel on May 30, 2009, 09:19:25 AM
Any updates on this issue calumks?
Title: Re: Error help (Undefined index: collapsed)
Post by: kaamaru on June 04, 2009, 06:10:29 PM
OMG I AM SO SORRY I TOOK SO LONG TO REPLY.

I ran the query but i still get the same error? I only get the error when editing a block.
Title: Re: Error help (Undefined index: collapsed)
Post by: Nathaniel on June 05, 2009, 02:17:43 AM
When you run the query, the error should change. Can you post the new error that you get? (If its different)
Title: Re: Error help (Undefined index: collapsed)
Post by: kaamaru on June 05, 2009, 05:37:54 AM
It does not change it still says

**.**.**.**      4adeb6c1cb4956fef37e7a88c66bcd9e
     Type of error: Undefined
 http://www.nightgamer.net/forum/index.php?action=admin;area=blocks;ed4f4462=4adeb6c1cb4956fef37e7a88c66bcd9e
8: Undefined index: collapsed
File: /home/*****/public_html/forum/Themes/default/SPortalAdmin2.template.php (eval?)
Line: 32

maybe I did something wrong in php admin i clicked on smf_settings and then changed the query to

REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);

and clicked go.

Is that how I do it?
Title: Re: Error help (Undefined index: collapsed)
Post by: Nathaniel on June 08, 2009, 07:14:21 AM
Sorry about the delay.

I am not sure if that works in PhpMyAdmin. There should be a 'SQL' link when you go to that table, click on that link and then run the query.

You could also try an upgrade to SP 2.2.2, which will overwrite that file. It shouldn't fix anything, but you never know unless you try. ;)
SimplePortal 2.3.8 © 2008-2024, SimplePortal