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
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