-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.6.1, 2.7.5, 2.8.3
-
MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
setuplib.php fails on line 806 of Moodle 2.61 with
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /******/******/public_html/pd/lib/setup.php on line 806
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /******/******/public_html/pd/lib/setup.php on line 806
Parse error: syntax error, unexpected T_STRING in //******/******/public_html/pd/lib/setup.php on line 806
For most people, their current Moodle site is trashed (yes, let's hope they've backed up) as there is no indication that the problem is with the php version.
As this is a common issue with upgrades, setuplib.php should instead check before line 806 (indeed before any code alters the site) and tell the user they are on PHP version 5.x where they need to be on 5.32
- has been marked as being related by
-
MDL-56167 Moodle 3.2 errors out ungracefully in php54
- Closed
- is duplicated by
-
MDL-45206 Blank page before installation
- Closed
-
MDL-45796 Error Display Even After Successful Installation
- Closed
-
MDL-48734 Testing Moodle
- Closed
-
MDL-49318 When upgrading to version Moodle 2.8 I get errors
- Closed
-
MDL-49704 cli/cron.php error
- Closed