After searching around a bit, I have discovered that this is most likely a theme problem. (Using edited Invazion. Edits are not the cause of the errors though.)
I just started from scratch on our site yesterday and logged on today with 421 pages of errors.
Error message:
8: Undefined index: rightbar
File: /home/wasteofair/malcontentguild.net/Themes/default/Admin.template.php (main_below sub template - eval?)
Line: 897
This follows suit for centbar and leftbar.
Also happens on most of the templates these elements are not displayed on.
This error here shows up as well, but not as often:
8: Undefined index: by
File: /home/wasteofair/malcontentguild.net/Themes/default/TPortal.template.php (tp_below sub template - eval?)
Line: 92
I do not use the centerbar, rightbar, or leftbar on any page but the front page, so this could be a cause. Maybe remove any reference to these on the pages the errors are happening?
Forum version: 1.1.11
TP version: 1.0 beta 5
Theme: Invasion
Mods installed: Only Tinyportal as of now.
Browser: Firefox 3.6.3, Safari 4.0.5, IE 8.0.7600.16385
Does your theme have any TP templates in them? Do you get these errors when using the default core theme?
Thanks for following our guidelines! That really, really helps. :up:
Here's a screenshot of the theme's directory straight from my FTP:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg691.imageshack.us%2Fimg691%2F4074%2Ffilelistz.png&hash=d55c69605693c5e3140e0f6884d5040797c7a743)
These errors do not appear from the templates when using the default theme, no.
This error decided to show it's face right before I tested the default:
8: Undefined index: leftbar
File: /home/wasteofair/malcontentguild.net/Themes/default/languages/Settings.english.php (main_above sub template - eval?)
Line: 856
Can you enable eval?
How to Enable/Disable eval() (http://www.simplemachines.org/community/index.php?topic=290186.0)
This should give us a more specific filename and location in the error once you have enabled it.
Enabled that, cleared my error log, but the errors displayed have not changed.
They are all still as diplayed above.
Please note: a lot of people including myself have old blocks still in use from TP 1.0 beta4 or earlier. these blocks reference the txt$[xxx] by number .. this WILL cause TP 1.0 Beta5 to come up with lots of these errors.. what you need to do is look up the language files and put in there the actual txt$['reference_name'] they are usually quite easy to locate as the txt$[xxx] is usually referenced with something that you can associate with..
eg:
txt$[111] is now txt$['last_post']
txt$[302] is now txt$['new']
etc..
these are 2 that were effecting my recent posts article/block
thats whats causing most of these type of errors .. so rule of thumb would be to check your block/article code for any references to txt$[nimber] and change them to txt$['text']
Great info, BlueSteel! Thanks for posting that. :)
Quotewhat you need to do is look up the language files and put in there the actual txt$['reference_name']
thx bluesteel, but may i ask specifically which language files i should look at? many thx