Jump to content


Photo
- - - - -

magic quotes bad

magic quotes debug

Best Answer suzyo , 19 February 2013 - 12:04 AM

will do. i feel like i won something today. thanks again!

Go to the full post


  • Please log in to reply
6 replies to this topic

#1 suzyo

suzyo

    Super Member

  • Members
  • 105 posts
  • Country: Country Flag

Posted 18 February 2013 - 10:57 PM

hi all. in my debug it says i have 'magic quotes' enabled and the word bad is in there.

 

what does it mean? should i do something? thanks.

Attached Files



#2 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 18 February 2013 - 11:25 PM

Please Login or Register to see this Hidden Content



Because PHP magic quotes were deprecated in 5.3 and totally removed in 5.4

 

Lates versions are 5.4.11 and 5.3.21

 

Your server is using a rather ancient version 5.2.

 

Sometimes in your host control panel you can select PHP versions.

 

The reason its bad is a lot of plugin authors use really really old copy+pasted code that relies on magic quotes being enabled, so when you switch to a modern version of php the plugin goes kaboom ;)

 

If you are able to switch versions and 5.4 is selectable, try it out it uses about a quarter of the memory that 5.2 used.


  • suzyo likes this

#3 suzyo

suzyo

    Super Member

  • Members
  • 105 posts
  • Country: Country Flag

Posted 18 February 2013 - 11:30 PM

thank you, simon. i'm off to see about  that right now. pls don't close topic yet. thanks again.



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 18 February 2013 - 11:38 PM

We won't close it, but don't reply till you're really ready.



#5 suzyo

suzyo

    Super Member

  • Members
  • 105 posts
  • Country: Country Flag

Posted 18 February 2013 - 11:50 PM

oh, this is great! so, i had a choice of PHP 5.4 and  PHP 5.4 (Single php.ini)

 

 

because the tech guy said (6:46:56pm) Derek W.: "Go with the single ini"
 
is that right? thank you very much.


#6 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 19 February 2013 - 12:03 AM

I have no idea what he means by single ini, must be the way they have it setup, go with what he says ;)



#7 suzyo

suzyo

    Super Member

  • Members
  • 105 posts
  • Country: Country Flag

Posted 19 February 2013 - 12:04 AM   Best Answer

will do. i feel like i won something today. thanks again!