News:

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

Main Menu

promoting someone to moderator seems to corrupt account (SOLVED)

Started by timned88, February 11, 2009, 12:33:36 AM

Previous topic - Next topic

timned88

SOLVED!    SEE SOLUTION HERE:  http://www.simplemachines.org/community/index.php?topic=292265.msg1926642#msg1926642


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

Base URL-   http://www.themagicinpixels.com/forum

symptom- i noticed tonight with a few accounts that promoting someone to moderator seems to corrupt their screen display.   removing moderator status does not fix this problem.  i have had no other reported issues with regular members or my administrator account.  it only does this when changing the user status.  it should be noted that the copyright was not removed, even though there is an error saying it was.  there are MANY pages of errors... i will spare you the gory details.   the main menu buttons are also garbled and there is a big warning that the copyright text was removed.  logging them out and back in does not clear the problem.  i have two very important members whose accounts are in jeopardy because of this!

problems include the main menu buttons becoming corrupted and unusuable and the text from the language files around the info center at the bottom of the index page disappearing.

Replication- promoting someone to moderator from regular member.

Version- 2.0RC1

Packages-

1.     TopicStarter Mod     1.3     
2.    Pm_Informer    2.0    
3.    Advanced Reputation System    1.6    
4.    AJAX Instant Quick Reply    1.0.2    
5.    Enhanced PM Warning Message    1.0    
6.    Captcha on Reminder    1.0    
7.    Activate account redirection    0.1    
8.    Reflection Avatar    1.1    
9.    Auto Email Inactive Users    1.7    
10.    Post_Board_Select    1.0    
11.    Top 10 Posters Today And This Week Stats    1.1    
12.    SMF Links    1.8    
13.    Sitemap    2.0.0    
14.    MessagePreviewOnHover    1.7    
15.    Display Location on posts    1.0    
16.    Date_Registerd on post    1.0    
17.    Attachments In Message    1.3.0    
18.    Age on post    1.0    
19.    Users Online Today    1.5.4    
20.    Topic Solved    1.1    
21.    RemoveQuotedImages    1.0    
22.    Related Topics    1.4 Alpha 1    
23.    Last Post On MemberList    1    
24.    Last Active On MemberList    1.01    
25.    Enhanced Dropdown    1.0    
26.    Active Members In Topic    1.7    

Error Log-
      Reverse chronological order of list  Today at 12:31 AM
   



Copyright removed!!
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: queries

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (body_below sub template - eval?)
Line: 466
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: seconds_with

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (body_below sub template - eval?)
Line: 466
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: page_created

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (body_below sub template - eval?)
Line: 466
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: valid_xhtml

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (body_below sub template - eval?)
Line: 458
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: lang_locale

File: /home/themagi2/public_html/forum/Sources/Subs.php
Line: 782
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: most_online_ever

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 456
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: most_online_today

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 455
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: users_active

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 443
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: users

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 422
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: guests

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 422
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: online_users

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 419
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: online_users

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 416
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: more_stats

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 397
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: recent_view

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 396

      Reverse chronological order of list  Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: recent_view

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 396
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: latest_post

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 395
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: more_stats

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 383
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: recent_view

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 382
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: latest_post

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 381
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: latest_member

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 380
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: members

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 380
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: by

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 380
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: topics

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 380
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: in

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 380
   
   Reverse chronological order of list Today at 12:31 AM
   
     

Apply Filter: Only show the errors with the same message
8: Undefined index: posts_made

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 380
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: forum_stats

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 371
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: forum_stats

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 368
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: by

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 301
   
   Reverse chronological order of list Today at 12:31 AM
   
     


8: Undefined index: subscribe_webslice

File: /home/themagi2/public_html/forum/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 278




screenshots:

karlbenson

Its appears that your missing some language files.
Thats why the menu and other areas look incorrect.

Are you using the default English language that ships with SMF?

or are you using a downloaded language pack eg english-utf8?, french?, spanish-utf8? etc

timned88

regular language files.
it only affects users that I made into moderators from regular members.
everyone else appears ok.


Kermit

Quote from: timned88 on February 11, 2009, 07:56:49 AM
which language file would be the affected one so I can check for errors?


Themes/default/languages/Modifications.english.php
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

timned88

looking at it now. any idea what I might be looking for?  remember it only affects newly appointed moderators.  pre-existing moderators did not have this issue.

timned88

at the top of the corrupted pages is this garble:

// * Mod 'TopicStarter' by Digger $txt['TopicStarter_txt'] = 'Àâòîð òåìû'; // Mod 'TopicStarter' by Digger *

there is no reference to it in modifications.english.php but there is some code in index.english.php at the end:

// * Mod 'TopicStarter' by Digger
$txt['TopicStarter_txt'] = 'Topic starter';
// Mod 'TopicStarter' by Digger *

i uninstalled that mod which got rid of the text at the top but did not solve the rest of the problem.  it would SEEM like the issue is in index.english.php or index.template.php but i have no idea why it would only affect newly appointed moderators and nobody else.  anyone?

timned88

it is also giving me the message:
"Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website."

in the footer of the home page.  i check the code in index.templat.php and it is just like it should be.  really stumped on this one.

timned88

#8
SOLVED!
the problem occurred because when i moved someone to moderator, their default language was changed to russian.  this was discovered thru phpmyadmin checking the database records...  THERE IS NO RUSSIAN FILE!

i completely overlooked the fact that when i was changing the account the language was set to russian for some unknown reason...

karlbenson


Advertisement: