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

The demo won't work #194

Open
nakarin4350 opened this issue Sep 26, 2014 · 3 comments
Open

The demo won't work #194

nakarin4350 opened this issue Sep 26, 2014 · 3 comments

Comments

@nakarin4350
Copy link

When click installation I get
"Error 500
CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'yii_user_management_demo.translation' doesn't exist
Yii User Management version 0.9-git-wip.". Any idea ?

@chelipf
Copy link

chelipf commented Sep 29, 2014

Same problem, the thing is that when you open the http://localhost/testdrive/index.php/user/install calls to render function with start view as parameter, and this view uses Yum::SetFlash function that in turn uses Yum::t funcion. You can work around that issue creating the translation table like this:

CREATE TABLE IF NOT EXISTS translation (
message varbinary(255) NOT NULL,
translation varchar(255) NOT NULL,
language varchar(5) NOT NULL,
category varchar(255) NOT NULL,
PRIMARY KEY (message,language,category)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

But this is not the only problem :( , to be continued.

@skworden
Copy link

I had the same problem. After creating the table and running the installer I was getting "trying to get a property of a non object" from user/views/user/login.php line 124

You can register registrationUrl);?>

to fix it i added the following to the config->main->modules portion

'registration' => array(
'registrationUrl' => '../registration/registration/registration',
),

@nakarin4350
Copy link
Author

Thanks for response.

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

No branches or pull requests

3 participants