WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#15325 closed defect (bug)

Importer tries to open XML file in wrong location on Windows — at Version 1

Reported by: Viper007Bond Owned by: duck_
Milestone: 3.1 Priority: normal
Severity: blocker Version: 3.1
Component: Import Keywords: has-patch needs-testing
Focuses: Cc:

Description (last modified by Viper007Bond)

I downloaded an export file from my WordPress.com sandbox and attempted to import it into my localhost trunk install. Doing so threw the following error:

Warning: gzopen(D:\Webserver\htdocs\wordpress-dev/wp-content/uploads/D:Webserverhtdocswordpress-dev/wp-content/uploads/2010/11/wordpress.2010-11-05.xml_.txt) [function.gzopen]: failed to open stream: Invalid argument in D:\Webserver\htdocs\wordpress-dev\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 88
Call Stack
#	Time	Memory	Function	Location
1	0.0008	158712	{main}( )	..\admin.php:0
2	0.2823	24185272	call_user_func ( )	..\admin.php:207
3	0.2823	24185456	WP_Import->dispatch( )	..\admin.php:0
4	0.2828	24186504	WP_Import->import( )	..\wordpress-importer.php:892
5	0.2847	24193184	WP_Import->import_file( )	..\wordpress-importer.php:838
6	1.7980	24426448	WP_Import->get_entries( )	..\wordpress-importer.php:847
7	1.7980	24428304	WP_Import->fopen( )	..\wordpress-importer.php:116
8	1.7980	24428552	gzopen ( )	..\wordpress-importer.php:88

Note the totally whacko path that it's trying to open my XML file from.

I'm using 0.2 of the importer that my install downloaded from the WordPress.org repository.

Change History (1)

comment:1 Viper007Bond3 years ago

  • Description modified (diff)
  • Summary changed from New importer appears to be broken on Windows to Importer tries to open XML file in wrong location on Windows
Note: See TracTickets for help on using tickets.