Support » Plugin: Event Calendar » Your server has PHP magic_quotes_gpc set to active

  • I love this plugin.
    But I get this alert on the dashboard pages:

    Your server has PHP magic_quotes_gpc set to active. This produces formatting errors in the Ajax Event Calendar plugin.
    Learn how to disable this setting in this forum thread. Ask your host provider for help.

    I was told to add this to a php.ini file and put it in the theme folder.

    You should be able to turn off magic_quotes_gpc by creating a custom php.ini file and the add the following line into it.
    magic_quotes_gpc = Off

    I did that but the alert above is still showing. Advice anyone

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi

    Not sure if this will help, but I had to get my host to disable magic quotes with a custom php.ini file. Problem and alert have now disappeared.


    Can you ask the host what the line of code is?

    magic_quotes_gpc = Off

    does not seem to word

    work…not word! Sorry!

    I put the required code into my functions.php file as I may need magic quotes for other things. I still get the alert too. It would be nice to have a button to dismiss the alert like other plugins.

    It doesn’t bother me, but I put together sites for clients and get asked about the alert constantly.

    Other than that this is my favorite calendar plugin of all times! Great work.

    Marvouka, can you ask your host what the code is for the php file?

    And dreamdancer, I have precisely the same problem as you and wish this would go away. This is also my favourite calendar.

    I’ve got a virtual server off which I’ve got numerous domains and wordpress sites.

    I contacted my host and asked for them to turn magic_quotes_gpc because I installed Ajax calendar on one site.

    They turned it off and next I knew I lost access to ALL My WordPress Sites!!!!

    Couldn’t access the administrator areas or the sites themselves. Of course my regular sites were fine, but WordPress? Zip, Nada!

    I then asked them to turn it back on and Voila, my WP sites were back up within minutes. Of course I’d already gone in and deleted the plugin folder. LOL.

    Soooo, all I can say is proceed with caution.

    This is so weird. I have installed the plugin and even though I get the warnings, it all still works. So I don’t care any more.

    Phht. I am such a baby!!!


    I decided to just ignore that warning. ‘and am getting to doing backups every single time the thought comes to mind. Welllll, almost every single time. 😉

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Your server has PHP magic_quotes_gpc set to active’ is closed to new replies.