ATutor

Learning Management Tools







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


mysqlfetchassoc supplied argument is not a valid MySQL result resource


  • 2005-09-19 17:07:05

    mysqlfetchassoc supplied argument is not a valid MySQL result resource

    When I log in my local installtion of ATutor 1.5.1 (with security patch), I get:

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in d:\program files\easyphp\www\atutor\login.php on line 102

    I red the other posts about the same warning at different places.

    Any idea ? Thank you.


    Things to describe:
    operating system - W2K Serveur
    version of ATutor - 1.5.1 with security patch
    versions of php - 4.3.10
    version of mysq l - 3.23.49
    webserver & version - Apache/1.3.33 (Win32)
    copies of error messages - Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in d:\program files\easyphp\www\atutor\login.php on line 102
    changes to default settings - Non. New theme.
    web browser being used - FF 1.0.6, IE 6.0
    and anything else relevant - N/A

  • 2005-09-20 14:03:00

    .

    does your admin table exists?
    add this line after line 102

    exit(mysql_error($db));

    and send that to us. masking any exposed password.