News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

A couple of errors

Started by jeddi, October 30, 2008, 08:59:21 PM

Previous topic - Next topic

jeddi

Not sure if this is the place for this.
Running 2.0beta4
In the user control panel when I click on 'MyTheme' it gives two errors in the error log each time.
Not sure if this is related to a new theme which works fine 'ShinyBlue'.
Or related to something else.

    October 31, 2008, 01:46:20 AM 
81.155.99.22     7b57098cc7b274a9e8e9a558460d2cf4 
   Type of error: Undefined 
http://www.atelier.com/forum/index.php?action=theme;sa=pick;u=3;sesc 
8: Undefined index: title
File: /home/atelier/public_html/forum/Themes/default/Themes.template.php (body_above sub template - eval?)
Line: 515 

      October 31, 2008, 01:46:20 AM 
81.155.99.22     7b57098cc7b274a9e8e9a558460d2cf4 
   Type of error: Undefined 
http://www.atelier.com/forum/index.php?action=theme;sa=pick;u=3;sesc 
8: Undefined index: href
File: /home/atelier/public_html/forum/Themes/default/Themes.template.php (body_above sub template - eval?)
Line: 514 
thanks in advance!!

greyknight17

Go into phpMyAdmin and click on your database. Then click on the SQL tab and copy paste the following code and run it:

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

Use the forum a little and try to regenerate new errors. If any are found, post the new ones here. Then run this query to undo the change we made earlier:

DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';

jeddi

#2
I done that and I  get two errors happen.

http://www.atel.com/forum/index.php?action=theme;sa=pick;u=1;sesc
Apply Filter: Only show the errors with the same message
8: Undefined index: title
Apply Filter: Only show the errors from this file
File: /home/atelier/public_html/forum/Themes/default/Themes.template.php (body_above sub template - eval?)
Line: 349
   

     Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL http://www.ateli.com/forum/index.php?action=theme;sa=pick;u=1;sesc
Apply Filter: Only show the errors with the same message
8: Undefined index: href
Apply Filter: Only show the errors from this file
File: /home/atelier/public_html/forum/Themes/default/Themes.template.php (body_above sub template - eval?)
Line: 349

I uninstalled 'User CP' mod and now no errors. I cant use usercp with this theme I like 'ShinyBLUE.
I guess this is a mod issue.

Advertisement: