Menu

#18 User.php does not match mysql schema table automatedtasks

open
nobody
None
5
2003-06-06
2003-06-06
No

Good evening. Anyone who downloads the current (or
cvs) of weborganizer is going to be unable to correctly
login in with new users.

The mysql script creates a "automatedtasks" table with
auto_id,
auto_type,auto_user,auto_dstart,autodtend,auto_authke
y,auto_run

However in /webo/lib/webo/User.php
it tries to do a "SELECT task_user from automatedtasks
where task_type = 'login'

Neither task_user nor task_type exist in
automatedtasks.

Either User.php or the mysql schema is incorrect.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    It appears as though all of the references in User.php that
    are prefixed with "task_" should be changed to "auto_". This
    will correct this issue, but still does not correct the greater
    issue of being redirected from the signin.php page back to the
    signin.php page after successful login.

     
  • Nobody/Anonymous

    Logged In: NO

    Is this corrected somewhere?
    I'm always redirect to signin.php
    I have download it 11 october 2003

    Thank you

     
  • Sean Summers

    Sean Summers - 2003-12-17

    Logged In: YES
    user_id=83086

    It seems that the table autpermission needs to have the user
    referenced to a role before login can occur.

    I have just downloaded this package, so I don't know where
    it is dropping the ball; I believe it is in
    ./modules/admin/user/form.php.

     
  • Sean Summers

    Sean Summers - 2003-12-17

    Logged In: YES
    user_id=83086

    Minimum requirements to allow login:
    insert into autpermission values ('username','webo-user');

     

Log in to post a comment.