[wp-hackers] WP3.0 : export doesn't works!

Jimmy Roy jimmy.roy at gmail.com
Wed Jul 21 04:29:46 UTC 2010


I fix the warning message and it works now :

change
        $string = strip_tags($string);
by
        $string = strip_tags((string)$string);

--
Jimmy | www.jimmyroy.fr
--



2010/7/21 Andrew Nacin <wp at andrewnacin.com>

> On Tue, Jul 20, 2010 at 11:55 PM, Jimmy Roy <jimmy.roy at gmail.com> wrote:
>
> > ok, thank u.
> > it happens only on some hosting.
> > Kalyhost : KO
> > OVH : OK
>
>
> It all depends on the setup. If display_errors is off (as it should be on
> any production environment), then the export will work. If display_errors
> is
> on, then it seems some servers stuff the warnings inside the export file
> (which WordPress will read fine, if you're going from WP to WP), while
> other
> servers will not send the headers for the export file and thus no file will
> be generated.
>
> As Aaron said, it'll be fixed in 3.0.1, which should be coming soon.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list