I was getting an error message saying that I did not have permission to access the api. I'd read through a load of solutions on here with none of them working.
My hosting supplier has just updated the PHP version on the site to PHP 5.6 and the error message is no more!
I hope this helps someone else.
Thanks
Stephen
Andrew
Andrew Hopps
[url]htttp://www.crystalsuncatchers.co.uk[/url]
[url]htttp://wholesalecrystalsuncatchers.co.uk[/url]
Firewall, or security settings?exit15 wrote: Wondering if someone has an idea what in CF can be causing this error.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
For all of you facing the issue, check with your host if they are using some sort of CDN and ask how this might impact your situation.
Heart are not supporting OC v2 on there auto install and it will not work on their shared hosting accounts.
Does anyone know why the way loopbacks are handled has changed? And how to change it back would be good too!
Total nightmare. This will undoubtedly affect OpenCarts popularity.
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
It's because v2.0 adds a new API design, which itself isn't bad. The API uses curl calls to common functions on the front end, thus making the system more unified in the process, which is a good thing in theory. But an unexpected side effect is that it doesn't work on some hosts because they disallow curl loopback for some reason. There is no real reason for them to prevent it, they are just being difficult or don't know any better.ThePath wrote:Im a Heart Internet reseller and this is really going to affect me.
Heart are not supporting OC v2 on there auto install and it will not work on their shared hosting accounts.
Does anyone know why the way loopbacks are handled has changed? And how to change it back would be good too!
Total nightmare. This will undoubtedly affect OpenCarts popularity.
So it comes down to a choice between changing host or changing shopping cart if neither is willing or able to change their minds on this.
Andrew
Andrew
Andrew Hopps
[url]htttp://www.crystalsuncatchers.co.uk[/url]
[url]htttp://wholesalecrystalsuncatchers.co.uk[/url]
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Well in "coder" terms it might not be bad, but as you have mentioned yourself 35% of your upgrade customers cant upgrade to v2! Thats just your customers I would think the real number is much much higher. So in usability terms its worse than bad.
Thats sounds promising JNeuhoff!!!!
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
i have 2.0.3.1 on my testing site and so far have been able to place orders. When editing orders, i had to click the Apply button for payment and shipping for it to save. Successfully able to delete orders.
I dont currently use the API but would eventually like to..
so far no errors in the error log.
What things should I look for or other potential showstoppers?
Thanks!
For the record for anybody that finds this thread; In my case it was caused by Maxmind module. Disabling it fixed the issue.nick5000 wrote:Any update on this?
It's strange that such a basic function doesn't work on fresh install.
What settings to change for curl in order to get it to work?
I also had issues in editing Orders in Admin. It was all due the API call. The Api calls the frontend controller/api/order.php.
In the public function edit() some session variables are taken ( shipping, payment etc) which are not available. and so the error. I commented out the whole area and it worked!
regs
Suresh J
Hi have you done a mod for this? all my attempts down this route leave the shipping/payment methods as unapplied - zero value in shipping for example. obviously this then differs from the original order which would cause no end of problems if an order has already been taken and paid for but you just wanted to change customer or product details (i.e. same value) etc.jpsurese wrote:Hi All,
I also had issues in editing Orders in Admin. It was all due the API call. The Api calls the frontend controller/api/order.php.
In the public function edit() some session variables are taken ( shipping, payment etc) which are not available. and so the error. I commented out the whole area and it worked!
regs
Suresh J
Daniel announced he was re-writing the order editing system back in June but not heard anything since:-
https://github.com/opencart/opencart/issues/3062
I haven't looked at 2032rc yet but it seems to me if a solution is to rely on using the front end controller it is going to rely on the same shipping and payment methods (also vouchers, coupons etc.) being available as when the order was placed to be able to re-apply them to get the same result?
Unless there was an option to re-calculate these values ONLY if the product total of the cart was to change? (of course some shipping methods rely on products or weight so even if order total didn't change it would be the admin discretion to re-calculate or not).
Its a bit of a minefield really. Perhaps there needs to be a high level editing system as currently implemented and a low level order editing system that bypasses controller and allows values to be manipulated in the database
1) Update OpenCart to 2.0.3.1
2) Update the server's hosts file so point the website's domain back to the server IP (the domain wasn't live at the time)
3) Update the admin/config.php file so that both the https links are using http rather than https (I don't have an SSL installed currently).
That seemed to fix it. If anyone needs any more info please post back and I'll do what I can to help.
Users browsing this forum: No registered users and 314 guests