Ist doch egal h-h-h, du alter Klugsch...
Wir wollten doch nur wissen ob
$languages_id bekannt ist und richtig ausgegeben wird.
@WayneTsun
Ich sehe da erstmal nur einen Fehler.
An dieser Stelle:
$sql_str_cat = "SELECT cd.categories_id,
cd.categories_name
FROM ".TABLE_CATEGORIES." c
INNER JOIN ".TABLE_CATEGORIES_DESCRIPTION." cd
ON c.categories_id = cd.categories_id
WHERE cd.language_id = '".(int)$languages_id."'
".$group_check."
AND c.categories_status = '1'
%s
ORDER BY cd.categories_name
LIMIT 0,".$searchConfig['CATEGORY_RESULT_COUNT'];
muß es wohl heißen:
".$group_check_c."
Ansonsten:
- Testweise vielleicht auch mal vorübergehend im Ordner /includes/application_top.php das error_reporting(E_ALL & ~E_NOTICE); in error_reporting(E_ALL); ändern und schauen ob Fehler-Notices kommen.
- Testweise mal das (int) vor $languages_id weglassen.
- Testweise mal die Definition von $languages_id so abändern
$languages_id = (int)$_SESSION['languages_id'];
und bei $languages_id das (int) dann weglassen. - *EDIT*
Und mal den vorangegangenen Test wiederholen nur diesmal so:
{php}
echo '<pre>'.(int)$_SESSION['languages_id'].'</pre>';
{/php}
Gruß,
noRiddle