ATutor

Learning Management Tools







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


Installs fine but cant create course


  • 2012-10-02 16:49:29

    Installs fine but cant create course

    OS: Scientific Linux 6.3 32-Bit
    ATutor version 2.1.rc2
    XAMPP for linux 1.81

    Installed and had the $_FILES problem (5069) and fixed that. Now I have this problem when logging in as an instructor:

    Strict Standards: Only variables should be assigned by reference in /opt/lampp/htdocs/ATutor/include/vitals.inc.php on line 191

    Fatal error: Cannot re-assign auto-global variable _POST in /opt/lampp/htdocs/ATutor/mods/_core/courses/lib/course.inc.php on line 48

    I also get this if I log in as super admin and then click on create course.

  • 2012-10-03 09:06:51

    Re: Installs fine but can't create course

    There is an old referecne in vitals that can be removed:

    at about line 191change

    [php]

    $myLang =& $languageManager->getMyLanguage();

    [/php]

    to

    [php]

    $myLang = $languageManager->getMyLanguage();

    [/php]

    We're looking into the other problem.

  • 2012-10-03 10:53:18

    Re: Installs fine but can't create course

    To resolve the second error, replace the course.inc.php file with a copy from the code repository.

    https://github.com/atutor/ATutor/blob/master/mods/_core/courses/lib/course.inc.php

  • 2012-10-03 15:53:09

    Re: Installs fine but can't create course

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

    both of your solutions worked great!

    Thanks Greg!

  • 2012-10-04 10:51:04

    Re: Installs fine but can't create course

    spoke to soon. admin login works fine but when I log in as an instructor I get.

    Fatal error: Cannot re-assign auto-global variable _POST in /opt/lampp/htdocs/ATutor/mods/_standard/forums/lib/forums.inc.php on line 179

  • 2012-10-04 12:34:01

    Re: Installs fine but can't create course

    I would guess you are working with PHP 5.4. You should revert back to 5.3* or earlier if you can. Or, you can replace the forums.inc.php file with a fresh copy from the repository. There are a variety of issues running ATutor with PHP 5.4.

    https://github.com/atutor/ATutor/blob/master/mods/_standard/forums/lib/forums.inc.php