TaskChain server error

TaskChain server error

ó $a->name - $a->date
Number of replies: 5

Hi everybody, first time on the forum so bear with me...

I installed taskchain on moodle 2.0.7 (shared hosting, latest possible version)

when I click on activity>taskchain I get the following error:

Service Temporarily Unavailable

The server closed the connection without sending any data.

The server is temporarily unable to service your request due to maintenance downtime or capacity problems.

Due to heavy load on the server, connections may be temporarily blocked from locations that fetch an unusually high number of pages.

We apologize for the inconvenience.

The server works fine for everything else, turned debugging on at dev level but it shows nothing.

Any ideas? Thanks!

ps  sw versions

mod_hotpot_moodle26_2013102183

mod_taskchain_moodle25_2011040142

Meán na gcomhlán: -
In reply to Maurizio notsayingthat

Re: TaskChain server error

ó $a->name - $a->date
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi,

your version of the TaskChain module is quite old, so please download the latest version of the TaskChain module - currently 2013.11.14 (53), install it, try to create a TaskChain activity again and let us know what happens.

cheers
Gordon

In reply to Gordon Bateson

Re: TaskChain server error

ó $a->name - $a->date

Hi Gordon, thanks for your help!

when i downloaded TC, my version was listed as the latest, a bit weird...

Now that I've installed the latest one, it mostly works...

two features don't, though...

1) if I go to edit tasks and try to edit one task I get this:

Fatal error: Call to undefined method stored_file::set_sortorder() in /home/***/public_html/moodle/mod/taskchain/edit/form/helper/record.php on line 136

2) starting a chain in a new window gives me a blank page and this warning:

Error output, so disabling automatic redirect.

thanks!

 

In reply to Maurizio notsayingthat

Re: TaskChain server error

ó $a->name - $a->date
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Maurizio,

thanks for letting me know about the "set_sortorder" issue. Looks like that affects Moodle 2.0 - 2.2. I have fixed that now in the latest version of TaskChain. Please download it and install it and let me know if it works better now for you.

I tried using the "New window" setting on my Moodle 2.0 site and the TaskChain displayed with no problem, so to help you any further with this I need to know the PHP error that is causing the problem. Could you go to  the Moodle debugging page (Site administation -> Development -> Debugging), and then use the following settings:

  • Debug messages: DEVELOPER
  • Display debug messages: YES

Remember to click the "Save changes" button at the bottom of the page.

regards
Gordon

In reply to Gordon Bateson

Re: TaskChain server error

ó $a->name - $a->date

Hi Gordon, sorry for the delayed response, my (free) hosting service hasn't been working for quite some time...

Installed the newest version of tc today and it works fine.

about the new window feature, this is the output I get:


Warning: Creating default object from empty value in /home/***/public_html/moodle/course/lib.php on line 1082

Warning: Creating default object from empty value in /home/***/public_html/moodle/course/lib.php on line 1082

Warning: Creating default object from empty value in /home/***/public_html/moodle/course/lib.php on line 1082

Warning: Creating default object from empty value in /home/***/public_html/moodle/course/lib.php on line 1082

Warning: Creating default object from empty value in /home/***/public_html/moodle/course/lib.php on line 1082

This page should automatically redirect. If nothing is happening please use the continue link below.

Error output, so disabling automatic redirect.

It's not a mandatory option and I hope to move to a better hosting service with a newer version of moodle soon, so don't waste too much time on this (granted there's sth you can do with this scarce info).
thanks a lot!

maurizio

In reply to Maurizio notsayingthat

Re: TaskChain server error

ó $a->name - $a->date
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Maurizio,
you can disable the warnings by setting the Moodle debugging level to "Normal".

Or, if you want to leave Moodle's debugging at "Developer", you can add the following line at line 1082 in "course/lib.php"

  • $mod[$seq] = new stdClass();

However, you will probably get more PHP warnings because basically the version of Moodle you are using is old and not intended for the version of PHP that is running on your server.

You will fix many problems if you upgrade to a more recent version of Moodle.

When you upgrade your site, you will need to upgrade to Moodle 2.2 first, and then upgrade to the most recent stable version of Moodle - currently Moodle 2.6.

regards
Gordon