My yiiframework is the latest,and at last i can access the istall page,but it can’t work.because the files are prevented to access. The modules I want to install has the different structure directory,and it’s different from the yii.But it can insatll out side the protected file.
yes,I have put it under protected/modules/user as u said but…am finding 1 more issue now…
include(C:\xampp\htdocs\testdrive\protected\modules\user\core\YumWebModule.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory
Sorry for persistence, but I can’t decide try use current version or wait v0.8, Your plans changed (about release 0.8 at the beginning of february) or not?
hi! I’ve create a new app called RWU instead testdrive and when I try to install it (I tried all the possible paths) I get:
Error 404
Unable to resolve the request
I read all the posts but I didn’t find the solution. what files I must modified in order to install the new module in my new app? If I try the same thing with testdrive app it works…!
only one or two more personal hackatons and i declare 0.8 as ‘stable’. It just cant take much longer!
about too much features:
Yes. Yum has much features. Too much. I need to rethink the module substructure, and i already have an idea. But this goes into >0.8 somewhere in the future.
I’ve just checked out and installed Yum from the SVN(revision 307) trunk.
Installation went without much problems.
I’m able to login, using both demo accounts ‘admin’ and ‘demo’.
4 Despite 2 and 3 above, if I change passwords of the demo accounts, or create a new user, I’m unable to login using the newly created accounts nor the new password for the demo I set.
If I copy password hash values directly in the DB, I’m able to restore original passwords and login. As if md5 hash stored in the DB get’s somehow corrupted before it is stored in the DB.
I have not been programming in PHP for a long time, nevertheless,:username statement used in the code below does not make much sense me, similar statements (variable names with a : prefix) are all over Yum source, what are those? is it a bug, or a feature.
Any suggestions are welcomed. Please advise if I’m missing something, what is causing above password changes not to work, dilemma and comment on the :username.
SQL statements are being prepared to avoid SQL injection. This is a Feature. See the guide on how this works
I have no clue about why your password get corrupted. It works on my machine. Did you set a custom function in the application configuration for password hash - or - did you set a salt - of not, could you try and tell us if the password still gets corrupted?
I found what the problem is, but I’m still looking for where it happen and why, I don’t know the framework itself yet, so will need some more time.
Somehow YumUser->$password get’s stored in the DB encrypted twice, I’ve checked this, pls see below, if I store, to the DB, values encrypted only once manually, it works.
[font=“Arial”][size=“2”]I’m trying to install yii-user-management 0.6 on the latest yii release but keep getting errors.[/size][/font]
[font="Arial"][size="2"]When I try to register in index.php?r=user/user/registration I get an error :[/size][/font]
[font=“Arial”][size=“2”]“CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1364 Field ‘timestamp’ doesn’t have a default value”[/size][/font]
[/size][/font][font="Arial"][size="2"]and the user is being added to the DB with status 0.[/size][/font]
[font=“Arial”][size=“2”]I’ve changed the status in the db in order to check other things and saw that if I want to edit my profile in index.php?r=user/user/edit[/size][/font]
[font="Arial"][size="2"]I get an error :[/size][/font]
[font="Arial"][size="2"]Fatal error: Call to a member function getErrors() on a non-object in C:\xampp\htdocs\yii-1.1.6.r2877\framework\web\helpers\CHtml.php on line 1566[/size][/font]
[font="Arial"][size="2"]What should I do to fix those problems?[/size][/font]
I’ve took the files from the SVN, what should I do with the folder “user_mongo”?
When I try to install the [size="2"][color="#1C2837"]module from index.php?r=user/install (default settings) I get an error :[/color][/size]
[size=“2”][color="#1C2837"]CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1364 Field ‘message_new_friendship’ doesn’t have a default value[/color][/size]
[size="2"] [/size]
[size="2"][color="#1C2837"]how do I fix this error?[/color][/size]