Fixing the magic_quotes error when installing Drupal 8
When manually installing Drupal 8, you may run across a common error after uploading the files. This error is in regrds to the magic_quotes settings of your server. If they are incorrect you will see an error message like this:
What does this error mean?
Don't be alarmed. The error simply means that there are a couple of settings named magic_quotes_gpc and magic_quotes_runtime that need to be set to Off in order for the Drupal 8 Install program to run. These settings are located in your php.ini file and are easily disabled by following the instructions below.
How to turn off the magic_quotes settings in php.ini
- Log into your cPanel.
- Once in the main cPanel area, look for the Files category and click on the File Manager. Once inside, locate the php.ini file. This is generally located in the public_html folder.
- Using the File Manager Code Editor, open the file and look for the settings for magic_quotes_gpc and magic_quotes_runtime. Ensure they are set to Off. Additionally, ensure there is no semicolon (;) at the beginning of the line of code for the settings.
Before; magic_quotes_gpc On
; magic_quotes_runtime Off
- After adjusting the settings appropriately, click on the Save Changes button in the upper right corner to save the new settings.
Thank you for your feedback!
Getting Started with Drupal 8
|1.||Resetting your Drupal 8 password|
|2.||Fixing the magic_quotes error when installing Drupal 8|
|3.||How to manually install Drupal 8|
|4.||Logging into Drupal 8 Administrator Dashboard|
|5.||How to change your admin password in Drupal 8|