you trick does not help fix, because this problem exist on clean installation opencart 2.0.1.0pm-netti wrote:Clean setting table:shamanit wrote:alsopm-netti wrote:@shamanit
@billkor
1. When an error is admin home page, option: make one test order ( ajax is not found orders for front)
2. Check and change need in database field 'api_id' to 1 in table 'api'when I change IP in apache virtualhost from 93.170.128.114 to 127.0.0.1, then msg in nginx log disappear, but edit/remove orders still dont work. In this time no log, no php error, no msg in apache log, no msg in nginx log!?!I just checked on my api table and the api id is already 1
if remove API user or remove API key, then get:Otherwise frontend server (nginx) response HTTP "504 Gateway Time-out"...Code: Select all
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data OK
hemorrhoids
http://forum.opencart.com/viewtopic.php ... 97#p530417
And add settings config_processing_status and config_complete_status
Last edited by shamanit on Wed Dec 03, 2014 5:47 pm, edited 1 time in total.
Yes, empty! Then I try add orders, then I get this bugs HTTP "504 Gateway Time-out" or "SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data" if remove API user or remove API key.pm-netti wrote:Is it your order list is empty?shamanit wrote: you trick does not help fix, because this problem exist on clen installation opencart 2.0.1.0
Can the customer account creation?shamanit wrote:Yes, empty! Then I try add orders, then I get this bugs HTTP "504 Gateway Time-out" or "SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data" if remove API user or remove API key.pm-netti wrote:Is it your order list is empty?shamanit wrote: you trick does not help fix, because this problem exist on clen installation opencart 2.0.1.0
Thanks for your help on this one, I managed to fix it. Just thought I'd rewrite it to make it a little clearer.
1. In Opencart Admin, go to Settings >> API and create a new user.
2. In cPanel navigate to phpMyAdmin and then select your database where your store is installed.
3. Find table oc_setting and then find key "config_api_id".
4. Set the value field to 1 where key = config_ap_id (it was set to 0 on my system).
5. Next go to table oc_api and check that api_id = 1
1. In Opencart Admin, go to Settings >> API and create a new user.
2. In cPanel navigate to phpMyAdmin and then select your database where your store is installed.
3. Find table oc_setting and then find key "config_api_id".
4. Set the value field to 1 where key = config_ap_id (it was set to 0 on my system).
5. Next go to table oc_api and check that api_id = 1
Hi i have the actually same problem.no matter i do it shows up SyntaxError.
1.no Maintenance Mode.
2.set up API user under store setting . even i create a new one and set it up.
3.set etc/host file point my domain to ip.
4.delete htaccess file no password protect .
but still doesn't work. any Idea ?! i think its the Javascript cross domain problem.
1.no Maintenance Mode.
2.set up API user under store setting . even i create a new one and set it up.
3.set etc/host file point my domain to ip.
4.delete htaccess file no password protect .
but still doesn't work. any Idea ?! i think its the Javascript cross domain problem.
Did you read my post, immediately above yours and follow the instructions?hitsilent wrote:Hi i have the actually same problem.no matter i do it shows up SyntaxError.
1.no Maintenance Mode.
2.set up API user under store setting . even i create a new one and set it up.
3.set etc/host file point my domain to ip.
4.delete htaccess file no password protect .
but still doesn't work. any Idea ?! i think its the Javascript cross domain problem.
This problem drives me crazy.
Sometimes it works and sometimes not.
But to be honest, what's the reason for accessing any datas by CURL within the same domain? For me it doesn't make any sense and it's also very buggy.
Sometimes it works and sometimes not.
But to be honest, what's the reason for accessing any datas by CURL within the same domain? For me it doesn't make any sense and it's also very buggy.
I found new feature.RonLens wrote:This problem drives me crazy.
Sometimes it works and sometimes not.
But to be honest, what's the reason for accessing any datas by CURL within the same domain? For me it doesn't make any sense and it's also very buggy.
Page: Order Edit History
Press: Save
Reponse: Payment Method required!
Press: Button Update in field Payment Method.
Response: Success.
Thank you for summarizing. People for whom this doesn't work, might have forgotten to activate their newly made API user in the store settings.rangitotogirl wrote:Thanks for your help on this one, I managed to fix it. Just thought I'd rewrite it to make it a little clearer.
1. In Opencart Admin, go to Settings >> API and create a new user.
2. In cPanel navigate to phpMyAdmin and then select your database where your store is installed.
3. Find table oc_setting and then find key "config_api_id".
4. Set the value field to 1 where key = config_ap_id (it was set to 0 on my system).
5. Next go to table oc_api and check that api_id = 1
Another reason this can occur is if your host is running mod_security. If this is the case you will have to contact them and ask they disable it for your account.
Just spent the last few hours debugging to find this. Hope it helps someone.
Just spent the last few hours debugging to find this. Hope it helps someone.
Who is online
Users browsing this forum: No registered users and 68 guests