FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » help!
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
help! [message #168133] Sat, 09 February 2013 03:04 Go to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
i moved my forum from / to /forum/

I'm now getting some errors, I even updated GLOBALS.php

when viewing a user profile:

Notice: Undefined property: stdClass::$reg_ip in /homepages/35/d196178364/htdocs/encore/forum/adm/admuser.php on line 422

Notice: Undefined property: stdClass::$last_known_ip in /homepages/35/d196178364/htdocs/encore/forum/adm/admuser.php on line 425


when trying to look up a user in user manager:

Fatal error: Uncaught exception 'Exception' with message '(/homepages/35/d196178364/htdocs/encorefud/include/theme/default/db.inc:110<br /> /homepages/35/d196178364/htdocs/encore/forum/adm/admuser.php:357<br /> ) 1054: Unknown column 'last_known_ip' in 'field list'<br /> Query: SELECT id, alias, email, last_login, last_known_ip, posted_msg_count FROM fud26_users WHERE login LIKE '%' LIMIT 40 OFFSET 0<br /> _GET: array ( 'SQ' =&gt; 'fdc6a1f304eaeb5a5e4cffa9bf425ee8', 'usr_login' =&gt; '*', 'usr_email' =&gt; '', )<br /> Database version: 5.0.96-log<br /> [Referring Page] http://www.encoreclassifieds.com/forum/adm/admuser.php?usr_id=198&amp;S=&amp;act=1&amp;SQ=fdc6a1f304eaeb5a5e4cffa9bf425ee8<br /> ' in /homepages/35/d196178364/htdocs/encorefud/include/core.inc:248 Stack trace: #0 /homepages/35/d196178364/htdocs/encorefud/include/theme/default/db.inc(110): fud_sql_error_handler('SELECT id, alia...', 'Unknown column ...', 1054, '5.0.96-log') #1 /homepages/35/d196178364/htdocs/encore/forum/adm/admuser.php(357): uq('SELECT id, alia...') #2 {main} thrown in /homepages/35/d196178364/htdocs/encorefud/include/core.inc on line 248


any idea what the fix is?
Re: help! [message #168134 is a reply to message #168133] Sat, 09 February 2013 05:55 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
First error is probably related to cookie settings.

"Unknown column" means you are connecting to the wrong DB or you've messed up the schema.
Re: help! [message #168135 is a reply to message #168134] Sat, 09 February 2013 14:10 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
thats weird, I didnt change anything in the DB
Re: help! [message #168136 is a reply to message #168135] Sat, 09 February 2013 14:15 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
Sat Feb 9 14:10:27 GMT 2013	(/homepages/35/d196178364/htdocs/encorefud/include/theme/default/db.inc:110
/homepages/35/d196178364/htdocs/encore/forum/adm/admuser.php:357
) 1054: Unknown column 'last_known_ip' in 'field list'
Query: SELECT id, alias, email, last_login, last_known_ip, posted_msg_count FROM fud26_users WHERE login LIKE '%' LIMIT 40 OFFSET 0
_GET: array ( 'SQ' => 'a1120955f309c255f6145b727eaeb367', 'usr_login' => '*', 'usr_email' => '', )
Database version: 5.0.96-log
[Referring Page] http://www.encoreclassifieds.com/forum/adm/index.php?S=&SQ=a1120955f309c255f6145b727eaeb367


thats the error, but i see last_used_ip in the db instead of last known
Re: help! [message #168137 is a reply to message #168136] Sat, 09 February 2013 14:16 Go to previous message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
when i changed it in the dB, everything works
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Security bug disclosure?
Next Topic: Rank Image issue
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 02:48:23 GMT 2024

Total time taken to generate the page: 0.02709 seconds