summer Posted June 28, 2010 Share Posted June 28, 2010 When I open myshop/modules/feeder/rss.php I got this error below This page contains the following errors: error on line 16 at column 164: EntityRef: expecting ';' Below is a rendering of the page up to the first error. This is my rss.php <?php include(dirname(__FILE__).'/../../config/config.inc.php'); require_once(dirname(__FILE__).'/../../init.php'); // Get data $number = (intval(Tools::getValue('n')) ? intval(Tools::getValue('n')) : 10); $orderByValues = array(0 => 'name', 1 => 'price', 2 => 'date_add', 3 => 'date_upd', 4 => 'position'); $orderWayValues = array(0 => 'ASC', 1 => 'DESC'); $orderBy = Tools::strtolower(Tools::getValue('orderby', $orderByValues[intval(Configuration::get('PS_PRODUCTS_ORDER_BY'))])); $orderWay = Tools::strtoupper(Tools::getValue('orderway', $orderWayValues[intval(Configuration::get('PS_PRODUCTS_ORDER_WAY'))])); if (!in_array($orderBy, $orderByValues)) $orderBy = $orderByValues[0]; if (!in_array($orderWay, $orderWayValues)) $orderWay = $orderWayValues[0]; $id_category = (intval(Tools::getValue('id_category')) ? intval(Tools::getValue('id_category')) : 1); $products = Product::getProducts(intval($cookie->id_lang), 0, ($number > 10 ? 10 : $number), $orderBy, $orderWay, $id_category, true); $currency = new Currency(intval($cookie->id_currency)); $affiliate = (Tools::getValue('ac') ? '?ac='.intval(Tools::getValue('ac')) : ''); I replace the folder but still no joy. Is it a bug? Link to comment Share on other sites More sharing options...
summer Posted June 28, 2010 Author Share Posted June 28, 2010 Sorry.Did the search.It's fixed now.Line 43add ; after / & g t (without space) Link to comment Share on other sites More sharing options...
comut Posted July 3, 2010 Share Posted July 3, 2010 I have the same problem as well. How will it add? Link to comment Share on other sites More sharing options...
rocky Posted July 3, 2010 Share Posted July 3, 2010 This bug has been fixed in PrestaShop v1.3.2. The problem is on line 43 of modules/feeder/rss.php. Until it is released, you can change > to > to fix this problem. Link to comment Share on other sites More sharing options...
ghostq Posted July 4, 2010 Share Posted July 4, 2010 great thanks Link to comment Share on other sites More sharing options...
zioup2 Posted September 29, 2010 Share Posted September 29, 2010 It's a problem. I had this problem, and after searching and testing I changed all the description text of my products in basics texts. I found that when I looked at the text in html, i had a lot of bad text because I copy the text from other DB and when you do that, often you have a lot of bad caracters(from word...or others)... Well il modified all the texts with blocnotes or other and now it's ok. Link to comment Share on other sites More sharing options...
4saleusa Posted October 8, 2010 Share Posted October 8, 2010 I have gt; but still the same error but only if I search sitemap with www if you typo with/out www seems to be working ... Link to comment Share on other sites More sharing options...
JimKa Posted January 9, 2011 Share Posted January 9, 2011 ghostq, thank you very much. Regards. Link to comment Share on other sites More sharing options...
JimKa Posted January 9, 2011 Share Posted January 9, 2011 One question, the products are seen only 10. Can I change this value?Thanks again. Link to comment Share on other sites More sharing options...
JimKa Posted January 9, 2011 Share Posted January 9, 2011 Solved on http://www.prestashop.com/forums/viewthread/33479/general_discussion/rss_feed_new_products Link to comment Share on other sites More sharing options...
Recommended Posts