mbassichetti / yii-shop

Automatically exported from code.google.com/p/yii-shop
0 stars 0 forks source link

initial install does't work #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. fresh yii/yii-shop
2. go to install page
3. press install, it sends you to root/install

2. http://demo.itlatvija.lv/yiiShop/yiiShop/index.php?r=shop/shop/install
3. http://demo.itlatvija.lv/yiiShop/yiiShop/install

What is the expected output? What do you see instead?

to install the tables
What version of the product are you using? On what operating system?
debian

Please provide any additional information below.

Original issue reported on code.google.com by kurr...@gmail.com on 23 Feb 2012 at 10:38

GoogleCodeExporter commented 8 years ago
Installation 

To install this module, follow the following steps:

1.) extract the file under the modules/ directory of your Web Application

2.) set up the Module in your protected/config/main.php:

return array(
 [...]
 'modules' => array('shop' => array( 'debug' => 'true')),
 [...]
3.) run /shop/install in your Web Browser

4.) follow the on-screen installation instructions

5.) Create an empty directory containing your Product Images. By Default, this 
is approot/productimages. Make sure it is writable by your Web Server Process.

6.) After Installation, make sure to remove the 'debug' => 'true' in your 
Configuration.

7.) Read docs/config.txt for Configuration Options

http://www.yiiframework.com/extension/yiishop/

Original comment by V.Kopi...@gmail.com on 25 Feb 2012 at 8:40

GoogleCodeExporter commented 8 years ago
I can get the installation started.

/shop/install - doesnt exists(maybe it is some config in yii?)
/shop/shop/install - this exists with start install page
when i press install on that page it redirects me to /shop/install where it 
would normaly do the installing but since the page doest exist no install is 
happening

here is modules 
'modules' => array(
          // uncomment the following to enable the Gii tool

          'gii' => array(
                'class' => 'system.gii.GiiModule',
                'password' => 'test',
                // If removed, Gii defaults to localhost only. Edit carefully to taste.
                'ipFilters' => array('192.168.241.86', '127.0.0.1', '::1'),
          ),
          'shop' => array('debug' => false),
          'user' => array('debug' => false,),
     ),

Original comment by kurr...@gmail.com on 27 Feb 2012 at 11:49

GoogleCodeExporter commented 8 years ago
You have 'shop' => array('debug' => false),
Should be 'shop' => array('debug' => true),

Original comment by karlosk...@gmail.com on 29 Mar 2012 at 10:05

GoogleCodeExporter commented 8 years ago
same issue here, with shop debug=true.

I've installed the tables manually (making a revers engineering of the mwb 
file), but it shows an exception:

CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not 
found: 1054 Unknown column 'status' in 'where clause'. The SQL statement 
executed was: SELECT COUNT(*) FROM `shop_products` `t` WHERE status = 1 

it seems that the database schema is not updated, because the element has no 
status field.

Original comment by dvela...@gmail.com on 26 Jul 2013 at 7:05