Need help with error code

Started by ACAMS, January 14, 2011, 10:55:47 AM

Previous topic - Next topic

ACAMS

I have SMF 2.0 RC3

I am getting these two errors very often

#1

Apply Filter: Only show the error messages of this URL http://gametechmods.com/forums/index.php?action=unread
Apply Filter: Only show the errors with the same message 8: Undefined index: ignore_topics
Apply Filter: Only show the errors from this file File: /home/gametechmods/gametechmods.com/forums/Themes/blackrainv3/Recent.template.php (unread sub template - eval?) Line: 641

-----------------------------------------------------------------------------------------------------------------------------------------------

There is no Line 641 in Recent.template.php     

-----------------------------------------------------------------------------------------------------------------------------------------------


#2   

Apply Filter: Only show the error messages of this URL http://gametechmods.com/forums/index.php?action=unread
Apply Filter: Only show the errors with the same message 8: Undefined index: ignore_topics
Apply Filter: Only show the errors from this file File: /home/gametechmods/gametechmods.com/forums/Themes/blackrainv3/Recent.template.php (unread sub template - eval?) Line: 119     

Here is line 119 code   


117   if ($showCheckboxes && allowedTo('ignore_topics') && !empty($modSettings['allow_ignore_topics']))
118      $mark_read['markselectignored'] = array(
119       'custom' => 'title="'. $txt['ignore_topics'].'"',
120       'text' => 'ignore_topics',
121       'image' => 'ignore.gif',
122       'lang' => true,
123       'url' => 'javascript:document.quickModForm.qaction.value=\'ignore\';document.quickModForm.submit();',
124      );
125    }
   Does anybody have any idea what the problem may be?

Illori

since these errors are coming from the template files from your theme you may get better support asking the theme author for support.

kat

Those errors might not be correct, ACAMS.

Clear out your error-logs, then go to Admin>Server Settings and check "Disable evaluation of templates".

If/when you get some new errors, they'll be more accurate.

ACAMS

Thanks, I did that and cleared my errors, will wait and see.


ACAMS

#5
Still getting the same two errors.


Before I cleared everything I got this error......but not since.

http://gametechmods.com/forums/index.php?PHPSESSID=rad4cse0dlvvs27c92hikl8642
8: Undefined index: uploadedfile
File: /home/gametechmods/gametechmods.com/forums/Themes/default/PortalPages.template.php (view_page sub template - eval?)
Line: 5

kat

You're getting eval errors, with eval disabled?

Hmmm. That strikes me as odd.

(I could be mistaken, though).

Try this, would you?

Go to Black Rain's directory and rename Recent.template.php to Recent.template0.php

What happens?

(What that does, is force that theme to use the corresponding file from the default theme).

ACAMS

OK, I did that and then I tried Black Rain theme and even deleted unread posts and such and got no errors.....will wait and see if the normal guys that keep tripping this error will give me an error.


THANKS for the help.

kat

No sweat!

If the theme looks weird, or acts-up, can you attach that file to your next post?

We can check it out, then.

From the bit you posted, though, it looks OK, to me.

ACAMS


kat

Hmmm... Looks like we'll need to know what mods you have.

"uploadedfile" seems alien to the vanilla install, to me.

ACAMS

That is an Uploader I made that only members can see......I only had one error since making those changes so I am VERY happy

THANKS for all the help, and I will mark this as solved.

kat


ACAMS

OH BOY..........

I installed Remove Image From Quote mod only like 2-3 hours ago and have 3253 errors already.


Here is a link to the mod.....I had to install by hand  http://custom.simplemachines.org/mods/index.php?mod=2430

Reverse chronological order of list Today at 11:52:33 PM
Apply Filter: Only show the error messages of this session adde243825add74ab5e1e77e8a8ff2a5
Apply Filter: Only show the errors of this type Type of error: Undefined

here are the two errors I get.....2 different lines in Subs.php (attached)

Apply Filter: Only show the error messages of this URL http://gametechmods.com/forums/index.php?topic=2411.135
Apply Filter: Only show the errors with the same message 8: Undefined index: remove_image_from_post
Apply Filter: Only show the errors from this file File: /home/gametechmods/gametechmods.com/forums/Sources/Subs.php
Line: 1352       


Apply Filter: Only show the error messages of this URL http://gametechmods.com/forums/index.php?topic=2411.135
Apply Filter: Only show the errors with the same message 8: Undefined index: remove_image_from_post
Apply Filter: Only show the errors from this file File: /home/gametechmods/gametechmods.com/forums/Sources/Subs.php
Line: 1360

Illori

please use the support thread for that mod to get help with errors that are clearly related to it

Joker™

Make sure that $txt['remove_image_from_post'] is existing  in your Modifications.english.php
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

ACAMS

Quote from: Joker™ on January 15, 2011, 07:59:58 AM
Make sure that $txt['remove_image_from_post'] is existing  in your Modifications.english.php

It is there, I have another problem that I posted in the support thread for that mod........maybe the other problem si causing the errors.

I had 15,873 errors this morning when I got up!

All errors (15883) | Undefined (15873) |

ACAMS

I fixed it by adding an index.php in the offending themes.



THANKS for the help!




Solved once again!


Arantor

It also wouldn't hurt to periodically ensure you clear the forum cache - since you're still using RC3, the language files are still cached, which means you get issues like the above where a language file was updated but not uncached.
Holder of controversial views, all of which my own.


Advertisement: