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

XR Product Manager Error while adding products

Adham

New Member
XR Product Manager
Thread starter #1
Hi

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:
Code:
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
Thanks
 

Chris D

Xen Resources Developer
Staff member
XR Notices
#2
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 ?
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).

2- I got this error when I uploaded random file to try saving product, I'm using CentminMod:
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):
Code:
ALTER TABLE `xenproduct_version`
ADD COLUMN `is_unsupported` TINYINT(1) NOT NULL DEFAULT '0' AFTER `version_details`