ATutor

Learning Management Tools







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


Mysql error on home page


  • 2009-03-10 18:12:24

    Mysql error on home page

    I am receiving the following error on the top of my atutor home page:

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /training/include/lib/output.inc.php on line 268

    After I login as admin, I see an additional error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/jlazerus/public_html/training/include/lib/output.inc.php:268) in /home/jlazerus/public_html/training/include/classes/Language/Language.class.php on line 123


    Things to describe:
    Operating system ATutor is installed on - Linux 2.6.28
    ATutor version - 1.6.2
    Patch #s applied - 1 through 17
    ATutor theme name -
    PHP version - 5.2.8
    MySQL version - 5.1.30
    Webserver & version - Apache
    Copies of error messages - see above
    Changes to default settings - None
    Web browser being used - IE7
    ...and anything else relevant -

  • 2009-03-11 10:26:52

    Re: Mysql error on home page

    These queries are both looking for language in the language table of the ATutor database.

    Which language are you using?

    Try reinstalling.

    Import another language pack and switch to that language, and see if it helps.

  • 2009-06-03 02:17:43

    Re: Mysql error on home page

    I'm using English for my language. I had previously had Atutor installed on a different server, so I copied the database. Did I possible miss something in the trasfer because this error is new to me. I would assume with using English everything should work fine. But I still get the include/lib/output.inc.php on line 268 error showing at the top of all my pages.
    Any scripts I can run on the database to help? Thanks

  • 2009-06-03 09:04:33

    Re: Mysql error on home page

    There could be many reasons why the transfer failed. First look at the version of MySQL you are using on old and new systems.

    In any case, the fix will probably require your service provider to do a database conversion. That is something you can learn about through the MySQL site.