When I click "Add To Cart" the site hangs, the cart says "Loading..." and will not update items. My fa fa icons also do not show up, they appear as rectangles.
When I click to go to the items product page, everything works fine, the fa fa icons display and I can add the item to the cart. After going to the product page, even if I don't add anything to the cart, and then return to the home page everything on the home page works fine after that. It is only when I first go to the site and try to add an item to the cart that it will not do anything. The homepage only works after i go to the product page then return to the homepage.
I am using a new install of opencart 2.0.1.1 with the default theme.
Any help would be greatly appreciated. Thanks.
When I click to go to the items product page, everything works fine, the fa fa icons display and I can add the item to the cart. After going to the product page, even if I don't add anything to the cart, and then return to the home page everything on the home page works fine after that. It is only when I first go to the site and try to add an item to the cart that it will not do anything. The homepage only works after i go to the product page then return to the homepage.
I am using a new install of opencart 2.0.1.1 with the default theme.
Any help would be greatly appreciated. Thanks.
redirect from now-www to your www domain.
Okay, that is the problem. when I go to example.com is doens't work, if I go to www.example.com it works fine. I redirected my domain to redirect to www.domain.com, but now I get a redirect loop error when I go there. Any suggestions? Thanks, atleast now I know the issue.
dear all,
I have same issue - my cart hangs, I redirected page to http://www.pszczelafarma.pl but I think the issue is my template - journal 2, what should I change to avoid it ?
I have same issue - my cart hangs, I redirected page to http://www.pszczelafarma.pl but I think the issue is my template - journal 2, what should I change to avoid it ?
this depends on your config.php file. Is your website setup with www or no www?
with www
example of config:
this is how it looks =>

I think the issue is that my template journal 2.4.8 is not compatible with OC version 2.1.0.2. I will try to swap/override some files.
example of config:
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://www.pszczelafarma.pl/');
// HTTPS
define('HTTPS_SERVER', 'http://www.pszczelafarma.pl/');
// DIR
define('DIR_APPLICATION', '/home/wilek666/domains/pszczelafarma.pl/public_html/catalog/');
define('DIR_SYSTEM', '/home/wilek666/domains/pszczelafarma.pl/public_html/system/');
define('DIR_LANGUAGE', '/home/wilek666/domains/pszczelafarma.pl/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home/wilek666/domains/pszczelafarma.pl/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home/wilek666/domains/pszczelafarma.pl/public_html/system/config/');
define('DIR_IMAGE', '/home/wilek666/domains/pszczelafarma.pl/public_html/image/');
define('DIR_CACHE', '/home/wilek666/domains/pszczelafarma.pl/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/wilek666/domains/pszczelafarma.pl/public_html/system/storage/download/');
define('DIR_LOGS', '/home/wilek666/domains/pszczelafarma.pl/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/wilek666/domains/pszczelafarma.pl/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/wilek666/domains/pszczelafarma.pl/public_html/system/storage/upload/');

I think the issue is that my template journal 2.4.8 is not compatible with OC version 2.1.0.2. I will try to swap/override some files.
when I looked into error log I have following message:
this line looks like this:
also I can not remove items from cart
Could anyone help ?
Code: Select all
2016-03-24 19:39:18 - PHP Notice: Undefined index: key in /home/wilek666/domains/pszczelafarma.pl/public_html/catalog/view/theme/journal2/template/common/cart.tpl on line 26
this line looks like this:
Code: Select all
<td class="text-center remove"><button type="button" onclick="cart.remove('<?php echo $product['key']; ?>');" title="<?php echo $button_remove; ?>" class=""><i class=""></i></button></td>

Could anyone help ?
It looks like your theme is not compatible with 2.1.x. You should ask the theme seller for support if it was sold as being compatible.
Yes, this helped, after I connected theme to supported OC version, everything works like a charm
thank you

Who is online
Users browsing this forum: Amazon [Bot] and 31 guests