1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Xen Product Manager Error while adding products

Discussion in 'General Pre-Sales and Support Questions' started by Adham, Jul 16, 2017.

  1. Adham

    Adham New Member Xen Product Manager


    1- I'm offering service so I don't want to use the upload options ? How can I ignore it because it's required when I tried to save the product ?

    2- I got this error when I uploaded random file to try saving product, I'm using CentminMod:
    Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
    Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1638
    XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1627
    XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419
    XenForo_DataWriter->save() in XenProduct/DataWriter/Product.php at line 205
    XenProduct_DataWriter_Product->_postSave() in XenForo/DataWriter.php at line 1423
    XenForo_DataWriter->save() in XenProduct/ControllerPublic/Product.php at line 748
    XenProduct_ControllerPublic_Product->actionSave() in XenForo/FrontController.php at line 351
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/nginx/domains/mydomain.com/public/index.php at line 13
  2. Chris D

    Chris D Xen Resources Developer Staff Member Xen Notices

    The current version is very much geared more towards downloadable products, but I will add support for file-less products in the future.

    There are quite a few people who use it for services. Some people attach a file containing their Ts & Cs, others just a readme file, or you could upload any file and then edit the "Download" buttons out of the template (so you upload a file, but it will never be downloaded).

    The actual error message is missing. Is it: "Mysqli prepare error: Unknown column 'is_unsupported' in 'field list'"?

    If so, this query should fix the problem (bug fix release is due soon):
    ALTER TABLE `xenproduct_version`
    ADD COLUMN `is_unsupported` TINYINT(1) NOT NULL DEFAULT '0' AFTER `version_details`
  3. Adham

    Adham New Member Xen Product Manager

    Thanks but where can I add this query ?
  4. Chris D

    Chris D Xen Resources Developer Staff Member Xen Notices

    You just run it in MySQL or PhpMyAdmin.
  5. Adham

    Adham New Member Xen Product Manager

    Thanks SOLVED :)
    Chris D likes this.

Share This Page