Edrack Posted January 27, 2009 Share Posted January 27, 2009 hi, after install Super_Download_Shop_v1.1 i have under Catalog -> Products Attributes this problem: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-0, MAX_ROW_LISTS_OPTIONS' at line 1 select * from products_options where language_id = '2' order by products_options_id limit -0, MAX_ROW_LISTS_OPTIONS [TEP STOP] HEADING_TITLE_OPT Warning: Division by zero in /homepages/0/d262769668/htdocs/infografikshop/admin/includes/classes/split_page_results.php on line 33 Warning: Division by zero in /homepages/0/d262769668/htdocs/infografikshop/admin/includes/classes/split_page_results.php on line 48 PLEASE HELP ME!!!!!!! thanks ed Quote Link to comment Share on other sites More sharing options...
natrium42 Posted January 27, 2009 Share Posted January 27, 2009 Only Chuck Norris can divide by zero. What is on those lines? Quote Link to comment Share on other sites More sharing options...
Edrack Posted January 27, 2009 Author Share Posted January 27, 2009 33: $num_pages = ceil($query_num_rows / $max_rows_per_page); 48: $num_pages = ceil($query_numrows / $max_rows_per_page); Quote Link to comment Share on other sites More sharing options...
natrium42 Posted January 27, 2009 Share Posted January 27, 2009 (edited) Make sure you have a line like "define('MAX_ROW_LISTS_OPTIONS', 10);" inside admin/includes/languages/<your_language>/products_attributes.php Edited January 27, 2009 by natrium42 Quote Link to comment Share on other sites More sharing options...
Edrack Posted January 27, 2009 Author Share Posted January 27, 2009 YEEEEEEEEEEEESSSSSSSSSS it works! thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.