Error installing jojo_cart_products_wine

Error installing jojo_cart_products_wine, a forum discussion on Jojo CMS. Join us for more discussions on Error installing jojo_cart_products_wine on our Plugin Support forum.

Back to Forum Index : Back to Plugin Support   RSS
logicbomb

31 Dec 2009
Posts: 20

I did a fresh installation of Jojo cms rc2 and installed the plugins jojo_cart, jojo_cart_products1 and jojo_cart_products_wine in order. The installation of jojo_cart, jojo_cart_products1 went well but jojo_cart_products_wine failed to install. The event log shows the error

C:\xampp\htdocs\jojocms\plugins\jojo_core\classes\Jojo.php "Undefined index: jojo_cart_products_wine" line 249

Is there any way to debug the error? I want to create a product catalog for my site and I am in the course of creating one. Thanks in advance
Harvey

Core Developer

Harvey

31 Dec 2009
Posts: 327

I'll try doing these steps myself and see if I can replicate the problem.

In the interim, I would suggest using the latest Jojo 1.0 branch from our SVN repository which is more stable than the RC2.

Also, I'm not sure if jojo_products1 and jojo_products_wine were designed to co-exist peacefully. It may well be that you can only use one of these at a time.

I wrote jojo_products1 but haven't used jojo_products_wine as yet so can't give a complete answer on this without looking into it further.
logicbomb

31 Dec 2009
Posts: 20

I have downloaded jojo1.0 from the branch and installed the plugins but in vain. I installed jojo_cart first and then jojo_products_wine alone. I think there is a problem with the installation script as the tables are not created in the db.

The Undefined index: jojo_cart" line 249 error happens for jojo_cart but the installation and the plugin works fine. May i request you to try and pls let me know if you are able to replicate the error? The site URL is http://test.citizenblogging.com
logicbomb

1 Jan 2010
Posts: 20

Hi, Harvey I fixed the error by changing the lines in install/autoupdate_product.inc file from

'fd_options' => Jojo_Plugin_Jojo_cart_products_wine::_getPrefix(),

to

'fd_options' => class_exists('Jojo_Plugin_Jojo_cart_products_wine') ? Jojo_Plugin_Jojo_cart_products_wine::_getPrefix() : '',

The above change fix the installation issue. Thanks
Harvey

Core Developer

Harvey

4 Jan 2010
Posts: 327

OK, thanks for that. I have committed this fix to the SVN for this plugin.
Back to Forum Index : Back to Plugin Support   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.