How can i turn OFF Magic quotes on SeoToaster CMS

asked Nov 21, 2013 by Long Nguyen (140 points)
Today a get an error when i try to install my website.
Important! Make sure you turn OFF Magic quotes, either with the htacces that comes with the package or in your PHP.ini (Otherwise you will get a bunch of'\' in the templates when loading themes).
Optional but recommended: IonCube Loader
We've detected that your web server is not equipped with the Ion Cube encryption loader. Don't settle for less than the entire Seotoaster experience! Seotoaster uses IonCube to encrypt great time-saving plug-ins available on the marketplace, get your website instantly setup with free real-time web analytics, create a KML file so that your local business can be found online. It is free and easy to download and install IonCube. Do it or contact your web host to do it for you. (download and install IonCube loader)
So anybody can tell me how to fix it. Thank

1 Answer

answered Nov 21, 2013 by seotoaster (14,340 points)
Hello,
There are few ways to do that. Here are two of them:

1. If you have an access to the php.ini file, open it and change

magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off

2. If you do not have an access to the php.ini - create .htaccess file in you seotoaster root (actually it should be there already, you just have to edit it) and pu the following

php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag magic_quotes_sybase Off
commented Nov 21, 2013 by Long Nguyen (140 points)
Thank for your suppost, but i still not fix completed my error. here is my .htaccess :
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag magic_quotes_sybase Off


Is there any wrong?
Im using hosting at godaddy.
commented Nov 21, 2013 by Andrey Budchenko (3,900 points)
Hello Long Nguyen.

You need to have this file on 'install' folder also.
...