My provided has recently upgraded my website to both php5 and mysql5.
This has revealed a problem in some SQL queries of the corrected version of the Technivore PN-zClassifieds module that you can download from my website http://www.vedrine.net in the Downloads section.
As I don't know if I willl find the time to update the zip file, here is the change to do to correct the problem. You only need to add some parenthesis.
in the PN_zClassifieds/index.php, change lines 148-149 from:
Code
$sql .= " FROM ".$prefix."_classifieds_ads , ".$prefix."_classifieds_category";
$sql .= " LEFT JOIN ".$prefix."_classifieds_country ON (country_id=id) ";
$sql .= " LEFT JOIN ".$prefix."_classifieds_country ON (country_id=id) ";
to:
Code
$sql .= " FROM (".$prefix."_classifieds_ads , ".$prefix."_classifieds_category";
$sql .= ") LEFT JOIN ".$prefix."_classifieds_country ON (country_id=id) ";
$sql .= ") LEFT JOIN ".$prefix."_classifieds_country ON (country_id=id) ";
You have to do exactly the same change in the PN_zClassifieds/search.php lines 84-85 and lines 197-198
Please this only apply to the version you can download from my website, original Technivore version has other problems with mysql5
--
Visit my live reef aquarium.
My Amazon wish list.
