Page 1 of 1

[SOLVED] Need help with magic quotes and modules

Posted: Tue Feb 05, 2008 8:05 pm
by netpunktet
I have problems with magic quotes and serveral modules, eg. FEU (Front End Users) and Album.

When I save a template to the database, I get Smarty-errors and when I look at the template again (reloaded in the admin area) there is added escape characters to the template.

My question is: Is there some way to generally fix this problem? Could it be done in the file actually writing and reading to the database? And is so - where would that file be located?

PHP-info: http://www.moelleaaensbryghus.dk/info.php
Mysql: 5.0.45
OS: Linux
Webserver: Apache 1.3.37

Pls. ask me for more info if needed!

bests
henrik

Re: Need help with magic quotes and modules

Posted: Wed Feb 06, 2008 3:35 am
by nivekiam
Have you tried turning magic quotes off?

You can do this in .htaccess:

php_value magic_quotes 0

[SOLVED] Re: Need help with magic quotes and modules

Posted: Wed Feb 06, 2008 5:19 pm
by netpunktet
Thanks!
Only thing, I had to use:

Code: Select all

php_flag magic_quotes_gpc off
in my .htaccess-file - but it works now.

Bests
/henrik