TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 123
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 67
  • Total: 67

Two new errors in my log

Started by Kimmen, July 26, 2011, 05:04:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kimmen

SMF 2.0 Final TP 1.104

This happens when i try to do a search in the forum. By clicking search --> type in what i search for --> Hit search and we have those errors.

Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: title
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/default/languages/TPShout.english.php (body_above sub template - eval?)
Line: 440

Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: href
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/default/languages/TPShout.english.php (body_above sub template - eval?)
Line: 439

IchBin

Hi Kimmen,

Can you go into the SMF Admin > Configuration > General Settings. Check the box for to "disable evaluation of templates" and then save?

After you've done that, reproduce the error again. Then post the new errors you get as they should have a different file name and line number so I can see where the actual error has occurred. 

Kimmen

Did as told  ;)

Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: href
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/Prince_of_Darkness_201/index.template.php
Line: 409

Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: title
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/Prince_of_Darkness_201/index.template.php
Line: 410

IchBin

Can you attach your index.template.php file from your Prince of Darkness theme? Looks to me like you have some errors in that file. Could be related to a mod or something, so I'll just give it a check for you.

Kimmen

That is very nice of you IchBin  :)

IchBin

Bah... looks like the problem is not in the template file. The template file is calling the array for the menu buttons which exists in the Subs.php file. Can you attach that one too? The Subs.php file is in the Sources directory. Thanks.

Kimmen


IchBin

Looks like it's a problem with the custom menu mod you have installed. Do you have any items in your main menu that are blank or empty? I'm guessing that the mod is not properly setting the menu items or something. Then when the array is read in the template file, it's reading an empty array which doesn't have the link or title set.

Kimmen

To be honest, i had Tyrsson from SMF, to help me shrink down buttons on main menu. he re-organized it all, so that i got more into dropdowns.

This website is proudly hosted on Crocweb Cloud Website Hosting.