Issues with cart/extended cart modules

26.10.2011 21:08
#1
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Issues with cart/extended cart modules

HI,

I am experiencing sudden issues with both the cart and the extended cart module, which worked fine until now. This is what I get in the module, when the cart is empty:


Warning: unserialize() expects parameter 1 to be string, array given in /home/anotherc/public_html/textile17/components/com_jshopping/models/cart.php on line 33

Warning: Invalid argument supplied for foreach() in /home/anotherc/public_html/textile17/modules/mod_jshopping_cart_ext/tmpl/default.php on line 6

Warning: Invalid argument supplied for foreach() in /home/anotherc/public_html/textile17/components/com_jshopping/models/cart.php on line 167

These warnings disappear when I add something to the cart.

Can you (or someone) advise what might be wrong and how I can fix it?

Your help is much appreciated.


Joomla: 1.7.2
JoomShopping: 3.2.7
PHP: 5.2.17
MySQL: 5.0.92-community
Website Url: www.anotherproject.se/textile17
 
27.10.2011 15:25
#2
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

Anyone?

I have uninstalled and reinstalled the modules, but the error is still there. Is there anyone that can suggest any solution?

Your advise is much appreciated!

 
30.10.2011 00:32
#3
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

Isn't there someone who could advise or suggest what might be wrong? I'd really appreciate any suggestion...


Last change: 30.10.2011 00:33
 
31.10.2011 09:43
#4
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

Pretty please?

 
01.11.2011 10:52
#5
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

No one? Would anyone be willing to lend some paid help? I am really eager to get this sorted (as I guess you can tell).

 
01.11.2011 11:10
#6
Dr.Rivera
Joomshopping forum user no avatar
Name: Jürgen
13.09.2010
Posts: 2276
Quote
Aw: Issues with cart/extended cart modules

Hello,

I see the error message on your site http://www.anotherproject.se/textile17/index.php/bestaellning/foerbrukningsmaterial-2. If I translate this site with google translater from swedish to german, I see no errors!

Maybe a problem with the swedish language?

Webdesigner, you have any idea?

Greetings
Aw: Issues with cart/extended cart modules


Last change: 01.11.2011 11:10

Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):

http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC

http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
 
02.11.2011 13:35
#7
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

Hello, and thank you, Dr. Rivera. Webbdesigner, any possibilty of you looking into this?

 
03.11.2011 10:04
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Issues with cart/extended cart modules

Error?

 
03.11.2011 14:41
#9
Dr.Rivera
Joomshopping forum user no avatar
Name: Jürgen
13.09.2010
Posts: 2276
Quote
Aw: Issues with cart/extended cart modules

Here the errors. I did it for BorderC
http://www.anotherproject.se/textile17/index.php/bestaellning/foerbrukningsmaterial-2

Aw: Issues with cart/extended cart modules


Last change: 03.11.2011 14:42

Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):

http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC

http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
 
03.11.2011 15:25
#10
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

Thanks again, Dr. Rivera.

Webdesigner: Error, warning - either way there is an issue that I can't understand. Is there any way that you could advise what might be the cause and suggest a solution.

Your assistance is highly appreciated.

 
04.11.2011 08:12
#11
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Issues with cart/extended cart modules

Sory.
I do not see any errors on your site.
Where I have to click ....


Last change: 13.07.2015 09:38
 
07.11.2011 11:56
#12
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

Thank you for your reply. It is curious that you don't get the same result. I have tried it on several computers/browsers and I attach a screenshot taken a minute ago with Firefox 7 and MacOS 10.7. The warnings are there.

Do you think you could take a second look and perhaps give me some guidance as to what the cause of the warnings can be?

Please go to "Beställ" and "Förbrukningsmaterial" in the main menu. The warnings appear when the cart module is empty, but disappear when something is added.

Thank you very much in advance!
Aw: Issues with cart/extended cart modules


Last change: 07.11.2011 11:59
 
07.11.2011 14:16
#13
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Issues with cart/extended cart modules

disable page (shop)
http://www.anotherproject.se/textile17/index.php/bestaellning/bestaell-tester

 
08.11.2011 10:26
#14
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

Can't do that. I am running RedShop parallel to Joomshopping. Both are needed. Are you suggesting that running them both is causing the problem? Why? If so, is there a workaround for that?

 
09.11.2011 08:07
#15
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Issues with cart/extended cart modules

need change
components\com_jshopping\models\cart.php

Try change.
function load($type_cart = "cart"){
$jshopConfig = &JSFactory::getConfig();
$this->type_cart = $type_cart;


to
function load($type_cart = "cart"){
$jshopConfig = &JSFactory::getConfig();
$this->type_cart = "js_".$type_cart;


 
09.11.2011 11:24
#16
BorderC
Joomshopping forum user no avatar
Name: Christoffer Geijer
22.04.2011
Posts: 44
Quote
Aw: Issues with cart/extended cart modules

Thank you so much, Webdesigner. Your advised code change seems to have solved the issue. I will provide a definite report after some more testing.

Again thanks!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.