ATutor

Learning Management Tools







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


Course Properties Cant Save


  • 2014-01-06 13:07:13

    Course Properties Cant Save

    After upgrading to php 5.5.7, I have lost the ability to save course properties. The save button in the bottom right corner seems to have vanished. The condition is the same if I try to create a course or modify an existing course properties.

  • 2014-01-06 14:39:06

    Re: Course Properties Can't Save

    I have also noticed that if I browse the courses all of the course icons have disappeared and in the area where the icon image should be is text repeating the course title.

    Right now we are dead in the water because we can not modify and course properties or create any new courses because the save button in course properties has vanished. The same condition with the save button exists whether it is the administrator that is to create a course or the course instructor.

  • 2014-01-06 15:06:30

    Re: Course Properties Can't Save

    PHP 5.5.7 will be bleeding edge. ATutor 2.1.1 back before 5.5 was available so it could very well be changes have occurred in PHP that are not compatible.

    If you have the opportunity to revert back to a current version of 5.4 (5.4.23), that would be your best bet. ATutor 2.1.1 was built around PHP 5.4.

  • 2014-01-06 16:42:03

    Re: Course Properties Can't Save

    I removed php 5.5.7 and installed php 5.4.23, did not fix the problem. I still have no save button in course properties and the image icons for each course still do not show.

    Should I try replacing any specific php files? If so which ones?

  • 2014-01-06 17:19:08

    Re: Course Properties Can't Save

    That particular file can be found at:

    https://github.com/atutor/ATutor/blob/atutor_2_1_1/themes/default/admin/courses/edit_course.tmpl.php

    You can try removing the following line:
    [php]

    require_once(AT_INCLUDE_PATH.'../mods/_core/courses/html/course_icon.inc.php');

    [/php]

    If that brings back the Save button, it might mean the image processing libraries are not included with your PHP (--with-gd, --with-jpeg-dir). See the requirements section for a list of libraries that should be installed:

    http://atutor.ca/atutor/docs/requirements.php

    Or, by any chance when you installed ATutor, did you upload the bundle and unpack it on the server, or unpack it on a local computer and upload file-by-file. The later can cause these seemingly random problems.

  • 2014-01-06 18:26:09

    Re: Course Properties Can't Save

    Found the problem! Some of the libraries had to be changed to match the version of php (for example php54-gd)and then I had to double check that the permissions group and user was correct. Now all is working!

    BTW on the original install I downloaded the bundle and unpacked it on the server....but since I have nginx running ahead of apache as a reverse proxy server things can get a little tricky! :)

    Thanks again! I highly recommend ATutor for it's user simplicity, power and versatility!