ATutor

Learning Management Tools







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


Error after 152 to 154 upgrade


  • 2007-05-29 06:27:37

    Error after 152 to 154 upgrade

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system - Linux (centOS4)
    version of ATutor - 1.5..4
    versions of php - 5.04
    version of mysq l - 5.0
    webserver & version - Apache 2
    copies of error messages - Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/ATutor/include/lib/output.inc.php on line 330


    changes to default settings -
    web browser being used - IE 6, Opera
    and anything else relevant -

    Error message is mentioned above. Upgrade was successful. There are two languages installed in the ATutor system English and Russian.
    There is no defference in output.inc.php files. MySQL query is the same. From the first glance nothing was changes in the related tables in MySQL db. Any ideas.

    Here is the error message again: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/ATutor/include/lib/output.inc.php on line 330

  • 2007-05-29 12:46:26

    Re: Error after 1.5.2 to 1.5.4 upgrade

    Are you sure it's line 330?

    Because my line 330 only has a comment on it.

  • 2007-05-31 02:29:03

    Re: Error after 1.5.2 to 1.5.4 upgrade

    This is my line:
    while ($row = mysql_fetch_assoc($result)) {

    [reply][b]In reply to:[/b]
    Are you sure it's line 330?

    Because my line 330 only has a comment on it.
    [op]forums/view.php?fid=7;pid=10711;page=1#10713[/op][/reply]

  • 2007-05-31 06:33:02

    Re: Error after 1.5.2 to 1.5.4 upgrade

    Thanks to everybody! The problem is solved. Some of DB table properties were wrong. Atutor 1.5.2 didn't pay attention to them and the error apeared only in 1.5.4

  • 2007-05-31 07:01:23

    Re: Error after 1.5.2 to 1.5.4 upgrade

    New problem appeared. Variable AT_BASE_HREF is undefined and shows the wrong path to /tools/tests direciry in Atutor 1.5.4.

    In 1.5.2 the variable was $_base_href.

  • 2007-06-05 04:24:42

    Re: Error after 1.5.2 to 1.5.4 upgrade

    Hi,
    I'm interest to know which are these table properties that were wrong because I've the some problem upgrading from 1.5.3.3 to 1.5.4

    Thanks

    Nancy