Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ahh, thank you so much. I must have turned off the "master" stock level check box at some point and it's propagated through the listings. Regarding the PHP error, I'm sorry but I don't understand the fix that is required from the forum posts you linked to. Andy.
  2. Cubecart version 6.2.4 PHP version 7.2.31 I have an issue with my store. I've just discovered that for products with options the stock levels are being ignored and a customer can enter any quantity and purchase them. For products without options the stock level is being respected and an over-quantity order is correctly limited to whatever the stock level is. On the options pages I have checked "Use stock level" next to the relevant options in the matrx, with the stock level entered there too. I'm not sure if this is relevant, but I'm also getting the following error recurring in the error_log: [20-Jun-2020 15:45:39 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/tvcommco/public_html/store/classes/db/database.class.php on line 692 [20-Jun-2020 15:45:46 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/tvcommco/public_html/store/classes/db/database.class.php on line 692 [20-Jun-2020 15:47:08 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/tvcommco/public_html/store/classes/db/database.class.php on line 692 Any help gratefully received! Thank you, Andy. PS. I can edit PHP but I have no clue how it works
  3. So just to clarify, in the following instructions the "http://" is changed to "https://" in two places, which made it work for me. Initially I'd changed the "http://" only line 27 and got a banner saying that it had failed to update, but it's working fine now after changing both. From the post here:https://github.com/cubecart/v6/issues/2165 /begin/ So, in settings.currency.inc.php, find: if (($request = new Request('www.ecb.europa.eu', '/stats/eurofxref/eurofxref-daily.xml')) !== false) { $request->setMethod('get'); $rates_xml = $request->send(); Change to: if (($request = new Request('www.ecb.europa.eu', '/stats/eurofxref/eurofxref-daily.xml')) !== false) { $request->setMethod('get'); $request->setSSL(); $rates_xml = $request->send(); A few lines later, find: $rates_xml = file_get_contents('http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml'); Change to: $rates_xml = file_get_contents('https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml'); /end/
  4. Ok thanks everyone, changing all the links to https was the answer. In the original post it wasn't made clear that there was more than one link to change. Thanks all for your help.
  5. Correction: I no longer get the error message or a blank screen, but the column indicating the last updated date is stuck on the last time it worked, which was August 30th (it's now September 12th). The rates don't seem to have changed, either. Is this the correct XML file?
  6. Cubecart v 6.2.2 Browser Chrome Windows 10 Hi. I'm new to Cubecart and have set up a new store over the last two weeks which is now live. I've pretty much got all of it going to my liking. I've installed the Kurouto skin and noted that a few options stopped working, such as "hide document title". This is not a big issue and I can live with it, but the following problem is bugging me. When I first installed I tried the currency update option it worked fine and it fetched the rates no problem. Now I try it and all I get is a blank screen and the following error in the system error log: [Exception] /home/tvcommco/public_html/store/admin_xxxxxx/sources/settings.currency.inc.php:37 - String could not be parsed as XML If anyone could point me to a solution I'd be very grateful. My store address is https:www.welovefabric.co.uk/store Thank you.
  • Create New...