Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial install does't work #13

Open
GoogleCodeExporter opened this issue Apr 15, 2015 · 4 comments
Open

initial install does't work #13

GoogleCodeExporter opened this issue Apr 15, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 23 Feb 2012 at 10:38

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 25 Feb 2012 at 8:40

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 27 Feb 2012 at 11:49

@GoogleCodeExporter
Copy link
Author

You have 'shop' => array('debug' => false),
Should be 'shop' => array('debug' => true),

Original comment by [email protected] on 29 Mar 2012 at 10:05

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 26 Jul 2013 at 7:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant