Moodle

Issue Exporting Calendar

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8, 1.8.1
  • Fix Version/s: 1.7.3, 1.8.2, 1.9
  • Component/s: Calendar
  • Labels:
    None
  • Environment:
    Apache/2.0.54 PHP/4.3.10 MySQL 4.1.19 Debian Linux
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

Description

When attempting to export courses the following errors are reported:

Warning: array_keys(): The first argument should be an array in /WWW/moodle/calendar/export_execute.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 149

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 150

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 151

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 153

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 154

Warning: Cannot modify header information - headers already sent by (output started at /WWW/moodle/calendar/export_execute.php:103) in /WWW/moodle/calendar/export_execute.php on line 155
BEGIN:VCALENDAR METHOD:PUBLISH PRODID:-//John Papaioannou/NONSGML Bennu 0.1//EN VERSION:2.0 END:VCALENDAR

Activity

Hide
Jeremy Hopkins added a comment -

I should have mentioned this error has been observed both in 1.8 and 1.8.1

Show
Jeremy Hopkins added a comment - I should have mentioned this error has been observed both in 1.8 and 1.8.1
Hide
Eloy Lafuente (stronk7) added a comment -

Hi Jeremy,

the problem was related with the check boxes above the "export" button not having default values. This has been fixed in CVS (for Moodle 1.7.x, 1.8.x and HEAD) and seems to be working here.

Updated file will be available in next nightly (or daily as you prefer) build.

Thanks for your report!

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Hi Jeremy, the problem was related with the check boxes above the "export" button not having default values. This has been fixed in CVS (for Moodle 1.7.x, 1.8.x and HEAD) and seems to be working here. Updated file will be available in next nightly (or daily as you prefer) build. Thanks for your report! Ciao

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: