I am getting the following error when trying to update orders:
SyntaxError: JSON Parse error: Unexpected EOF
OK
Would you happen to have an idea on how to solve this issue? I am currently using Opencast 2.0.1.1, any help would be welcome.
Thank you
Hi,nuno wrote:Hello, guys,
I am getting the following error when trying to update orders:
SyntaxError: JSON Parse error: Unexpected EOF
OK
Would you happen to have an idea on how to solve this issue? I am currently using Opencast 2.0.1.1, any help would be welcome.
Thank you
You can follow this solution to fix it.
Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer
Glad to hear that you figurred out the problemnuno wrote:Wow!! Thank you, opencarthow.com, you just saved my day

Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer
excuse me btt the link you suggested is no longer available, could you be so kind to send the new link or publish the solution ?
Thank you very much
Tiziano
Is your site in the Maintenance Mode? If it is, you should disable it and check the problem again.AlphaAlpha wrote:Hello,
excuse me btt the link you suggested is no longer available, could you be so kind to send the new link or publish the solution ?
Thank you very much
Tiziano
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
thanks
May the problem relates to your server. Could you provide your site url, a admin account and a FTP account via PM, so I can take a look at it closer?AlphaAlpha wrote:No it is not in Maintenace Mode but the problem is that the link suggested is not available, if you try to click on it, you receive a link error.
thanks
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
@ viethemes: The link in the above quote is the one that AlphaAlpha was referring to.opencarthow.com wrote:Hi,nuno wrote:Hello, guys,
I am getting the following error when trying to update orders:
SyntaxError: JSON Parse error: Unexpected EOF
OK
Would you happen to have an idea on how to solve this issue? I am currently using Opencast 2.0.1.1, any help would be welcome.
Thank you
You can follow this solution to fix it.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
- Order Status (the default status applied to orders)
Processing Order Status (multiple selection)
Complete Order Status (multiple selection)
If you update to an order status that has not been selected, you will get a JSON error.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Any possibility that the problem could be the server where I use to test the OC web site before to publish in the right domain ?
I use altervista.org for testing
Thanks
http://www.viethemes.com/how-to-fix-err ... pencart-2/
1. Disable the Maintenance Mode in admin > System > Stores > Your store > tab Server.
2. Go to Admin > System > Users > API > Create new API account.
3. Go to Admin > System > Settings > Edit your store > Select tab Option > Checkout section > set API User to the created account.
However, when I try to checkout right when the account is being created I get this:
Code: Select all
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined variable: format in <b>/home/livelaughlove/public_html/system/modification/catalog/model/account/customer.php</b> on line <b>124</b>[]
</snip>
What happens then is that the account is created, but the checkout page doesn't respond anymore. If I then login and checkout again, the checkout works fine, but this is clearly too convoluted for a regular customer to go through. The big error popup is going to scare everyone away.
Incidentally, if I checkout as guest, everything works fine.
I hope to find a solution for this. We are about to lunch but we can't until the checkout is fixed.
wget www.yourdomain.com
curl www.yourdomain.com
telnet 0 80
This doesn't look like a correct format for hosts file. What did you write exactly?jan499 wrote:The solution for me was to edit the etc/hosts file. Just add this:
wget http://www.yourdomain.com
curl http://www.yourdomain.com
telnet 0 80
This Worked for me - THANK YOUgbisqit wrote:New link
http://www.viethemes.com/how-to-fix-err ... pencart-2/
1. Disable the Maintenance Mode in admin > System > Stores > Your store > tab Server.
2. Go to Admin > System > Users > API > Create new API account.
3. Go to Admin > System > Settings > Edit your store > Select tab Option > Checkout section > set API User to the created account.
ADG - Design, Development and Hosting in Australia
New link
http://www.viethemes.com/how-to-fix-err ... pencart-2/
1. Disable the Maintenance Mode in admin > System > Stores > Your store > tab Server.
2. Go to Admin > System > Users > API > Create new API account.
3. Go to Admin > System > Settings > Edit your store > Select tab Option > Checkout section > set API User to the created account.
This seems to work for ME too..........
Thanks
Bill
Users browsing this forum: paulfeakins and 67 guests