Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Component/s: General
-
Labels:None
-
Environment:Linux
-
Database:MySQL
-
Affected Branches:MOODLE_16_STABLE
-
Fixed Branches:MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
Description
It seems like a bug has existed for a long time since 1.6
After upgrade to 1.6 from 1.5.3 several days ago, I found moodle can't send email. In the send email page, after submiting and waiting for a long time, I got the message:
Fatal error: Maximum execution time of 30 seconds exceeded in /........./moodle/lib/textlib.class.php on line 215
The line number is not a constant. Sometimes it is in function strlen and substr.
I traced the code and found that moodle went into a infinite loop in function CreateHeader() of phpmailer.
It's a fatal bug but I don't know why nobody reported it. Only me meet it?
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-5229 | add GB18030 to sitemailcharset |
|
|
|
From Sunner Sun (sunner_sun at 163.com) Tuesday, 1 August 2006, 06:00 PM:
I did more test about the bug.
It happened when I set sitemailcharset to GB18030. I also test other charsets that moodle support, only GB18030 show the bug.