i cant loggin as admin it says in a red colore box "database query error" my site running good but i cant access admin area
this is box im geeting
i cant loggin as admin it says in a red colore box "database query error" my site running good but i cant access admin area this is box im geeting Error
Database query error
|
Post the email message that you get with this,. ---- |
you solve your problem related to admin Error
Database query error
if you solve please help me |
Enable show errors (db.inc.php) and give all error .. here 2 ways 1. some modification 2. trouble during uploading (extracting) files |
Open the file inc/header.inc.php and set the bug_report email correctly. Then you will get an email report when a database error occurs. Post that here. ---- |
Post the email message that you get with this,. Database error in Your
Community, Your Voice
Query: INSERT INTO `News` ( `Date`, `Header`, `Text`, `Snippet`, `NewsUri` ) VALUES ( NOW(), LEFT ( 'San Bernardino Valley College Registration Opens Today', 50 ), 'Open registration begins today for college classes to be offered at Big Bear High School through San Bernardino Valley College. Three and four-unit courses, which begin August 19, are offered on Tuesday, Wednesday and Thursday evenings and the Fall 2008 program includes classes in art, American Sign Language, biology, child development, geography, history, music, real estate, Spanish, speech and theater arts, and a wide range of online classes are also available, at a cost of $20 per unit. Per SBVC Director Helena Johnson, \"No high school diploma is required for most classes, though higher level classes do require assessment.\" Registration for San Bernardino Valley College classes, offered in Big Bear, is available online at http://www.Valleycollege.edu/department/administrative/big_bear_program or by calling 909-888-1996.', 'College Classes in Big Bear Resume August 19.', 'LEFT-San-Bernardino-Valley-College-Registration-Opens-Today-50-') Mysql error: Duplicate entry 'LEFT-San-Bernardino-Valley-College-Registration-Op' for key 2 Found error in file /hsphere/local/home/community.com/admin/news.php at line 125. Called db_res function with erroneous argument #0 Debug backtrace: Array ( [1] => Array ( [file] => /hsphere/local/home/community.com/admin/news.php [line] => 125 [function] => db_res [args] => Array ( [0] => INSERT INTO `News` ( `Date`, `Header`, `Text`, `Snippet`, `NewsUri` ) VALUES ( NOW(), LEFT ( 'San Bernardino Valley College Registration Opens Today', 50 ), 'Open registration begins today for college classes to be offered at Big Bear High School through San Bernardino Valley College. Three and four-unit courses, which begin August 19, are offered on Tuesday, Wednesday and Thursday evenings and the Fall 2008 program includes classes in art, American Sign Language, biology, child development, geography, history, music, real estate, Spanish, speech and theater arts, and a wide range of online classes are also available, at a cost of $20 per unit. Per SBVC Director Helena Johnson, \"No high school diploma is required for most classes, though higher level classes do require assessment.\" Registration for San Bernardino Valley College classes, offered in Big Bear, is available online at http://www.Valleycollege.edu/department/administrative/big_bear_program or by calling 909-888-1996.', 'College Classes in Big Bear Resume August 19.', 'LEFT-San-Bernardino-Valley-College-Registration-Opens-Today-50-') ) ) [2] => Array ( [file] => /hsphere/local/home/community.com/admin/news.php [line] => 157 [function] => MemberAddNews [args] => Array ( ) ) ) Called script: /community.com/admin/news.php Request parameters: Array ( [header] => San Bernardino Valley College Registration Opens Today [snippet] => College Classes in Big Bear Resume August 19. [text] => Open registration begins today for college classes to be offered at Big Bear High School through San Bernardino Valley College. Three and four-unit courses, which begin August 19, are offered on Tuesday, Wednesday and Thursday evenings and the Fall 2008 program includes classes in art, American Sign Language, biology, child development, geography, history, music, real estate, Spanish, speech and theater arts, and a wide range of online classes are also available, at a cost of $20 per unit. Per SBVC Director Helena Johnson, \"No high school diploma is required for most classes, though higher level classes do require assessment.\" Registration for San Bernardino Valley College classes, offered in Big Bear, is available online at http://www.Valleycollege.edu/department/administrative/big_bear_program or by calling 909-888-1996. [action] => new [sortor] => DateLastLogin [adminID] => [adminPassword] => ) -- Auto-report system |
Here just one error:
so you tried again to insert `NewsUri` = recheck thi |
I do not even get the login screen when i go to mysite/am/admin it worked fine last night when I logged off.
Please help me log in. Thanks
Here is the email error log:
Database error in AdventistMeet.Com Query: SELECT `Password` FROM Admins WHERE `Name` = 'gramkow' Mysql error: MySQL server has gone away Found error in file /home/taborin/public_html/am/inc/admin.inc.php at line 843. Called db_arr function with erroneous argument #0 Debug backtrace: Array ( [1] => Array ( [file] => /home/taborin/public_html/am/inc/db.inc.php [line] => 115 [function] => db_res [args] => Array ( [0] => SELECT `Password` FROM Admins WHERE `Name` = 'gramkow' [1] => 1 ) ) [2] => Array ( [file] => /home/taborin/public_html/am/inc/admin.inc.php [line] => 843 [function] => db_arr [args] => Array ( [0] => SELECT `Password` FROM Admins WHERE `Name` = 'gramkow' ) ) [3] => Array ( [file] => /home/taborin/public_html/am/inc/admin.inc.php [line] => 927 [function] => check_login [args] => Array ( [0] => gramkow [1] => ba01cf1454559a23e25491d2d77e9983 [2] => Admins [3] => 1 ) ) [4] => Array ( [file] => /home/taborin/public_html/am/admin/index.php [line] => 137 [function] => member_auth [args] => Array ( [0] => 1 [1] => 1 [2] => 1 ) ) ) Called script: /am/admin/index.php Request parameters: Array ( [PHPSESSID] => a6f5769b5f4d71b17687e3d437250029 [adminID] => gramkow [adminPassword] => ba01cf1454559a23e25491d2d77e9983 [logintheme] => cpanel [cprelogin] => no [cpsession] => closed ) -- Auto-report system |
You have some screwy redirect going on ..... |