gjh42:
/includes/modules/category_product_listing.php does not exist in my v1.5.1 test site. Have you installed a mod that uses this file?
Also, /includes/functions/functions_general.php has only 1554 lines, so I don't know what line your error could be referring to (even if you used an inappropriate text editor that doubled the line spacing - a common occurrence with editors not designed for code files).
The mod that may be using this file could be Image Handler. I do have it installed, but it appears to work fine on all other category pages.
The lines starting at 290 in category_product_listing.php are:
$_GET['page'] = round((($check_count/MAX_DISPLAY_RESULTS_CATEGORIES)+(fmod_round($check_count,MAX_DISPLAY_RESULTS_CATEGORIES) !=0 ? .5 : 0)),0);
$page = $_GET['page'];
if ($old_page != $_GET['page']) {
// zen_redirect(zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cPath'] . '&pID=' . $_GET['pID'] . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')));
}
Also, there is no functions_general.php file in the functions folder. It is functions/general.php. I will look into that file as well.
Thanks for your help. Please do not give up on me.