HomeUnityAnswers
 
 
njuelbli

Database error

Hello

I get thisdb error:

Database error in Hundelandet
Query:
SELECT ID FROM Profiles WHERE (TO_DAYS(NOW()) - TO_DAYS(LastLoggedIn)) > 180

Mysql error:
Unknown column 'LastLoggedIn' in 'where clause'

Found error in file /home/hundelan/public_html/

periodic/cmd.php
at line 62. Called db_res function
with erroneous argument #0

Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/hundelan/public_html/periodic/cmd.php
[line] => 62
[function] => db_res
[args] => Array
(
[0] => SELECT ID FROM Profiles WHERE (TO_DAYS(NOW()) - TO_DAYS(LastLoggedIn)) > 180
)

)

[2] => Array
(
[file] => /home/hundelan/public_html/periodic/cmd.php
[line] => 292
[function] => clean_database
[args] => Array
(
)

)

)


Called script: /home/hundelan/public_html/periodic/cmd.php



Could anybody please help me ???

Nils

bad
0
good
 
 

Answers

No Answers so far.


Post an Answer

Please login to post an answer.

This Question
 
 
njuelbli's questions
All Questions
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.338631868362