[SOLVED] Need help with magic quotes and modules

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
netpunktet

[SOLVED] Need help with magic quotes and modules

Post 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
Last edited by netpunktet on Wed Feb 06, 2008 5:19 pm, edited 1 time in total.
nivekiam

Re: Need help with magic quotes and modules

Post by nivekiam »

Have you tried turning magic quotes off?

You can do this in .htaccess:

php_value magic_quotes 0
netpunktet

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

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”