Jon Cave
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Importer] [Plugin: WordPress Importer] Not pulling .png imagesI’m able to import png attachments fine in testing.
Are these png images attachments (i.e. part of your media library) and inserted into posts?
Could you check if they have been imported into the media library (visible in the WordPress admin backend)? It’s possible that they might not have had their URLs rewritten correctly in the post content.
uncheck Download and import file attachments, it go to the loading page. This load the posts properly with correct authors, but import users cannot login (password error). and their roles become subscriber.
This is expected. The export files do not contain the users’ passwords or role. The importer warns you of this at the second step: “If a new user is created by WordPress, a new password will be randomly generated and the new user’s role will be set as subscriber. Manually changing the new user’s details will be necessary.”
Failed to create new user for admin. Their posts will be attributed to the current user. This username is already registered.
Well it sounds like you import several times. So when you run the import the 2nd, 3rd, … times you should use the dropdown on the Assign Authors screen, labelled “or assign posts to an existing user:”, to map the authors correctly. E.g. for the admin user choose “admin” from the dropdown.
As above. Could you make the change to the IMPORT_DEBUG line in the plugin’s main php file. Then try importing again and paste the exact error message that appears this time. Changing the IMPORT_DEBUG definition will output more information about why the user couldn’t be created so I can help you solve this issue.
Edit the wordpress-importer plugin on line 17. Change:
define( ‘IMPORT_DEBUG’, false );
to
define( ‘IMPORT_DEBUG’, true );
After doing that try importing again. This will cause more information to be displayed to help track down the problem.
Also, if you have any other plugins enabled then try disabling them before importing.
domains/...isn’t an absolute path. I don’t know where you’re getting your path information from (maybe an sFTP client), but it could be that you’re chroot’d/jailed to /home/furball and so you do not ‘see’ that part of your location.As I mentioned before this message is from the core WordPress function wp_upload_dir() which builds a path using the upload_path option (empty by default), WP_CONTENT_DIR, or ABSPATH + UPLOADS. So you can override it using those if you’re confident that it is a path issue. Note that the upload_path option will have ABSPATH prepended (which I assume starts with /home/furball).
I think you’re missing a bit off of the error message:
Is its parent directory writable by the server?
and that’s [permissions problems] what I believe you should investigate first. This codex page may be helpful with that.
I doubt the path is wrong because otherwise you would be having many other issues since this error is from wp_upload_dir() which builds the path using several constants used throughout WordPress core.
Forum: Plugins
In reply to: [WordPress Importer] URL slugs not imported correctly (v0.5)I just tried to reproduce this by taking an existing export file and modifying the post_name fields of one of the posts. After importing the post_name in the database had the modified value and the generated URLs used the custom value too.
This sounds strange if you’re seeing the expected values in the XML file.
Have you tried deactivating all other plugins before importing?
If this doesn’t work would you be able to send me an export file to test myself? Email wp /AT/ lionsgoroar.co.uk if possible.
Forum: Networking WordPress
In reply to: Cannot importThis issue is already being tracked at http://core.trac.wordpress.org/ticket/17990. Thanks for reporting, glad you were able to resolve the issue yourself (sort of :D).
Forum: Plugins
In reply to: [WordPress Importer] WP-Importer Uploaded file could not be movedTonyAwards: definitely a permissions issue. Sounds like the PHP process/webserver is not the owner or in the group that owns these directories. Try making the directories writable to others (777). This is not good practice for shared hosts, but since this is your local install it’ll be okay. Or you could set the owner of the directories to the user that the server runs as.
Forum: Plugins
In reply to: [WordPress Importer] Ver. 0.5 breaks WP installationAre you able to provide some errors from your PHP error_log?
Thanks for reporting.
I imagine this has resolved itself now. Just try visiting the update page or the plugins page a few times. It’ll be a problem of the plugin update transient not being cleared yet.
I’m afraid not.
I’m afraid not.
I will take a look. Thanks for reporting this.
Forum: Plugins
In reply to: [WordPress Importer] Won't import attachment in WordPress 3.2I am unable to replicate this. I have tested by importing the theme test data into a site running 3.2.1-alpha and Importer 0.4. Then exporting that and importing again into WordPress trunk with the development version of the Importer.
Do you mean that no attachments show up in the media menu and the files do not exist in the uploads directory? Or that they just don’t show up in the actual post’s <img> tags?