Support Forums

ATutor Support

Error updating course properties


You must be signed-in to post.

AuthorSubject
  Page: 1
trtoles
Subject: Error updating course propertiesQuote this post in your reply
Things to describe:
Operating system - Windows 2008 r2
ATutor version - 2.1
Patch #s applied - 01- "Security patch for Tool Manager vulnerability"
PHP version - 5.4.12
MySQL version - 5.6
Webserver & version - IIS 7
Changes to default settings - none
Web browser being used - IE8

New installation of ATutor.
I am able to log in as an instructor and create a course, add content, etc. When I attempt to save any changes on the course properties page, I get an HTTP 500 error on:
127.0.0.1/mods/_core/properties/course_properties.php
Posted: 2013-03-01 12:09:38
greg

Avatar for greg
Subject: Re: Error updating course propertiesQuote this post in your reply
It could be your PHP version.
atutor.ca/atutor/docs/requirements.php

While there have been a few reports of ATutor working well with IIS, typically people have trouble. We recommend using another Webserver like Apache or nginx etc.
Posted: 2013-03-01 14:05:39
trtoles
Subject: Re: Error updating course propertiesQuote this post in your reply
Looks more like a bug in the patch. PHP error log indicates:

Cannot re-assign auto-global variable _POST in C:\inetpub\wwwroot\mods\_core\properties\lib\course.inc.php on line 48
Posted: 2013-03-01 14:14:35
greg

Avatar for greg
Subject: Re: Error updating course propertiesQuote this post in your reply
That's a PHP 5.4 issue. It will go away if you revert back to PHP 5.3 or earlier.

Or, wait a little while until ATutor 2.1.1 comes out, which has been adapted to accommodate this change.
Posted: 2013-03-01 14:30:07
trtoles
Subject: Re: Error updating course propertiesQuote this post in your reply
Thanks for that, sorry for not including the error in the original post. I didn't have logging enabled at the time.

Can you advise how long "a little while" is, or is that like asking "how long is a piece of string"?
Posted: 2013-03-01 14:40:14
greg

Avatar for greg
Subject: Re: Error updating course propertiesQuote this post in your reply
There is an release candidate available now that you can test. We will probably put out another update today, with a few more adjustments.

atutor.ca/atutor/download.php

We're hoping to have the final release out by the end of March.
Posted: 2013-03-01 14:56:10
trtoles
Subject: Re: Error updating course propertiesQuote this post in your reply
Thanks for that. Since I am just doing a "proof of concept" implementation for a client right now, I think I'll just downgrade PHP for now.

Cheers,
Tim
Posted: 2013-03-01 15:03:44
greg

Avatar for greg
Subject: Re: Error updating course propertiesQuote this post in your reply
If there's the opportunity, I might suggest using Apache over IIS, as you Web server
Posted: 2013-03-01 15:15:29
trtoles
Subject: Re: Error updating course propertiesQuote this post in your reply
Thank you for that advice, but the client's mandated platform is Windows/IIS.

On the subject of IIS vs. Apache; In my experience, the biggest problem that people face with implementing web applications is their lack of familiarity with administering web servers in the first place. A person that is uncomfortable or unfamiliar with managing IIS is as likely to have as much trouble managing Apache (except for the likelihood that they may not be faced with an intitial reply of "why are you using IIS" in support forums). In other words, it is generally not the platform that is the problem as much as it is the person in front of the console. That doesn't make Apache better than IIS or vice versa, in fact, it doesn't mean anything. If/when someone shows me a reasonable argument on why Apache should be used instead if IIS on a Windows server, I will gladly take it into consideration. However, in my years of managing Windows servers, I haven't seen a technically compelling argument, just individual opinions.

Thanks again,
Tim
Posted: 2013-03-01 16:23:40
 Page: 1

You must be signed-in to post.