Ratman 0 Report post Posted June 18, 2004 (edited) unter linux kein problem, ein skin zu exportieren, unter windoof/apache allerdings schon. da kommt einfach folgender zeichensalat anstatt eines downloadfensters:Warning: preg_match() expects parameter 2 to be string, array given in D:\www\ratman\forum\ips_kernel\class_xml.php on line 365 í½YsêÈÒ.|ýÖ¯xcß®8§%0½LD¿}Ù`#Ats$IÈìįÿ2³ª¤ÒÄàÕûâ8ÝË6¢TCVOfþõNï¿ï¿vËOÿþ¥ÿoí_ÿýî;îÒÿÏ¿Ú×ÿõøX*ÿ/ý_ÿçoö<:ýå,÷ÿ¿û₩ûÏ_ ... und so gehts ewig weiter /*-------------------------------------------------------------------------*/ // INTERNAL: Encodes a string to make it safe (uses cdata) /*-------------------------------------------------------------------------*/ function _xml_encode_string( $v ) { if ( preg_match( "/['\"\[\]<>&]/", $v ) ) <--- Zeile 365 { $v = "<![CDATA[" . $this->_xml_convert_safecdata($v) . "]]>"; } if ( $this->collapse_newlines ) { $v = str_replace( "\r\n", "\n", $v ); } return $v; } fällt jemanden was zu ein? Edited June 18, 2004 by Ratman Share this post Link to post
Anderl72 0 Report post Posted June 18, 2004 es könnte an dem " liegen. nimm mal das fette aus if ( preg_match( "/['\"\[\]<>&]/", $v ) ) dem teil raus. mehr fällt mir dazu nicht ein :D Share this post Link to post
Ratman 0 Report post Posted June 18, 2004 (edited) nö, funzt leider nicht wirklich:Parse error: parse error, unexpected '[' in D:\www\ratman\forum\ips_kernel\class_xml.php on line 366 Fatal error: Cannot instantiate non-existent class: class_xml in D:\www\ratman\forum\sources\admin\ad_skin_import.php on line 538 nehm ich noch mehr raus, geht dann gar nix mehr [nachtrag] ups - war ned ganz korrekt, hatte noch was übersehen, nächmlich ein " *g* kommt immer noch die selbe meldung dann ... ich tipp mittlerweile mehr auf eine inkorrekte einstellung in der php.ini - fragt sich halt nur, was Edited June 18, 2004 by Ratman Share this post Link to post