CMS MADE SIMPLE FORGE

SimpleShop

 

[#12519] Error when trying to install on cmsms 2.2.16

avatar
Created By: Kim Birkeland Skorgenes (master3395)
Date Submitted: Tue Jan 25 14:48:29 -0500 2022

Assigned To: Yuri Haperski (cmsms)
Version: None
CMSMS Version: 2.2.16
Severity: Critical
Resolution: None
State: Open
Summary:
Error when trying to install on cmsms 2.2.16
Detailed Description:
Getting this error when trying to install this module on 2.2.16 using PHP 8.0

INSERT INTO cms_layout_stylesheets
(name,content,description,media_type,media_query, created,modified) VALUES
('SimpleShop Style','/* Category related settings */\n.catdescription\n{\n
margin-left: 0.5em;\n width: 250px;\n}\n\n#catid\n{\n display:
none;\n}\n\n#catinfo\n{\n margin-bottom: 1em;\n width:
450px;\n}\n\n#catimagethumb\n{\n margin: 5px 0 0 0;\n width:
50px;\n}\n\n#catlistheader\n{\n color: #294B5F;\n font-size: 130%;\n
margin-left: 0.5em;\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n margin-right:
1em;\n}\n\n.catlistline\n{\n text-indent: 5mm;\n}\n\n/* Product related settings
*/\n#productcount\n{\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n /*
border-top: 1px solid #294B5F; */\n}\n\n#productid {\n display: none;\n
vertical-align: top;\n}\n\n.img\n{\n margin: 2px;\n border: 1px solid #294B5F;\n
float: left;\n text-align: center;\n}\n.img img\n{\n display: inline;\n height:
auto;\n width: 100px;\n margin: 3px;\n border: 1px solid #ffffff;\n}\n.img
a:hover img\n{\n border: 1px solid #294B5F;\n}\n\n#item_image {\n max-width:
300px;\n}\n\n#producttable tr td {\n vertical-align:
top;\n}\n\n.productdesc\n{\n vertical-align: top;\n margin-left: 0.5em;\n width:
500px;\n}\n\ndiv.productlist\n{\n width: 100%;\n}\n\n.productlist table {\n
width: 100%;\n}\n.productlist table td {\n padding: 5px 15px;\n width:
auto;\n}\n\n.productname\n{\n vertical-align: top;\n padding-bottom: 3px;\n
width: 300px;\n}\n\n.productprice\n{\n color: #294B5F;\n width: 30px;\n
text-align: right;\n}\n\n.productamount\n{\n width: 50px;\n text-align:
right;\n}\n\n.productremove\n{\n padding-left: 5px;\n}\n\n.totalamount\n{\n
font-size: 18px;\n text-align: right;\n}\n\n#productpricesin\n{\n padding-top:
30px;\n}\n\ndiv.attributelist\n{\n padding-bottom: 3px;\n}\ntr.row1\n{\n
background-color: #fff;\n}\n\ntr.row2\n{\n background-color:
#ececec;\n}\n\ntable.productattr\n{\n table-layout:
automatic;\n}\n\n.attrprice\n{\n margin-bottom: 0.2em;\n text-indent:
1cm;\n}\n.billtoinfo {\n cursor: pointer;\n}\n\n.shiperror {\n color:
red;\n}\n\n@media (max-width: 450px) {\n\n.productlist table tr td, .productattr
tr th {\n display: inline;\n}\n\n#producttable tr td {\n display:
inline;\n}\n}','A sample stylesheet for the Shop','',NULL,1643139988,1643139988)
-- Field 'id' doesn't have a default value


History

Comments
avatar
Date: 2022-01-26 04:33
Posted By: Yuri Haperski (cmsms)

It is a bag of the cmsms core. But I tried installing the module and didn`t get
such an error.
I am going to fix the module for php8.