Closed (won't fix)
Project:
Node export
Version:
6.x-2.9
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2009 at 02:30 UTC
Updated:
3 Oct 2009 at 02:52 UTC
I export my nodes fine, but when I import them, I have the magic quotes embedded in the data in the title and some other fields.
My magic quotes settings in php.ini are as follows (in which I did the export and import):
; Magic quotes
;
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = On
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off
; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off
Is there anything I need to change? What is the correct settings/procedure I should be using?
Comments
Comment #1
danielb commentedI am largely unfamiliar with server and network administration.
There is a previous thread that dealt with this slightly #460756: Import: unexpected T_STRING, expecting ')' but it was never fully resolved.
I guess I too would like to know the correct settings for this, or what I can do to make it work for any settings.
Comment #2
arcane commentedOk, thanks for the reply. I'll keep looking into it..
Comment #3
arcane commentedThe solution to my problem was to change the magic quotes settings in php.ini to the following
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off
; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off
After I set magic_quotes_gpc to off, I was able to export and import the data without a problem.
Comment #4
danielb commentedYeah according to this they are not longer the thing to use
http://au.php.net/magic_quotes
http://au.php.net/manual/en/security.magicquotes.whynot.php
I know that doesn't real solve this module's compatibility with different environments - but I don't know what to do about it.