While trying to install package on my local environment (XAMPP version 1.7.1) I’ve got next error:
Workspace environment initiated, now installing package...
Error 42S02 executing statement: INSERT INTO `modx_visioncart_modules` (`id`, `type`, `name`, `description`, `controller`, `config`, `active`) VALUES ('1', 'payment', 'example', 'Example payment module', 'example/index.php', '{\"paymentCountry\":\"all\",\"paymentMaximimumAmount\":0,\"paymentPercentage\":0,\"paymentCosts\":5}', '1') Array ( [0] => 42S02 [1] => 1146 [2] => Table 'blogs.modx_visioncart_modules' doesn't exist )
Created table `modx_visioncart_modules` SQL: CREATE TABLE `modx_visioncart_modules` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT,`type` VARCHAR(15) NOT NULL DEFAULT '',`name` VARCHAR(50) NOT NULL DEFAULT '',`description` TEXT NOT NULL,`controller` VARCHAR(255) NOT NULL DEFAULT '',`config` TEXT NOT NULL,`active` TINYINT(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`)) TYPE=MyISAM
Then package was installed somehow (including VisionCart shop resources), but trying to access VisionCart webshop page, I got next error on front-end:
Fatal error: Call to a member function get() on a non-object in D:\XAMPP\xampp\htdocs\blogs\core\components\visioncart\model\visioncart\visioncart.class.php on line 234
Here is the config of my environment:
+ Apache 2.2.11
+ MySQL 5.1.33 (Community Server)
+ PHP 5.2.9 + PEAR (Support for PHP 4 has been discontinued)
+ XAMPP Control Version 2.5 from www.nat32.com
+ XAMPP CLI Bundle 1.3 from Carsten Wiedmann
+ XAMPP Security 1.0
+ SQLite 2.8.15
+ OpenSSL 0.9.8i
+ phpMyAdmin 3.1.3.1
+ ADOdb 5.06a
+ Mercury Mail Transport System v4.62
+ FileZilla FTP Server 0.9.31
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ eAccelerator 0.9.5.3 fьr PHP 5.2.9 (but not activated in the php.ini)