ATutor

Learning Management Tools







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


Warnings


  • 2009-03-05 19:24:11

    Warnings

    Things to describe:
    Operating system ATutor is installed on - winxp
    ATutor version - 1.6.2
    Patch #s applied - all
    ATutor theme name - Default
    PHP version - 5.2.8
    MySQL version - 5.0.51a-community
    Webserver & version - Apache 2.2.11 (Unix)
    Web browser being used - Firefox 3.0.7
    ...and anything else relevant -

    Trying to host on netsons (its settings are above), at login I see following warnings:

    ++++++
    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/chatacce/public_html/include/vitals.inc.php on line 137

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 73

    Warning: Invalid argument supplied for foreach() in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 156

    Warning: Invalid argument supplied for foreach() in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 156

    Warning: Invalid argument supplied for foreach() in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 156

    Warning: Invalid argument supplied for foreach() in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 156

    Warning: Invalid argument supplied for foreach() in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 170

    Warning: reset() [function.reset]: Passed variable is not an array or object in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 198

    Warning: current() [function.current]: Passed variable is not an array or object in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 199

    Warning: current() [function.current]: Passed variable is not an array or object in /home/chatacce/public_html/include/classes/Language/LanguageManager.class.php on line 204
    There are no languages installed!
    +++++

    Thanks!

  • 2009-03-06 09:06:43

    Re: Warnings!

    It looks like the mysql connection information is incorrect. Make sure your login/password for mysql are right.

    Or, try installing again. Maybe something broke during your first attempt.

  • 2009-03-06 10:28:00

    Re: Warnings!

    I already tried more than 1 installation. And I'm sure that login-pass are correct.

    About the warnigs, my doubts are about the at_config table and the tables about languages.
    Furthermore, I'm not sure about the correct format for the content_dir:

    define('AT_CONTENT_DIR', '/home/chatacce/public_html/content/');

    Thanks.

  • 2009-03-06 11:08:26

    Re: Warnings!

    On windows it should be something like:



    'C:\\xampp\\htdocs\\ATutor_162\\content\\'

  • 2009-03-06 11:15:45

    Re: Warnings!

    Consider that it's a remote folder...

  • 2009-03-06 11:19:47

    Re: Warnings!

    Remote folder? You can't have a remote content folder.

  • 2009-03-06 11:26:55

    Re: Warnings!

    I mean the content folder for the web hosted atutor.
    I think I dont have clear ideas about this issue :) How can I use content folder in this case?

  • 2009-03-06 12:18:50

    Re: Warnings!

    I'm not sure what you mean.

    Have you tried a path to the content dir like the one I suggested?

    See the installation instructions if you are not sure.

    http://www.atutor.ca/atutor/docs/installation.php

  • 2009-03-06 22:04:01

    Re: Warnings!

    Thanks for your help, I think now it's ok.
    Anyway, it works only using a remote path for the content folder, a local path gives me an error...