[SOLVED]: Shop Made simple install problems
[SOLVED]: Shop Made simple install problems
I'm trying to install it and it's just not working...
Tried versions: 1.4.1, 1.5.2, 1.5.4
When I try to add new product or category... nothing happens..
Any idea on what I'm doing wrong?
Thanks!
Tried versions: 1.4.1, 1.5.2, 1.5.4
When I try to add new product or category... nothing happens..
Any idea on what I'm doing wrong?
Thanks!
Last edited by lollol on Fri Jun 26, 2009 2:22 pm, edited 1 time in total.
Re: Shop Made simple install problems
The whole Shop/Cart/Payment Made Simple package does take a particular order in installation because of module dependencies. You should install in this order:
ShopMadeSimple
CartMadeSimple
PaymentMadeSimple
ShopMadeSimple
CartMadeSimple
PaymentMadeSimple
Re: Shop Made simple install problems
Oh I forgot to write that... I installed all three modules... in that order.
I can't add any products nor categories...
In the CartMadeSimple I got the following error in the tab menu:
I can't add any products nor categories...
In the CartMadeSimple I got the following error in the tab menu:
Also I get these errors when installing CartMadeSimple:Notice: Undefined index: errors_on in E:\www\dev\animacare\8\modules\CartMadeSimple\action.defaultadmin.php on line 4
Notice: Undefined variable: taboptarray in E:\www\dev\animacare\8\modules\CartMadeSimple\library\orders.api.php on line 55
Notice: Undefined variable: taboptarray in E:\www\dev\animacare\8\modules\CartMadeSimple\library\orders.api.php on line 85
Notice: Undefined variable: taboptarray in E:\www\dev\animacare\8\modules\CartMadeSimple\library\orders.api.php on line 107
Notice: Undefined variable: taboptarray in E:\www\dev\animacare\8\modules\CartMadeSimple\library\orders.api.php on line 124
Notice: Undefined variable: taboptarray in E:\www\dev\animacare\8\modules\CartMadeSimple\library\orders.api.php on line 136
Notice: Undefined variable: params in E:\www\dev\animacare\8\modules\CartMadeSimple\method.install.php on line 182
Re: Shop Made simple install problems
lollol,
You say that you can't add products nor categories. What is the outcome if you have turned on debug (variable in config.php)?
During the add of a category, you should encounter something like 'INSERT INTO ... module_sms_categories...'.
I'm interrested in what follows.
Duketown
You say that you can't add products nor categories. What is the outcome if you have turned on debug (variable in config.php)?
During the add of a category, you should encounter something like 'INSERT INTO ... module_sms_categories...'.
I'm interrested in what follows.
Duketown
Re: Shop Made simple install problems
Ok... I found the reason for one of the problems. One must specify the List Order value (position) in order to add the cat/product. (http://www.pixelfy.com/preview/err1.jpg)
Hoping that I won't be forced to hack the module in order for it to work properly. If this is how the module was designed, other ppl would have issues with it... so I'm guessing (hoping) it's just my install?
Further, there are error messages like in the following image, showing up all over the place (http://www.pixelfy.com/preview/err2.jpg)
Note: Similar errors are showing up in CartMadeSimple and PaymentMadeSimple as well (even while $config['debug'] = false)
Thanks for any help...
Hoping that I won't be forced to hack the module in order for it to work properly. If this is how the module was designed, other ppl would have issues with it... so I'm guessing (hoping) it's just my install?

Further, there are error messages like in the following image, showing up all over the place (http://www.pixelfy.com/preview/err2.jpg)
Note: Similar errors are showing up in CartMadeSimple and PaymentMadeSimple as well (even while $config['debug'] = false)
Thanks for any help...
Re: Shop Made simple install problems
lollol,
Using the list order value is new to me (with regards to reducing number of problems).
What might be the case that in my php.ini the following on error reporting is set:
If E_STRICT is also in the list (or the only parameter), notices are given.
An explanation of E_STRICT is: run-time notices, enable to have PHP suggest changes to your code which will ensure the best interoperability and forward compatibility of your code.
Could you check what values you have in php.ini?
Duketown
Using the list order value is new to me (with regards to reducing number of problems).
What might be the case that in my php.ini the following on error reporting is set:
Code: Select all
error_reporting = E_ALL & ~E_NOTICE
An explanation of E_STRICT is: run-time notices, enable to have PHP suggest changes to your code which will ensure the best interoperability and forward compatibility of your code.
Could you check what values you have in php.ini?
Duketown
Re: Shop Made simple install problems
Awesome... all I had was:
So I changed to it match your settings and it seems to work 
However... a new error, on the frontend. I was just showing the product list.
Tried calling with both:
{cms_module module='ShopMadeSimple'}
{cms_module module='ShopMadeSimple' display='productlist'}
Products and categories seem to be displayed ok... but this error shows on top of the implementation, on every page of the shop:
Thanks up front!
Code: Select all
error_reporting = E_ALL

However... a new error, on the frontend. I was just showing the product list.
Tried calling with both:
{cms_module module='ShopMadeSimple'}
{cms_module module='ShopMadeSimple' display='productlist'}
Products and categories seem to be displayed ok... but this error shows on top of the implementation, on every page of the shop:
Now this is the older version of CMSMS MLE 1.4.1. I hope that it's not the version issue since this is the version of the live site running, where I need to implement the shop...Warning: WARNING: ShopMadeSimple is not properly cleaning input params. in E:\www\dev\animacare\testing\lib\classes\class.module.inc.php on line 1513
Thanks up front!
Re: Shop Made simple install problems
lollol,
Do you have pretty URL turned on?
If so, sorry to disappoint, I'm still working on making that happen with both Shop and Cart Made Simple.
Duketown
Do you have pretty URL turned on?
If so, sorry to disappoint, I'm still working on making that happen with both Shop and Cart Made Simple.
Duketown
Re: Shop Made simple install problems
No I'm not using pretty urls...
Do you have any other ideas?
Do you have any other ideas?
Re: Shop Made simple install problems
lollol,
Could you please include the System Information from the Site Admin menu?
Upper right corner gives easy access to a block of text that you can copy and paste into the answer.
Duketown
Could you please include the System Information from the Site Admin menu?
Upper right corner gives easy access to a block of text that you can copy and paste into the answer.
Duketown
Re: Shop Made simple install problems
Sure thing, here it comes:
----------------------------------------------
Cms Version: 1.4.1
Installed Modules:
* CMSMailer: 1.73.14
* FileManager: 0.4.1
* MenuManager: 1.5.1
* ModuleManager: 1.2.1
* News: 2.8.2
* nuSOAP: 1.0.1
* Printing: 0.2.5
* Search: 1.5.1
* ThemeManager: 1.0.8
* TinyMCE: 2.4.5
* CGExtensions: 1.10.1
* SiteMapMadeSimple: 1.1.3
* FrontEndUsers: 1.6.3
* CustomContent: 1.5.2
* Questions: 1.0.3
* ShopMadeSimple: 0.2.3
* CartMadeSimple: 0.2.2
* PaymentMadeSimple: 1.0.4
Config Information:
* php_memory_limit:
* process_whole_template: true
* max_upload_size: 2000000
* default_upload_permission: 664
* assume_mod_rewrite: false
* page_extension:
* internal_pretty_urls: false
* use_hierarchy: false
Php Information:
* safe_mode: Off (False)
* phpversion: 5.2.8
* memory_limit: 512M
* max_execution_time: 240
* gd_version: 2
* session_save_path: E:/www/php/sess (0777)
Server Information:
* Server Api: apache2handler
* Server Db Type: MySQL (mysql)
* Server Db Version: 5.0.77
----------------------------------------------
Re: Shop Made simple install problems
lollol,
From http://forum.cmsmadesimple.org/index.php/topic,31838.msg156850.html#msg156850 I found the following, posible, resolution:
Go to Global Settings and there is a checkbox that allows you to turn off warnings when a module does not clean input params.
Does that help?
I will try to locate the problem in the coding and include coding in the next release of the modules.
Duketown
From http://forum.cmsmadesimple.org/index.php/topic,31838.msg156850.html#msg156850 I found the following, posible, resolution:
Go to Global Settings and there is a checkbox that allows you to turn off warnings when a module does not clean input params.
Does that help?
I will try to locate the problem in the coding and include coding in the next release of the modules.
Duketown
Re: Shop Made simple install problems
Well, i gots to say - u da man!!! 
That did it, thanks!

That did it, thanks!
Re: [SOLVED]: Shop Made simple install problems
@Duketown
If you would like to use Shop Made Simple with prettyurls I think I have got a solution (it works perfectly for me on CMSMS 1.8.1 MLE).
edit: action.fe_product_list.php
around line 153:
replace:
$prettyurl = 'ShopMadeSimple/'.$row['product_id'].'/'.($detailpage!=''?$detailpage:$returnid);
with:
$prettyurl = 'ShopMadeSimple/prod/'.$row['product_id'].'/'.($detailpage!=''?$detailpage:$returnid);
edit: action.fe_category_list.php
around line 49:
replace:
$prettyurl = 'ShopMadeSimple/'.$category['category_id'].'/'.($detailpage!=''?$detailpage:$returnid);
with:
$prettyurl = 'ShopMadeSimple/cat/'.$category['category_id'].'/'.($detailpage!=''?$detailpage:$returnid);
edit: ShopMadeSimple.module.php
around line 63:
replace:
$this->RegisterRoute('/[sS]hop[mM]ade[sS]imple\/(?P[0-9]+)\/(?P[0-9]+)$/', array('action'=>'fe_product_list'));
with:
$this->RegisterRoute('/[sS]hop[mM]ade[sS]imple\/cat\/(?P[0-9]+)\/(?P[0-9]+)$/', array('action'=>'fe_product_list'));
around line 64:
replace:
$this->RegisterRoute('/[sS]hop[mM]ade[sS]imple\/(?P[0-9]+)\/(?P[0-9]+)$/', array('action'=>'fe_product_detail'));
with:
$this->RegisterRoute('/[sS]hop[mM]ade[sS]imple\/prod\/(?P[0-9]+)\/(?P[0-9]+)$/', array('action'=>'fe_product_detail'));
If you would like to use Shop Made Simple with prettyurls I think I have got a solution (it works perfectly for me on CMSMS 1.8.1 MLE).
edit: action.fe_product_list.php
around line 153:
replace:
$prettyurl = 'ShopMadeSimple/'.$row['product_id'].'/'.($detailpage!=''?$detailpage:$returnid);
with:
$prettyurl = 'ShopMadeSimple/prod/'.$row['product_id'].'/'.($detailpage!=''?$detailpage:$returnid);
edit: action.fe_category_list.php
around line 49:
replace:
$prettyurl = 'ShopMadeSimple/'.$category['category_id'].'/'.($detailpage!=''?$detailpage:$returnid);
with:
$prettyurl = 'ShopMadeSimple/cat/'.$category['category_id'].'/'.($detailpage!=''?$detailpage:$returnid);
edit: ShopMadeSimple.module.php
around line 63:
replace:
$this->RegisterRoute('/[sS]hop[mM]ade[sS]imple\/(?P[0-9]+)\/(?P[0-9]+)$/', array('action'=>'fe_product_list'));
with:
$this->RegisterRoute('/[sS]hop[mM]ade[sS]imple\/cat\/(?P[0-9]+)\/(?P[0-9]+)$/', array('action'=>'fe_product_list'));
around line 64:
replace:
$this->RegisterRoute('/[sS]hop[mM]ade[sS]imple\/(?P[0-9]+)\/(?P[0-9]+)$/', array('action'=>'fe_product_detail'));
with:
$this->RegisterRoute('/[sS]hop[mM]ade[sS]imple\/prod\/(?P[0-9]+)\/(?P[0-9]+)$/', array('action'=>'fe_product_detail'));