Magic Quote issues with Drupal - php 5.2 and 5.3 and Bluehost or Shared server issue
Bluehost did some updates recently giving my sites and all of my Drupal, Bluehost client sites Magic Quote problems with all new pages being added.
In other words- wherever a "single quote mark" was in any field or form, it would put slahses like this \\\\ in and ruin the code or page.
Here is a simple solution that might work on other shared servers using Drupal and Cpanel or possibly fantastico.
*** Bluehost and C-panel Shares Server Solution ***
Here's what fixed it for Magic Quotes In Bluehost (with C-Panel) for mine and several clients of mine-
My php_info or php.php page was still showing that all instances of magic quotes were turned off - but it was still not working.
Since there is a server level php.ini file that we don't have access to on Bluehost (and I imagine many other shared server environments)
Step 1 go in an re-name your php.ini file so that it is temporarily not recognized so the default php.ini file has to be drawn from the main server.
Step 2 Then recheck your site and even add a page with quotes to see if the slashes disappear.
Step 3 Then - to re-instate your accessible php.ini file within your C-panel - (having backed up your other file by re-naming it)
Step 4 Go under C-Panel to "PHP config" (in Bluehost this is under "Software Services" in C-Panel)-
Then pick your version of PHP 5.2 or 5.3 and then save it at the bottom -
This will re-install a new php.ini file in the public_html directory and should stop the magic quote issue.
Make sure you back-up before switching versions from 5.2 to 5.3 as some modules may experience issues. . .