Dolphin 6.0 Beta Release
I get the following error message when I try to upload a group picture. Did anyone has the same?
Database query error
Query:
SELECT `Groups`.*, `GroupsCateg`.`Name` AS `categName`, COUNT( `GroupsMembers`.`memberID` ) AS `membersCount`, `Groups`.`thumb`, `GroupsGallery`.`ext` AS `thumbExt`, `GroupsGallery`.`seed` FROM `Groups`,`GroupsCateg` LEFT JOIN `GroupsGallery` ON `Groups`.`thumb` = `GroupsGallery`.`ID` LEFT JOIN `GroupsMembers` ON `GroupsMembers`.`groupID` = 1 AND `GroupsMembers`.`status` = 'Active' WHERE `Groups`.`ID` = 1 AND `GroupsCateg`.`ID` = `Groups`.`categID` GROUP BY `Groups`.`ID`
Mysql error:
Unknown column 'Groups.thumb' in 'on clause'
Found error in file
/home/iblog3/public_html/comm1/inc/groups.inc.php
at line 167.
Tried to call db_assoc_arr function with erroneous parameter #0
Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/iblog3/public_html/comm1/inc/db.inc.php
[line] => 119
[function] => db_res
[args] => Array
(
[0] =>
SELECT
`Groups`.*,
`GroupsCateg`.`Name` AS `categName`,
COUNT( `GroupsMembers`.`memberID` ) AS `membersCount`,
`Groups`.`thumb`,
`GroupsGallery`.`ext` AS `thumbExt`,
`GroupsGallery`.`seed`
FROM `Groups`,`GroupsCateg`
LEFT JOIN `GroupsGallery`
ON `Groups`.`thumb` = `GroupsGallery`.`ID`
LEFT JOIN `GroupsMembers`
ON
`GroupsMembers`.`groupID` = 1 AND
`GroupsMembers`.`status` = 'Active'
WHERE
`Groups`.`ID` = 1 AND
`GroupsCateg`.`ID` = `Groups`.`categID`
GROUP BY `Groups`.`ID`
[1] => 1
)
)
[2] => Array
(
[file] => /home/iblog3/public_html/comm1/inc/groups.inc.php
[line] => 167
[function] => db_assoc_arr
[args] => Array
(
[0] =>
SELECT
`Groups`.*,
`GroupsCateg`.`Name` AS `categName`,
COUNT( `GroupsMembers`.`memberID` ) AS `membersCount`,
`Groups`.`thumb`,
`GroupsGallery`.`ext` AS `thumbExt`,
`GroupsGallery`.`seed`
FROM `Groups`,`GroupsCateg`
LEFT JOIN `GroupsGallery`
ON `Groups`.`thumb` = `GroupsGallery`.`ID`
LEFT JOIN `GroupsMembers`
ON
`GroupsMembers`.`groupID` = 1 AND
`GroupsMembers`.`status` = 'Active'
WHERE
`Groups`.`ID` = 1 AND
`GroupsCateg`.`ID` = `Groups`.`categID`
GROUP BY `Groups`.`ID`
)
)
[3] => Array
(
[file] => /home/iblog3/public_html/comm1/group.php
[line] => 57
[function] => getgroupinfo
[args] => Array
(
[0] => 1
)
)
)


LinkBack URL
About LinkBacks





Bookmarks