News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Error Log - Undefined

Started by ariescapes, December 20, 2015, 04:12:49 AM

Previous topic - Next topic

ariescapes

So, there is an error somewhere that is really confusing and it's just filling up my logs at a merciless rate.

QuoteApply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: sa_positions_add_titleApply Filter: Only show the errors from this file File: /home/sapphir3/dragonsbloodrpg/Sources/Admin.php
Line: 493

Apply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: sa_positions_list_titleApply Filter: Only show the errors from this file File: /home/sapphir3/dragonsbloodrpg/Sources/Admin.php
Line: 492

Apply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: sa_ads_add_titleApply Filter: Only show the errors from this file File: /home/sapphir3/dragonsbloodrpg/Sources/Admin.php
Line: 491

Apply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: sa_ads_list_titleApply Filter: Only show the errors from this file File: /home/sapphir3/dragonsbloodrpg/Sources/Admin.php
Line: 490

Apply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: sa_admin_titleApply Filter: Only show the errors from this file File: /home/sapphir3/dragonsbloodrpg/Sources/Admin.php
Line: 484

Apply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: sa_admin_cat_titleApply Filter: Only show the errors from this file File: /home/sapphir3/dragonsbloodrpg/Sources/Admin.php
Line: 480

Apply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: is_adminApply Filter: Only show the errors from this file File: /home/sapphir3/dragonsbloodrpg/Themes/default/languages/index.english.php (eval?)
Line: 148


How do i go about fixing this? any idea's what the problem is?

Kindred

well, it looks like one (or more) mods were not fully installed.

something to do with adverts, probably...

but, since you did not include a list of your mods, we can't break it down any more than that...

as a note... questions regarding specific mods should be asked in the thread dedicated to supporting that specific mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

margarett

One of the good things about mnemonics (not that I follow them every time :P ) is that you can mostly get to the origin quickly.

QuoteUndefined index: sa_(......)
This would probably mean that one of SA's MODs is causing you problems. Check whatever MODs you might have from SA and, from that:
Quote from: Kindred on December 20, 2015, 09:01:35 AM(...) should be asked in the thread dedicated to supporting that specific mod.
;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

ariescapes

I was able to fine the error. Your post was most helpful, Margarett. Thank you!

ariescapes

Well, I found all of them.. except this one:

QuoteApply Filter: Only show the error messages of this member ---
Apply Filter: Only show the error messages of this IP address ###
   Reverse chronological order of list Today at 10:52:48 PM
Apply Filter: Only show the error messages of this session c3f47b99c2b15c765f65e625c6ff7693
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: is_adminApply Filter: Only show the errors from this file File: /home/sapphir3/dragonsbloodrpg/Themes/default/languages/index.english.php (eval?)
Line: 148

It's a blank line.

Illori

Admin -> Server Settings -> Disable evaluation of templates
Then post any new error messages without eval in them

ariescapes

Apply Filter: Only show the error messages of this URLhttp://www.dragonsbloodrpg.com/index.php?action=admin;area=logs;sa=errorlog;descApply Filter: Only show the errors with the same message8: Undefined index: is_adminApply Filter: Only show the errors from this file File: /home/sapphir3/888/Themes/default/languages/Modifications.english.php
Line: 148


When I go there:
$txt['to_do_empty'] = !$context['user']['is_admin'] ? 'To-Do List is empty!' : 'To-Do List is empty! Are you free man? :)';

Which is This Mod:
Quote11.   To-Do List   2.0     [ Uninstall ] [ List Files ] [ Delete ]

Not sure how to edit this one.

Illori

i would suggest you post in that mods support topic for further help.

Kindred

looks like you have to define $context in the language file...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

Quote from: Kindred on December 21, 2015, 07:28:51 AM
looks like you have to define $context in the language file...

i am not sure of that.. it is not complaining about $context, it is complaining about the is_admin part.

Kindred

right... the is_admin...  which is a sub-array/variable within $context

And $context is rarely, if ever used inside the language files...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: