Thread: MySQL Error
View Single Post
Old September 4th, 2008, 12:48 AM   #5 (permalink)
Luciano
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Quote:
Originally Posted by tripsmarter.com View Post
In case anyone else has this problem, I commented out lines 295-297 and lines 301-303 in showimage.php (see below). I haven't seen any adverse effects.

295 - /*$query[favfields]
296 - $query[subfields]
297 - $query[exiffields]*/

298 - FROM " . TABLE_PREFIX . "ppgal_images AS images
299 - LEFT JOIN " . TABLE_PREFIX ."ppgal_categories AS categories ON (images.catid = categories.catid)
300 - LEFT JOIN " . TABLE_PREFIX . "ppgal_customfields_entries AS customfields ON (images.imageid = customfields.imgid)
301 - /*$query[favjoin]
302 - $query[subjoin]
303 - $query[exifjoin]*/
Well there will be some adverse effects...
$query[subfields] AND $query[subjoin]
==> you will not see any custom fields.. (thats ok if you dont have defined any)
$query[exiffields] AND $query[exifjoin]
==> thats ok.. because it never really worked...
BUT
$query[favfields] AND $query[favjoin]
==> you will loose some favorites functionality!!!!

try to reenable those last 2 (by not commenting them out)

Luc
Luciano is offline   Reply With Quote