upload path is gone... Solved

User's avatar
R S.
22:05 Oct 24, 2014
The uploader is working fine locally on my testserver (windows with wamp)
I do use the standard paths defined in config.php being:
$config = preg_replace('/(uploader\.php.*)/', 'userfiles/', $_SERVER);$config = dirname(__FILE__).'/userfiles/';
as stated this works fine locally.
But when uploaded to a unix production server the path is broken i.e. it uploads the image to "userfiles",
it shows the image in the editor but after saving it only shows "<img src="\" />" in the sourcecode from the editor.
Making paths absolute in $config's does not solve the problem, i am desperate now because i can not solve this.

Any idea what the problem is?
User's avatar
R S.
23:51 Oct 27, 2014
For all people who are struggling with the same problem, turn magic_quotes_gpc off in the php.ini and the problem is solved pfffff...