[wp-trac] [WordPress Trac] #15325: Importer tries to open XML file in wrong location on Windows
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 5 23:15:36 UTC 2010
#15325: Importer tries to open XML file in wrong location on Windows
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: duck_
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Import | Version: 3.1
Severity: blocker | Keywords:
--------------------------+-------------------------------------------------
Comment(by Viper007Bond):
Fails with the new importer too:
{{{
0:0 failed to load external entity "file:///D:/Webserver/htdocs/wordpress-
dev/wp-content/uploads/D%3AWebserverhtdocswordpress-dev/wp-
content/uploads/2010/11/wordpress.2010-11-05.xml_3.txt"
There was an error when reading this WXR file
Details are shown above. The importer will now try again with a different
parser...
( ! ) Warning: gzopen(D:\Webserver\htdocs\wordpress-dev/wp-
content/uploads/D:Webserverhtdocswordpress-dev/wp-
content/uploads/2010/11/wordpress.2010-11-05.xml_3.txt) [function.gzopen]:
failed to open stream: Invalid argument in D:\Webserver\htdocs\wordpress-
dev\wp-content\plugins\wordpress-importer\parsers.php on line 575
Call Stack
# Time Memory Function Location
1 0.0008 157952 {main}( ) ..\admin.php:0
2 0.2810 24397488 call_user_func ( ) ..\admin.php:207
3 0.2810 24397672 WP_Import->dispatch( ) ..\admin.php:0
4 0.2831 24403808 WP_Import->import( ) ..\wordpress-
importer.php:79
5 0.2832 24405432 WP_Import->import_start( )
..\wordpress-importer.php:89
6 0.2832 24406224 WP_Import->parse( ) ..\wordpress-
importer.php:109
7 0.2832 24406632 WXR_Parser->parse( ) ..\wordpress-
importer.php:748
8 0.2840 24411152 WXR_Parser_Regex->parse( )
..\parsers.php:48
9 0.2840 24413504 WXR_Parser_Regex->fopen( )
..\parsers.php:374
10 0.2840 24413728 gzopen ( ) ..\parsers.php:575
Sorry, there has been an error.
This does not appear to be a WXR file, missing/invalid WXR version number
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15325#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list