ATutor

Learning Management Tools







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


Admin login on upgrade fails me


  • 2006-07-09 12:51:01

    Admin login on upgrade fails me

    ATutor Version:
    1.5.3 (build unknown - 2006-07-09 07:05:34)
    Operating System:
    Darwin 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh
    Web Server:
    Apache/2.0.52 (Unix) PHP/4.3.9 DAV/2
    PHP Version:
    4.3.9
    MySQL Version:
    4.0.21 Complete MySQL by Server Logistics


    I upgraded from 1.5.2 to 1.5.3, as follows:
    I first duplicated the AT2006 database to one called Atutor153.
    The old database was called AT2006 connected to the AT2006 web folder
    The new one is Atutor153 connected to the Atutor153 web folder

    I can log into AT2006 as my superuser admin account, but can not do the same for the new ATutor153 database. See below for the errors generated when I try to log into Atutor153 as the ssuperuser.

    Yet ... if I log into AT2006 as the superuser, then manually change the directory to ATutor153 in the URL line, I'm in as the superuser for Atutor153.


    Any idea what gives?

    larry

    -----
    Errors:

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /Library/Apache2/htdocs/atutor153/login.php on line 113

    Warning: Cannot modify header information - headers already sent by (output started at /Library/Apache2/htdocs/atutor153/login.php:113) in /Library/Apache2/htdocs/atutor153/login.php on line 165

    Warning: Cannot modify header information - headers already sent by (output started at /Library/Apache2/htdocs/atutor153/login.php:113) in /Library/Apache2/htdocs/ATutor153/include/header.inc.php on line 17

    Warning: Cannot modify header information - headers already sent by (output started at /Library/Apache2/htdocs/atutor153/login.php:113) in /Library/Apache2/htdocs/ATutor153/include/classes/Language/Language.class.php on line 123

  • 2006-07-10 10:19:59

    Re: Admin login on upgrade fails me

    If you change the database you're using then you have to change it in the config.inc.php file as well before upgrading.

  • 2006-08-10 06:24:22

    Fresh install

    atutor 1.5.2

    SERVER_SOFTWARE
    Apache/2.2.0 (Unix) PHP/5.1.2 mod_fastcgi/2.4.2 mod_ssl/2.2.0 OpenSSL/0.9.7i
    mysql 5.0.20a



    Hi greg and joel

    Based upon my recent almost successful upgrade (previous message) I again can not login as an admin. (it was never resolved from the time I started this thread). I also get some header error info.

    I manually added a new user to the admin table and still the same issue

    ----------


    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /Library/WebServer/Documents/ATutor/include/classes/Module/Module.class.php on line 57

    Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/ATutor/include/classes/Module/Module.class.php:57) in /Library/WebServer/Documents/ATutor/login.php on line 165

    Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/ATutor/include/classes/Module/Module.class.php:57) in /Library/WebServer/Documents/ATutor/include/header.inc.php on line 17

    Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/ATutor/include/classes/Module/Module.class.php:57) in /Library/WebServer/Documents/ATutor/include/classes/Language/Language.class.php on line 123

  • 2006-08-10 06:50:30

    database

    database is really 1.5.3.2


    larry

  • 2006-08-10 10:42:21

    Re: database

    are you upgrading from 1.5.2 to 1.5.3.2 ?

    did you try a fresh installation of 1.5.3.2?

  • 2006-08-10 11:07:36

    Re: database

    Hi Joel

    I gave up on the upgrade and decided to do a fresh install.
    I dumpted my data into a text file and removed all drop/create table references. I just left the insert commands.

    During import (run new query) I only encountered issues with the members and courses tables. ( second_name and private_email data placeholders [,''] had to be added to my members' data lines; release_date and banner entries had to be added to my courses' data lines)

    Were there any other major table changes between 1.5.2 and 1.5.3.2 that I might have missed?

    It appears to be working so far, based upon my very limited testing

    larry

  • 2006-08-29 13:09:27

    Re: database

    You can see a list of database changes in the install/db/ directory. The files are clearly named.