ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


cannot login into Atutor 22 after Upgrade


  • 2015-06-25 04:50:10

    cannot login into Atutor 22 after Upgrade

    well after I resolved the upgrade problem I cannot log into atutor 2.2 anymore. since ATutor clones itself as a result of the upgrade I can see that in the older versions I can login with ease while the 2.2 denies everything. as this is a local server, I cannot really reset my password since I cannot get emails from it.
    has something changed in password generation? as I do have access to the database I can manipulatenthat as I wish.

    Things to describe:
    Operating system ATutor is installed on - openSuse
    ATutor version - 2.2 upgraded from 2.0.2
    Patch #s applied - #01-#09
    ATutor theme name -
    versions of php - 5.5.9
    version of mysql - 5.6.16
    webserver & version - apache 2.4.7 (unix)
    Copies of error messages -
    The following errors occurred:

    Invalid login/password combination.

  • 2015-06-25 09:12:14

    Re: cannot login into Atutor 2.2 after Upgrade

    This may be due to old cookies in your browser. Try clearing them. Try a different browser

    Passwords have not changed since 2.0.2.

    You can edit them directly in the database, typing in the password and saving in sha1 format to produce a 40 character encryption.

  • 2015-06-25 09:20:46

    Re: cannot login into Atutor 2.2 after Upgrade

    doesnt seem like the error. I just tried chrome on my phone (which I literally amost never use) and went directly to the site. I tried to log in carefully checking my pw but it didnt help.

    also why would old cookies create an "invalid user/pw" error? seems a bit off to me, I mean cookies usually save session data and are used to keep the EXISTING session intakt and save other data like for tracking and stuff...

  • 2015-06-25 10:30:09

    Re: cannot login into Atutor 2.2 after Upgrade

    There is a security cookie set, that prevents [logins from] multiple domains. Its a common issue when ATutor is moved.

    I noted your other post where you mentioned unpacking then uploading VIA FTP. This inevitably results in seemingly random errors, maybe due to minor corruptions in the code as it uploads file by file. If uploading file by file is how you uploaded ATutor 2.2, there's a possibility this is what's causing the issues you're experiencing.

  • 2015-06-25 10:43:35

    Re: cannot login into Atutor 2.2 after Upgrade

    (these half eternal post timeouts are really annoying, even though I can understand the reason)

    Well I just posted that coz he said that he got a domain with some webspace and I had a lot of webspaces before and most didn't have ssh or similar stuff.
    We are having our own complete servers and as I have a full opensuse with everything I downloaded and extracted it to the server directly. I only chnaged the owner of the files to the daemon user so web access works.
    And I got 2.1.1 the same way on the same server for the original 2.0.2, i tar'd it on the old server and extracted it on the new one. And the cloned 202 as well as the intermediate 211 as well as the 22 ate on the same domain/ip, just different folders. Amd as I said I can log in to the 2.1.1 (the 2.0.2 doesn't really run coz of strict standards error messages from php (I didnt set anything, this is a plain xanpp for Linux with so some small changes in some unrelated configs, like Removing some of the "security" parts (having to access phps Admin in an 800x600 hyperv window is plain annoying)

  • 2015-06-25 10:55:07

    Re: cannot login into Atutor 2.2 after Upgrade

    I did not realize you could login to 2.1.1.

    Are you able to create a new account on 2.2 and login with it?

  • 2015-06-25 11:32:39

    Re: cannot login into Atutor 2.2 after Upgrade

    well I did try to register I can send it and it returns no error nor a success info, but if this thing requires email verification before there is an account visible in the members db (I dont think so) then this way falls since this server cannot send emails, espeically since it's lying on a dynamic IP (testing, you know) and most mail servers iirc dont take mails from those.
    anyway nothing really happened and manual "injection" in the db doesnt work since my AT Admin acc was db-injected from the beeginning since I am just doing the Update and didnt have the system from the beginning, therefore I didnt have admin access.

  • 2015-06-25 12:52:14

    Re: cannot login into Atutor 2.2 after Upgrade

    Email response is a setting that can be turned off in System Preferences, or manually by editing the reference in the ATutor config table (email_confirmation to 0 to disabled). Or, you can go into the members table and manually update the new user to confirm the account by setting status=2.

    Can you confirm that when you created the admin's password you saved the entry using the SHA1 data type?

  • 2015-06-25 12:59:34

    Re: cannot login into Atutor 2.2 after Upgrade

    Well obviously I did inject an account before and as I said the 2.1.1 works.

  • 2015-06-25 13:11:21

    Re: cannot login into Atutor 2.2 after Upgrade

    Yes, would have been sufficient.


    I have no other suggestions.

  • 2015-06-25 13:15:34

    Re: cannot login into Atutor 2.2 after Upgrade

    Is there something like a debug mode where I can see what's going on in the inside?
    I have that in some of my larger php stuff and it's a real lifesaver...

  • 2015-06-25 13:23:00

    Re: cannot login into Atutor 2.2 after Upgrade

    You can enable debugging near the top of include/vitals.inc.php

    See:
    http://help.atutor.ca/developer/guidelines.html#fn-debug

  • 2015-06-26 01:07:52

    Re: cannot login into Atutor 2.2 after Upgrade

    okay I got it working. I have no Idea why but the session path wasnt changed with the Upgrade, lol.
    but why would a wrong session path cause a wrongpw error? that's weird no matter how you slice it...

    well that's why I love doing this dynamically with __FILE__ and stuff...