We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2611
    • 394 Posts
    DO NOT POST FOR HELP

    Topic for VisionCart 0.1-beta1

    Please do NOT post in this topic for help but instead go here:
    http://modxcms.com/forums/index.php/board,393.0.html

    For help installing:
    http://modxcms.com/forums/index.php/topic,59002.0.html
      Follow me on twitter: @b03tz
      Follow SCHERP Ontwikkeling on twitter: @scherpontwikkel
      CodeMaster
      • 12596
      • 16 Posts
      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)


        • 26575
        • 57 Posts
        Quote from: ibobriakov at Dec 24, 2010, 10:37 PM

        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


        Same here! (php 5.2.12 / mysql 5.1.43)
          christian seel - www.christianseel.com
          web developer & designer at chsmedien.de
          twitter: @christianseel / @chsmedien
          • 7455
          • 2,204 Posts
          Please see the official VisionCart forums:

          http://modxcms.com/forums/index.php/board,393.0.html

          and especially for the above error:

          http://modxcms.com/forums/index.php/topic,59003.0.html

          topic closed please use the VisionCart forums
            follow me on twitter: @dimmy01
            • 2611
            • 394 Posts
            Quote from: Christian at Dec 25, 2010, 04:06 AM

            Quote from: ibobriakov at Dec 24, 2010, 10:37 PM

            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


            Same here! (php 5.2.12 / mysql 5.1.43)

            All is well, the error is normal...and the fix for the 2nd error is also posted. Go to the correct forums
            to find your answers smiley
              Follow me on twitter: @b03tz
              Follow SCHERP Ontwikkeling on twitter: @scherpontwikkel
              CodeMaster