Does anyone have any idea what this means? I get this error to my email. Have you ever seen this. This is just an except from the full error. I can send you the full one if you know what this is.
Database error in Freeducate
Query:
SELECT `p`.*, `f`.`ID`,
if(`DateLastNav` > SUBDATE(NOW( ), INTERVAL 1 MINUTE ), 1, 0) AS `is_online`,
UNIX_TIMESTAMP(p.`DateLastLogin`) AS 'TS_DateLastLogin', UNIX_TIMESTAMP(p.`DateReg`) AS 'TS_DateReg' FROM (
SELECT `ID` AS `ID` FROM `sys_friend_list` WHERE `Profile` = '1' AND `Check` =1
UNION
SELECT `Profile` AS `ID` FROM `sys_friend_list` WHERE `ID` = '1' AND `Check` =1
) AS `f`
INNER JOIN `Profiles` AS `p` ON `p`.`ID` = `f`.`ID`
WHERE 1
ORDER BY p.`Avatar` DESC
LIMIT 0,
Mysql error:
Found error in the file '/home/jundaj/public_html/inc/profiles.inc.php' at line 385.
Called 'db_res' function with erroneous argument #0.
Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/jundaj/public_html/inc/classes/BxDolDb.php
[line] => 242
[function] => error
[class] => BxDolDb
[type] => ->
[object] => BxDolDb Object
(
[error_checking] => 1
[host] => localhost
[port] =>
[socket] =>
[dbname] => jundaj_jundaj
[user] => *****
[password] => *****
[link] => Resource id #30
[current_res] =>
[current_arr_type] => 1
[oParams] => BxDolParams Object
(
[_oDb] => BxDolDb Object
*RECURSION*
[_oCache] => BxDolCacheFile Object
(
[sPath] => /home/jundaj/public_html/cache/
[_error] =>
)
[_sCacheFile] => sys_options_3a05bf847a3e428757538f24e9e3234d.php
[_aParams] => [truncated]
[_error] =>
)
[oDbCacheObject] => BxDolCacheFile Object
(
[sPath] => /home/jundaj/public_html/cache/
[_error] =>
)
[_error] =>
)
[args] => Array
(
[0] => Database query error
[1] =>
[2] => SELECT `p`.*, `f`.`ID`,
if(`DateLastNav` > SUBDATE(NOW( ), INTERVAL 1 MINUTE ), 1, 0) AS `is_online`,
UNIX_TIMESTAMP(p.`DateLastLogin`) AS 'TS_DateLastLogin', UNIX_TIMESTAMP(p.`DateReg`) AS 'TS_DateReg' FROM (
SELECT `ID` AS `ID` FROM `sys_friend_list` WHERE `Profile` = '1' AND `Check` =1
UNION
SELECT `Profile` AS `ID` FROM `sys_friend_list` WHERE `ID` = '1' AND `Check` =1
) AS `f`
INNER JOIN `Profiles` AS `p` ON `p`.`ID` = `f`.`ID`
WHERE 1
ORDER BY p.`Avatar` DESC
LIMIT 0,
)
)
