Error
Database query error
Query:
SELECT `FriendsCategories`.`Name`, `FriendsCategoriesTrack`.`CategID`, `Profiles`.* FROM `FriendList`
LEFT JOIN `Profiles` ON (`Profiles`.`ID` = `FriendList`.`Profile` AND `FriendList`.`ID` = '2' OR `Profiles`.`ID` = `FriendList`.`ID` AND `FriendList`.`Profile` = '2')
LEFT JOIN `FriendsCategoriesTrack` ON (`FriendList`.`ID`=`FriendsCategoriesTrack`.`FriendID` AND `FriendList`.`Profile`=2 OR `FriendList`.`Profile`=`FriendsCategoriesTrack`.`FriendID` AND `FriendList`.`ID`=2) LEFT JOIN `FriendsCategories` ON `FriendsCategories`.`CategID`=`FriendsCategoriesTrack`.`CategID`
WHERE (`FriendList`.`Profile` = '2' OR `FriendList`.`ID` = '2') AND `FriendList`.`Check` = '1' ORDER BY `FriendsCategories`.`Name` DESC, `Profiles`.`Picture` DESC
Mysql error:
Table 'ebaeug_MainRus.FriendsCategoriesTrack' doesn't exist
Found error in file
/home/ebaeug/public_html/Social/viewFriends.php
at line
183. Called
db_res function
with erroneous argument #
0
Debug backtrace:Array
(
[1] => Array
(
[file] => /home/ebaeug/public_html/Social/viewFriends.php
[line] => 183
[function] => db_res
[args] => Array
(
[0] => SELECT `FriendsCategories`.`Name`, `FriendsCategoriesTrack`.`CategID`, `Profiles`.* FROM `FriendList`
LEFT JOIN `Profiles` ON (`Profiles`.`ID` = `FriendList`.`Profile` AND `FriendList`.`ID` = '2' OR `Profiles`.`ID` = `FriendList`.`ID` AND `FriendList`.`Profile` = '2')
LEFT JOIN `FriendsCategoriesTrack` ON (`FriendList`.`ID`=`FriendsCategoriesTrack`.`FriendID` AND `FriendList`.`Profile`=2 OR `FriendList`.`Profile`=`FriendsCategoriesTrack`.`FriendID` AND `FriendList`.`ID`=2) LEFT JOIN `FriendsCategories` ON `FriendsCategories`.`CategID`=`FriendsCategoriesTrack`.`CategID`
WHERE (`FriendList`.`Profile` = '2' OR `FriendList`.`ID` = '2') AND `FriendList`.`Check` = '1' ORDER BY `FriendsCategories`.`Name` DESC, `Profiles`.`Picture` DESC
)
)
[2] => Array
(
[file] => /home/ebaeug/public_html/Social/viewFriends.php
[line] => 155
[function] => getFriendList
[args] => Array
(
[0] => 2
)
)
[3] => Array
(
[file] => /home/ebaeug/public_html/Social/viewFriends.php
[line] => 58
[function] => PageCompPageMainCode
[args] => Array
(
)
)
[4] => Array
(
[file] => /home/ebaeug/public_html/Social/viewFriends.php
[line] => 52
[function] => ShowFriendsCommon
[args] => Array
(
)
)
)
Called script: /Social/viewFriends.php
Request parameters:Array
(
[iUser] => 2
)