 |

ryan_dot
User
Dec 14, 2007, 4:32 AM
Post #1 of 8
(13565 views)
Shortcut
|
Please disable the 'magic_quotes_gpc' setting in php.ini or with .htaccess.
|
Can't Post
|
|
Hi everyone, just incase you get stuck with this error message like me, "Please disable the 'magic_quotes_gpc' setting in php.ini or with .htaccess." Upload the attached .htaccess file (to whatever dir your files are in) to switch off 'magic_quotes_gpc' Im on shared hosting and they would be unlikely to change the setting in the php.ini file for me Or create your own .htaccess file with this code # Disable magic_quotes_gpc php_flag magic_quotes_gpc off Hope that helps, Ryan http://www.westendpropertysales.com http://www.eadiemcfarland.co.uk http://www.macneanrestaurant.com http://www.theclocktower.ie
|
|
Attachments:
|
.htaccess
(63 B)
|
|
|  |
 |

Donna
Staff
/ Moderator

Dec 14, 2007, 2:48 PM
Post #2 of 8
(13538 views)
Shortcut
|
|
Re: [ryan_dot] Please disable the 'magic_quotes_gpc' setting in php.ini or with .htaccess.
[In reply to]
|
Can't Post
|
|
Thanks for sharing! :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

limbo
User
Dec 30, 2007, 4:15 PM
Post #3 of 8
(13128 views)
Shortcut
|
|
Re: [Donna] Please disable the 'magic_quotes_gpc' setting in php.ini or with .htaccess.
[In reply to]
|
Can't Post
|
|
This .htacess thing is driving me up the wall!!!!! If I follow your instructions I still get the "Please disable the 'magic_quotes_gpc' setting in php.ini or with .htaccess" message despite having uploaded the .htaccess file to the cmsAdmin root folder. When I upload the attachment to the previous post I get a 500 internal error message. It is always a mission to get the software working. I am so frustrated. I'm on a phpsuexec server - is this a problem? ALTERNATIVELY, if it is my hosting providers problem, why don't you just make all of our lives easier and RECOMMEND a shared hosting provider that cuts through all of this hassle? I bought CMS Builder almost as soon as you had launched it. I only found a web host today that could do me MySQL 5.015 and PHP 5.2 minimum. What a mission. Then this problem with the "magic quotes" comes up. You didn't think of warning us to check with our hosting provider about this issue (of whether they allow php_flags in the .htaccess files) before we go and setup accounts with them. This has been such a waste of time, and in my case, a waste of money - I paid a years worth of hosting for an account that had MySQL 5.015 and PHP 5.2 minimum. I don't know. But this is becoming one too many of several problems I have had lately with interactivetools.com software. I have bought I think 15 to 20 licenses from you already. I am getting frustrated.
(This post was edited by limbo on Dec 30, 2007, 4:53 PM)
|
|
|  |
 |

Dave
Staff
/ Moderator

Dec 31, 2007, 3:01 AM
Post #4 of 8
(13108 views)
Shortcut
|
|
Re: [limbo] Please disable the 'magic_quotes_gpc' setting in php.ini or with .htaccess.
[In reply to]
|
Can't Post
|
|
Thanks for posting and giving us a chance to help you out. We value you as a customer and so I really appreciate you letting us know when you're having a hard time with our software so we can have a chance to make it right for you. I want you to know that I completely understand where you're coming from. I've struggled with web hosts on numerous occassions for both our own sites and client sites as well. It's incredibly frustrating and a huge waste of time on top of that. I know some hosts are still behind the times on PHP 5.2. The PHP folks themselves have declared PHP4 dead (see http://www.php.net/#2007-07-13-1) and the PHP developer community has actually set a deadline of Feb 5th, 2008 for hosts and software developers to have moved to 5.2 (see http://www.gophp5.org/). And as for the 'magic_quotes_gpc', even the PHP folks don't recommend using anymore and are removing it from the next version of php (see http://php.net/magic_quotes). Anyways, I know at the end of the day all that really matters is your project gets up and running. So here's some tips for that: - It sounds like your host doesn't let you tweak php settings with an .htaccess file. I recommend asking them if there is some other way of doing it. If you host is any good at all, they will have some way to do it. - If they don't (don't have a way to disable a PHP feature that isn't recommended by the PHP people) that sounds like a total scam and they should certainly give you your money back. Still a waste of time, but at least that's something. - If you decide to switch hosts we offer hosting (see "hosting" on the menu above), and also recommend serverbeach.com (dedicated hosting) and dreamhost.com (low cost shared hosting). All who support PHP 5.2+ (sometimes take an email to turn it on). - Post here and keep us up to date with what's going on. We will back you up and make sure this gets going for you. Try talking to your host first and let us know what they say, and if you need anything else post here or email me directly and I'll help you out asap. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Dave
Staff
/ Moderator

Jan 1, 2008, 4:51 PM
Post #6 of 8
(13033 views)
Shortcut
|
|
Re: [limbo] Please disable the 'magic_quotes_gpc' setting in php.ini or with .htaccess.
[In reply to]
|
Can't Post
|
|
Sounds good, just let us know (post a new thread) if you run into any problems or have any other questions. We're here to help! :) Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Dave
Staff
/ Moderator

May 14, 2008, 6:39 AM
Post #8 of 8
(9018 views)
Shortcut
|
|
Re: [ryan_dot] Please disable the 'magic_quotes_gpc' setting in php.ini or with .htaccess.
[In reply to]
|
Can't Post
|
|
Thanks for the tip! Also, we added some code to v1.08 to automatically undo what magic_quotes_gpc does for users who are unable to change that setting. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
|