Greetings. I seem to be unable to update the order status, in a new brand install of OpenCart 2.0.2.0
I get the error message
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined variable: json in <b>/home/vol13_7/byethost33.com/b33_16181250/htdocs/admin/controller/sale/order.php</b> on line <b>2490</b>
Other pages suggested to add $json = array() at the beginning of the function (public function api()). It didn't work.
I followed the most suggested option, to create a new api user, and set it in Settings->Stores->Mystore->Option. It didn't work.
Looking at the code, it makes me wonder why it checks for $this->request->get['api'], instead of 'api_id'
I wonder more about why there is no default value for $json in this case.
Is there any other solution to this issue? Should I downgrade to a previous version?
I get the error message
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined variable: json in <b>/home/vol13_7/byethost33.com/b33_16181250/htdocs/admin/controller/sale/order.php</b> on line <b>2490</b>
Other pages suggested to add $json = array() at the beginning of the function (public function api()). It didn't work.
I followed the most suggested option, to create a new api user, and set it in Settings->Stores->Mystore->Option. It didn't work.
Looking at the code, it makes me wonder why it checks for $this->request->get['api'], instead of 'api_id'
I wonder more about why there is no default value for $json in this case.
Is there any other solution to this issue? Should I downgrade to a previous version?
That $this->request->get['api'] start is this, eg. admin/view/*/order_form.tpl line 945:david.anez wrote:Greetings. I seem to be unable to update the order status, in a new brand install of OpenCart 2.0.2.0
I get the error message
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined variable: json in <b>/home/vol13_7/byethost33.com/b33_16181250/htdocs/admin/controller/sale/order.php</b> on line <b>2490</b>
Other pages suggested to add $json = array() at the beginning of the function (public function api()). It didn't work.
I followed the most suggested option, to create a new api user, and set it in Settings->Stores->Mystore->Option. It didn't work.
Looking at the code, it makes me wonder why it checks for $this->request->get['api'], instead of 'api_id'
I wonder more about why there is no default value for $json in this case.
Is there any other solution to this issue? Should I downgrade to a previous version?
Code: Select all
url: 'index.php?route=sale/order/api&token=<?php echo $token; ?>&api=api/cart/products
Can anybody provide solution of this issue.
HOME -> Orders
I am facing this issue when trying to update order status.SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined variable: json in <b>/home/storesafe/public_html/admin/controller/sale/order.php</b> on line <b>2490</b>
HOME -> Orders
Please use the search - this issue is discussed so many times (and solutions also presented), that I cannot hear that question again.pkumar@s5systems.com wrote:Can anybody provide solution of this issue.
I am facing this issue when trying to update order status.SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined variable: json in <b>/home/storesafe/public_html/admin/controller/sale/order.php</b> on line <b>2490</b>
HOME -> Orders
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
OSWorX wrote:Please use the search - this issue is discussed so many times (and solutions also presented), that I cannot hear that question again.pkumar@s5systems.com wrote:Can anybody provide solution of this issue.
I am facing this issue when trying to update order status.SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined variable: json in <b>/home/storesafe/public_html/admin/controller/sale/order.php</b> on line <b>2490</b>
HOME -> Orders
I have searched many posts but didn't find any solution for opencart 2.0.2.0
Please, help me out
https://raw.githubusercontent.com/pekka ... .ocmod.xmlpkumar@s5systems.com wrote: I have searched many posts but didn't find any solution for opencart 2.0.2.0
Please, help me out
Have a look through these links
pm-netti wrote:@huha
Have you completed all previous adjustments?
1. API user: http://forum.opencart.com/viewtopic.php ... 48#p531232
2. api_id: http://forum.opencart.com/viewtopic.php ... 48#p531481
3. API User is enabled: http://forum.opencart.com/viewtopic.php ... 48#p531485
4. Addition in admin page Settings > Edit > Option 'API User' is Selected.
Andrew
Andrew Hopps
[url]htttp://www.crystalsuncatchers.co.uk[/url]
[url]htttp://wholesalecrystalsuncatchers.co.uk[/url]
Warning: CURL error (0)!
Same problem still no solution... ??
Same problem still no solution... ??
Hello All,
I have a fresh install of 2.0.2.0 , I have attached it to my old database from the 1.5 converted it to 2.0.2.0 , fix a couple of errors pt I cant get the extension installer to work always getting an error. look thru the whole forum tried the vqmod solution and easy fix extension solution but I cant get the installer to install the export import extension. I NEED SOME HELP, PLEASE !!! I have included a screen shot of the error if anybody can help me thanks you.
I have a fresh install of 2.0.2.0 , I have attached it to my old database from the 1.5 converted it to 2.0.2.0 , fix a couple of errors pt I cant get the extension installer to work always getting an error. look thru the whole forum tried the vqmod solution and easy fix extension solution but I cant get the installer to install the export import extension. I NEED SOME HELP, PLEASE !!! I have included a screen shot of the error if anybody can help me thanks you.
Attachments
ftperror.jpg (41.95 KiB) Viewed 4786 times
Your FTP settings aren't correctly set up in your OpenCart settings. I suggest to either fix that, or you could this extension installer fix which doesn't rely on FTP.I cant get the extension installer to work
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
We are still facing old bugs even in the latest version (2.0.3.1).
http://trueliarx.blogspot.it/2015/04/op ... -path.html
http://trueliarx.blogspot.it/2015/04/op ... -path.html
Hello,
I am using opencart 2.0.3.0. version. When I enter invalid type email address format in the register account email field but it will not giving wrong email format error.
I am using "johndoe@xyxz" email address and it accept email address.
Please using following code for fixed this error,
in place of
Thanks.
I am using opencart 2.0.3.0. version. When I enter invalid type email address format in the register account email field but it will not giving wrong email format error.
I am using "johndoe@xyxz" email address and it accept email address.
Please using following code for fixed this error,
Code: Select all
if ((utf8_strlen($this->request->post['email']) > 96) || !preg_match('/^[^\@]+@.*\.[a-z]{2,6}$/i', $this->request->post['email'])) {
$this->error['email'] = $this->language->get('error_email');
}
Code: Select all
if ((utf8_strlen($this->request->post['email']) > 96) || !preg_match('/^[^\@]+@.*.[a-z]{2,15}$/i', $this->request->post['email'])) {
$this->error['email'] = $this->language->get('error_email');
}
Fresh install of 2.0.3.1
I cannot seem to add or edit any images - banners/products/mfg/categories/etc
in chrome dev mode i get the following errors:

I cannot seem to add or edit any images - banners/products/mfg/categories/etc
in chrome dev mode i get the following errors:
Uncaught TypeError: $(...).autocomplete is not a function
index.php?route=catalog/product/edit&token=71484a81a03546d51333899aabecc056&product_id=42:1895
Uncaught TypeError: $(...).autocomplete is not a function
index.php:1925
Uncaught TypeError: $(...).autocomplete is not a function
common.js:2
When I hover on the image, it points as a redirect to mysite.com/adminUncaught TypeError: $(...).superfish is not a function

Last edited by kevtheirish on Sun Jul 05, 2015 9:55 pm, edited 2 times in total.
2.0.3
it looks as if it is not calling for/accessing the photo editing tool as there is no edit/delete button
have wiped everything and installed several times even with differnt/new MySQL dbs, and same result.
trying to upload 2.0.2 now
it looks as if it is not calling for/accessing the photo editing tool as there is no edit/delete button
have wiped everything and installed several times even with differnt/new MySQL dbs, and same result.
trying to upload 2.0.2 now
pm-netti wrote:https://raw.githubusercontent.com/pekka ... .ocmod.xmlpkumar@s5systems.com wrote: I have searched many posts but didn't find any solution for opencart 2.0.2.0
Please, help me out

Who is online
Users browsing this forum: No registered users and 12 guests