ATutor

Learning Management Tools







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


Create Course Page Throws Warnings


  • 2017-03-28 23:36:49

    Create Course Page Throws Warnings

    Just went to the courses admin page at /mods/_core/courses/admin/courses.php and there are two instances of the "Create Course" tab on the menu.

    Clicking on "Create Course" goes to /mods/_core/courses/admin/create_course.php which throws these 10 warnings:

    Warning: defined() expects parameter 1 to be string, array given in /Training/include/lib/menu_pages.php on line 338

    Warning: Illegal offset type in /Training/include/lib/menu_pages.php on line 333

    Warning: defined() expects parameter 1 to be string, array given in /Training/include/lib/menu_pages.php on line 369

    Warning: Illegal offset type in /Training/include/lib/menu_pages.php on line 367

    Warning: defined() expects parameter 1 to be string, array given in /Training/include/lib/menu_pages.php on line 379

    Warning: Illegal offset type in /Training/include/lib/menu_pages.php on line 382

    Warning: Illegal offset type in /Training/include/lib/menu_pages.php on line 401

    Warning: defined() expects parameter 1 to be string, array given in /Training/include/lib/menu_pages.php on line 450

    Warning: defined() expects parameter 1 to be string, array given in /Training/include/lib/menu_pages.php on line 491

    Warning: Illegal offset type in isset or empty in /Training/include/lib/menu_pages.php on line 325

    My server is running PHP 7.x and I applied all the patches on installing ATutor.

  • 2017-03-29 08:46:50

    Re: Create Course Page Throws Warnings

    PHP 7 is not yet supported.

  • 2017-08-02 17:08:22

    Re: Create Course Page Throws Warnings

    Good Afternoon, I've just installed to new domain
    I'm setup as administrator and trying to 'create course' (just for testing purposes at moment) while i find my way round.
    However when i click save it sends me here with warning.
    Can anyone help me out as to way it's doing this please?

    https://excaliburproject4u.net/dir/mods/_core/courses/admin/create_course.php

    Forbidden
    You don't have permission to access /dir/mods/_core/courses/admin/create_course.php on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

  • 2017-08-03 08:29:49

    Re: Create Course Page Throws Warnings

    Be sure there is not a symmbolic link in the path to your content directory.

    From within you content directory, at the command prompt run:

    >pwd
    and
    >pwd -P

    Both should return the same path

    If not, there's a symbolic link. In that case, use the value of "pwd -P" as you content directory path in the atutor/include/config.inc.php file