ATutor

Learning Management Tools







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


installation problem


  • 2005-10-31 21:21:05

    installation problem

    Hello

    I have setup atutor on my local machine successfully and was able to perform every task locally (login, admin functions, student functions, instructor etc). When I ported the package from local machine to remote webserver , I started getting these errors;

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 72

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

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

    Warning: reset(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 196

    Warning: current(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 197

    Warning: current(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 202
    There are no languages installed!

    I have already connected the application with database, and english is defined as language (there is only english present there right now). So, why is it saying No Languages Installed? Config.inc.php and content/ both are chmod to 0777. I dont know whether to keep or remove the install/ directory , right now its thre. Should I remove it ? Please help

  • 2005-10-31 21:46:09

    Warning: mysql_fetch_array(): supplied argument is not

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

    Things to describe:
    Apache-1.3.33 (Unix)
    operating system - Linux Based Webserver
    version of ATutor - 1.5
    versions of php - 4.3.11
    version of mysq l - 4.0.25-standard
    webserver & version -
    copies of error messages -

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 72

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

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

    Warning: reset(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 196

    Warning: current(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 197

    Warning: current(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 202
    There are no languages installed!

    changes to default settings -

    excluded documentation/ folder while uploading
    web browser being used - IE 6
    and anything else relevant -

  • 2005-10-31 23:01:06

    plzzz help

    plz help atutor this is very urgent!!! i will be grateful:(

  • 2005-11-01 11:59:35

    .

    what do you mean by "ported"?

    try installing a new version of atutor on your server.

  • 2005-11-01 22:06:32

    Warning messages

    Hello

    This is Saira here again. Sorry i had to sign in with new id perhaps i have lost my old one. Thankyou for answering, but my problem is not yet solved.

    "Ported" simply means that i uploaded all the files and database tables on my remote server. www.effwebapps.com/elearn here it is.

    I tried to run installation many times, but each time it says "ATutor appears to have been installed already."

    I had easily installed atutor 1.5 on my local machine running Win Xp, php 4.3.4, apache 2 and mysql 4. But it is giving strange warnings on remote server:

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

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

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

    Warning: reset(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 196

    Warning: current(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 197

    Warning: current(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 202
    There are no languages installed!

    Though default language is already "en", and it was running well on local machine, i dont understand wat i should do because this is really very urgent and i am checking forum 10 times a day if i could find any help from atutor people themselves. Please Help!!!

  • 2005-11-02 10:16:16

    .

    edit the include/config.inc.php file and remove the line define('AT_INSTALL', TRUE);
    at the end of the file.
    save the file and it'll ask you to reinstall ATutor.

    You shouldn't move ATutor in the way you did. ATutor has to be installed you can't just copy it elsewhere and have it work.

  • 2005-11-03 02:06:21

    Again the same warnings

    I tried this just now. The installation process over the remote server went all smooth, but at the end its again showing same errors.

    http://www.effwebapps.com/elearn/login.php?submit=%BB+Log-in%21

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/fakhir/public_html/elearn/include/vitals.inc.php on line 656

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 72

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

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

    Warning: reset(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 196

    Warning: current(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 197

    Warning: current(): Passed variable is not an array or object in /home/fakhir/public_html/elearn/include/classes/Language/LanguageManager.class.php on line 202
    There are no languages installed!

    I have seen that a similar problem is faced by other users here as well. Why is that and how to solve it. please help!!!

  • 2005-11-03 10:10:48

    install

    do a fresh install in your webserver directory and let us know how it goes.

    i.e. do not install atutor elsewhere and then move it.

  • 2005-11-03 23:03:19

    ok, i do as directed

    Hello Sir

    I do as directed and will surely let you know about the progress.

  • 2005-11-06 16:02:08

    it works!!!

    Hello

    Thankyou, its working now. I uploaded a fresh copy of atutor 1.5.1 and installed directly from remote server.

    Once again, thankyou so much!!