Orders not recording due to Anti-Fraud being enabled:
Enabling fraud modules throws this error during order completion:
"Call to a member function check() on a non-object in /catalog/model/checkout/order.php"
Issue & fix here:
http://forum.opencart.com/viewtopic.php ... 49#p638230
Filemanager:
It seems it is possible to call for a directory on this function
Code: Select all
+ '&directory=' + $element.attr('directory')
You can test this by clicking the (parent) button and will lead you to into the catalog ROOT directory.
Is this normal?
This was resolved by deleting the folders mentioned herejens_b wrote:Druvan wrote:After installing v2302 i get following error when choosing Klarna invoice as payment.
I do not get any errors when using cod or banktransfer.
Notice: Undefined index: total in /xxx/httpd.www/catalog/model/extension/total/sub_total.php on line 21Notice: Undefined index: total in /xxx/httpd.www/catalog/model/extension/total/shipping.php on line 24Notice: Undefined index: taxes in /xxx/httpd.www/catalog/model/extension/total/tax.php on line 4Warning: Invalid argument supplied for foreach() in /xxx/httpd.www/catalog/model/extension/total/tax.php on line 4Notice: Undefined index: total in /xxx/httpd.www/catalog/model/extension/total/total.php on line 9
Did you find any fix for this?, I have the same problem
Hi! Sorry I was unclear, I didn't update OC, I have this problem with a vanilla install of OC 2.3.0.2 and the included Klarna Invoice/Account payments. This fixed it for Klarna Invoice but not for Klarna Account: https://github.com/opencart/opencart/pull/4655Qphoria wrote: This was resolved by deleting the folders mentioned here
Appart from that I got following problems with Klarna:
- Decimal problem, prices are sent wrong, so 100 is sent as 1.00, in OC 1.5.6 it was enough to make sure the currency had 2 decimals, but that fix doesn't work in 2.3.0.2, 100.00 is still sent as 1.00 to Klarna.
- Confirming order don't take you to the thank you page - I found a fix for it here https://github.com/opencart/opencart/issues/2794
- Klarna Fee don't show up, this total module should be visible when choosing Klarna Invoice but is not.
after that I access my website and it showedini_set('display_errors', 1);
ini_set('log_errors', 1);
error_reporting(E_ALL);
What I have to do next? Please help me with it.Fatal error: Uncaught exception 'Exception' with message 'Error: Unknown column 'api_id' in 'where clause'<br />Error No: 1054<br />DELETE FROM oc_cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)' in /var/www/vhosts/mywebsite.com/httpdocs/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/vhosts/mywebsite.com/httpdocs/system/library/db.php(16): DB\MySQLi->query('DELETE FROM oc_...', Array) #1 /var/www/vhosts/mywebsite.com/httpdocs/system/library/cart/cart.php(15): DB->query('DELETE FROM oc_...') #2 /var/www/vhosts/mywebsite.com/httpdocs/catalog/controller/startup/startup.php(185): Cart\Cart->__construct(Object(Registry)) #3 [internal function]: ControllerStartupStartup->index() #4 /var/www/vhosts/mywebsite.com/httpdocs/system/engine/action.php(51): call_user_func_array(Array, Array) #5 /var/www/vhosts/mywebsite.com/httpdocs/system/engine/front.php(34): Action->execute(Object(Registry)) #6 /var/www/vhosts/mywebsite.com/httpdocs/system/engine/front.php(19): Front->execute(Object(Action)) #7 in /var/www/vhosts/mywebsite.com/httpdocs/system/library/db/mysqli.php on line 40
Sorry for my poor English.
So now you have the problem that the table cart has no row api_id which is requested in that query.
Open your database management tool (e.g. phpMyAdmin), select the the table cart and add this row after cart_id:
Code: Select all
`api_id` int(11) NOT NULL
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I've just done a new OC install 2.3.0.2 via Softaculous.
1. No thumbnails shown in admin for product images
2. image upload not working , error message "Warning! Directory does not exist"
The source code for demo product "Apple Cinema 30"" shows an empty SRC tag:
Code: Select all
<div class="tab-pane" id="tab-image">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<td class="text-left">Image</td>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left"><a href="" id="thumb-image" data-toggle="image" class="img-thumbnail"><img src="" alt="" title="" data-placeholder="" /></a><input type="hidden" name="image" value="catalog/demo/apple_cinema_30.jpg" id="input-image" /></td>
</tr>
</tbody>
</table>
Code: Select all
define('DIR_IMAGE', '/home2/***/public_html/image/');
The error is on a fresh install of OC with default template and demo files, no changes made at all. Trying different PHP versions doesn't appear to make any difference, tried PHP 7.0, now switched back to 5.5. Browser is Chrome on Mac.
I'm at a loss how to debug this, the server is a live server with many other CMS / eCom installs, why a new OC install would fail is beyond me. Is there a known bug in 2.3.0.2?
Many thanks, Edith
UK Web Hosting for Designers & Developers by TerraNetwork (Norwich, UK) for websites of all sizes.
Everything went well. The image file is passed image/data to image/catalog but against the shop, the images do not appear. My config.php files seem ok
Should I change anything? Or ? Thank you for your help.
Opencart 3.0.3.2
Journal 3
Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau
Opencart 3.0.3.2
Journal 3
Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau
We run two partitions on our servers, home and home2. On /home2/ OpenCart 2.3.0.2 doesn't work, on /home/ it does.
I'm not sure where the bug in the code that doesn't like the other partition, but would be great if it could be fixed, I'm sure we can't be the only ones who use partitions on the server.
For now, we will move clients who have issues with OC onto the /home/ partition or provide symlinks to get the config to work.
Best regards, Edith
UK Web Hosting for Designers & Developers by TerraNetwork (Norwich, UK) for websites of all sizes.
i got these errors
after i copy opencart 2.3.0.2 files and before upgrade
Catchable fatal error: Argument 2 passed to Event::trigger() must be of the type array, string given, called in /home/makeupfr/public_html/system/storage/modification/system/engine/loader.php on line 119 and defined in /home/makeupfr/public_html/system/engine/event.php on line 19
I tested sending enquiry from contact us on opencart 2.3.0.2, but it didn't received to addressed email although enquiry has been send statement. I do not know where the problem was because there didn't have error statement. Could you help me for resolve this problem?
uP !stef83136 wrote:Hi, I just upgraded a clone shop of 2.1.0.2 to 2.3.0.2
Everything went well. The image file is passed image/data to image/catalog but against the shop, the images do not appear. My config.php files seem ok
Should I change anything? Or ? Thank you for your help.
Opencart 3.0.3.2
Journal 3
Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau
Notice: Undefined index: total in /xxx/httpd.www/catalog/model/extension/total/sub_total.php on line 21Notice: Undefined index: total in /xxx/httpd.www/catalog/model/extension/total/shipping.php on line 24Notice: Undefined index: taxes in /xxx/httpd.www/catalog/model/extension/total/tax.php on line 4Warning: Invalid argument supplied for foreach() in /xxx/httpd.www/catalog/model/extension/total/tax.php on line 4Notice: Undefined index: total in /xxx/httpd.www/catalog/model/extension/total/total.php on line 9
Did you find any fix for this?, I have the same problem[/quote]
This was resolved by deleting the folders mentioned here[/quote]
It will not work, i have deleted all folders.
Still have same problem.
Could it be something with my locale or code for my language?
Have you got a url to your sitestef83136 wrote:uP !stef83136 wrote:Hi, I just upgraded a clone shop of 2.1.0.2 to 2.3.0.2
Everything went well. The image file is passed image/data to image/catalog but against the shop, the images do not appear. My config.php files seem ok
Should I change anything? Or ? Thank you for your help.
The site went into production. I had to keep in image / data for the old images which appear in the shop and in the new catalog
Opencart 3.0.3.2
Journal 3
Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau
Users browsing this forum: No registered users and 18 guests