Community Forums

ATutor Support

Create Course Page Throws Warnings


You must be signed-in to post.

AuthorSubject
 
Page: 1 | 2 | 3
marklee

Avatar for marklee
Subject: Create Course Page Throws WarningsQuote this post in your reply
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.
Posted: 2017-03-28 23:36:49
greg

Avatar for greg
Subject: Re: Create Course Page Throws WarningsQuote this post in your reply
PHP 7 is not yet supported.
Posted: 2017-03-29 08:46:50
Professor828
Subject: Re: Create Course Page Throws WarningsQuote this post in your reply
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.
Posted: 2017-08-02 17:08:22
greg

Avatar for greg
Subject: Re: Create Course Page Throws WarningsQuote this post in your reply
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
Posted: 2017-08-03 08:29:49
 
Page: 1 | 2 | 3

You must be signed-in to post.

Related Articles