Please read this topic, the solution is there.dpit wrote:Anyone facing issues editing orders?
I'm clicking continue on step 1 and being returned:
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
[domain]/admin/view/javascript/jquery/jquery-2.1.1.min.js
Line 4
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Notice: Undefined index: custom_field in /admin/model/sale/customer.php on line 4Warning: Cannot modify header information - headers already sent by (output started at /admin/index.php:84) in /system/library/response.php on line 12
I had the same problem. It looks like line 118 in /catalog/model/payment/pp_express.php has an incorrect field name. Instead of 'modified' it should be 'date_modified'.bigtoe wrote:After trying a test order via paypal express i get the following error:
Apart from this error everything appears to have worked ok. The paypal account received the payment and the order is in the admin.Notice: Error: Unknown column 'modified' in 'field list'
Error No: 1054
INSERT INTO `oc_paypal_order` SET `order_id` = '5', `date_added` = NOW(), `modified` = NOW(), `capture_status` = 'Complete', `currency_code` = 'GBP', `total` = '1', `authorization_id` = '5[snip]6' in /public_html/system/library/db/mysqli.php on line 40Warning: Cannot modify header information - headers already sent by (output started at /public_html/index.php:102) in /public_html/system/library/response.php on line 12
The only other issue is that back on the site the shopping cart still has the item in it.
Also, the order status is set to "complete" - is this correct?
Code: Select all
`modified` = NOW(),
Code: Select all
`date_modified` = NOW(),
I think I have found two bugs in version 2.0 (clean install) when changing Order history.
1) After checking out a product the order is set in status 'Pending'. However the product's quantity has been decreased while in Store settings the 'Processing Order Status' array contains only 'Processing'. Every time I change the status to a non "processing" status the product's quantity is decreased. I would expect that the quantity would not be increased immediately but only when I change the status to 'Processing' (or 'Complete')
I believe the bug is in the file catalog/model/checkout/order.php:
Code: Select all
// If current order status is not processing or complete but new status is processing or complete then commence completing the order
if (!in_array($order_info['order_status_id'], array_merge($this->config->get('config_processing_status'), $this->config->get('config_complete_status'))) || in_array($order_status_id, array_merge($this->config->get('config_processing_status'), $this->config->get('config_complete_status')))) {
2) When deleting an order (BTW since every order row now has its own delete icon the first column with the selected checkboxes is not needed, is it?), I get redirected to a page with url: ...route=sale/order/delete&token=...&order_id=. No success message, not anything.
It seems to me that the reason is in the file catalog/controller/api/order.php in delete() function (last lines):
Code: Select all
print_r($json);
//$this->response->addHeader('Content-Type: application/json');
//$this->response->setOutput(json_encode($json));
Code: Select all
//print_r($json);
$this->response->addHeader('Content-Type: application/json');
$this->response->setOutput(json_encode($json));
Hope it helps.
Regards
Just try to edit an order (maintenance mode or not) for example.
I also suspect double quotes and specials characters breaking json in the new api() function (which takes 1.2sec to execute due to curl)
Each page in admin takes 5~5.5 sec before display (due to the less compiler), imagine adding tenths of product with that, you loose your time !
This is a product at beta level, no more.
**This fixed the email issue through mail within OC admin**pprmkr wrote:Solution for Admin - Marketing - Contact not sending mail: E-Mail Message required!
Edit admin/view/template/marketing/contact.tpl
After:Add:Code: Select all
function send(url) {
Code: Select all
$('textarea[name="message"]').html($('#input-message').code());
Visit Thoughtfulthumb.co.uk and I would be happy to receive any thoughts or problems you pick up on! I am a new business, have had successfull previous companies and New to developing a software based website. Thank you.
In "admin/view/template/catalog/information_form.tpl", line 53 reads:
Code: Select all
<label class="col-sm-2 control-label" for="input-description"><?php echo $entry_description; ?></label>
Code: Select all
<label class="col-sm-2 control-label" for="input-description<?php echo $language['language_id']; ?>"><?php echo $entry_description; ?></label>
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!
It was just here for announcing something new at eCommerce expo 2014 uk on 1st october.
This is a fresh install.
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
I disabled the 2nd default slideshow (it appears on the left column of the category page after a new install) and I get this error on the category page:
Notice: Undefined index: width in /home/ooo/public_html/ooo/oc/catalog/controller/module/slideshow.php on line 12Notice: Undefined index: height in /home/ooo/public_html/ooo/oc/catalog/controller/module/slideshow.php on line 13Notice: Undefined index: banner_id in /home/ooo/public_html/ooo/oc/catalog/controller/module/slideshow.php on line 17
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
Visit Thoughtfulthumb.co.uk and I would be happy to receive any thoughts or problems you pick up on! I am a new business, have had successfull previous companies and New to developing a software based website. Thank you.
I don't know how or why but this one seemed to clear itself up. It can be deleted if the mods want to.cwswebdesign wrote:Is anyone else having an issue with the link in admin to view the store? Mine points to the install page which has obviously been deleted.
This is a fresh install.
DL
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
Updated my server, restarted, the website was still working until about an hour or so later.
now i cant get anything out of error logs other then:
Code: Select all
PHP Fatal error: Call to a member function get() on a non-object in L:\OCATION\OF\SITE\index.php on line 97
server: IIS6, FastCGI, PHP5.4
2.0.0.1 is underway, that should clear up a lot of issues.gsc1ugs wrote:Am I in the right thread? is OC 2 not ready?
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
Users browsing this forum: No registered users and 131 guests