AllSmart Posted November 26, 2013 Share Posted November 26, 2013 (edited) Dear users, I have some strange issues with my prestashop site. Address is allsmart.nl. There are only 2 products which go to the "Oops" page, while all other products are going well. I have turned on error reporting, please find below the result: Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/deb24850/domains/allsmart.nl/public_html/shop/classes/Cookie.php on line 80 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/deb24850/domains/allsmart.nl/public_html/shop/classes/Cookie.php on line 80 Warning: Cannot modify header information - headers already sent by (output started at /home/deb24850/domains/allsmart.nl/public_html/shop/classes/Cookie.php:80) in /home/deb24850/domains/allsmart.nl/public_html/shop/classes/controller/FrontController.php on line 751 Warning: Cannot modify header information - headers already sent by (output started at /home/deb24850/domains/allsmart.nl/public_html/shop/classes/Cookie.php:80) in /home/deb24850/domains/allsmart.nl/public_html/shop/classes/exception/PrestaShopException.php on line 37 [PrestaShopException] Invalid product vars at line 104 in file classes/Link.php 98. if (is_array($product) && isset($product['id_product'])) 99. $product = new Product($product['id_product'], false, $id_lang, $id_shop); 100. elseif ((int)$product) 101. $product = new Product((int)$product, false, $id_lang, $id_shop); 102. else 103. throw new PrestaShopException('Invalid product vars'); 104. } 105. 106. // Set available keywords 107. $params = array(); 108. $params['id'] = $product->id; LinkCore->getProductLink - [line 53 - cache/smarty/compile/3b/73/2f/3b732f2204ea8a0088159d9d4aeab3c2f4b940dc.file.crossselling.tpl.php] - [4 Arguments] content_5294c4efe77ff0_59617577 - [line 180 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] I have already deleted the .htaccess file, disabled/enabled Friendly URL's and cleared Smarty cache and Autoload cache. What's even more stange, is that the 2 products which cause this Oops error were bought by a customer today. EDIT: The 2 products are "Z-Wave.Me RaZberry" and "Fibaro Relay Insert 1 x 3 kW" I also noticed that all of my pages display the below error message when Error Reporting is turned on: Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/deb24850/domains/allsmart.nl/public_html/shop/classes/Cookie.php on line 80 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/deb24850/domains/allsmart.nl/public_html/shop/classes/Cookie.php on line 80 Warning: Cannot modify header information - headers already sent by (output started at /home/deb24850/domains/allsmart.nl/public_html/shop/classes/Cookie.php:80) in /home/deb24850/domains/allsmart.nl/public_html/shop/classes/controller/FrontController.php on line 751 I would really appreciate help on this issue as I have tried everything in my power and I'm going crazy! Thanks a lot. Regards Edited November 26, 2013 by AllSmart (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 Check your settings.inc.php, and see if that constant is set there, if not, try something like: define('_RIJNDAEL_KEY_', 'GfuFuAkKIBIeSaxSFJ08cani5Urrdu5Y'); define('_RIJNDAEL_IV_', '4MGMAQ7dYCf5Bwg/rmZKLw=='); Link to comment Share on other sites More sharing options...
AllSmart Posted November 27, 2013 Author Share Posted November 27, 2013 Thanks @Nemo1! That did indeed solve the cookie issue, I don't get the warning anymore. Do you think this is also the reason for the other error regarding the other two products going to the Oops page? If so, I can set this topic to solved. For now I have fixed it by copying the products and removing the old ones. Thanks again! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now