Database error - Help

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
Quote · 7 Nov 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.