I can't export passwords and user group. so User transfer failed.
- MediaWiki Version:1.40
I can't export passwords and user group. so User transfer failed.
This might be a silly question, but how do you import the users after exporting them?
See Extension:ImportUsers or perhaps Extension:MediaWikiAuth depending on what you are trying to achieve.
I believe it will be a nice extra feature to also have the associated user groups in the export file.
Hello, I have upgraded from MW 1.17 to 1.19. With 1.17, no pb, extension works fine. But with 1.19, I get this fatal error: Fatal error: Call to undefined method Xml::hidden() in /homez.504(...)/extensions/userexport/userexport.body.php on line 46 Any ideas? Many thanks.
Hi, I believe the fastest way get help it to contact the coder of this extension on Github and/or to open an issue there. Cheers
I would try changing Xml::hidden to Html::hidden on lines 46 and 47.
I changed Xml to Html on lines 46 and 47 as suggested. I can download the csv file. However it doesn't contain user information but a set of error messages. The first one says:
<b>Warning</b>: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web1234/html/:/var/www/web1234/phptmp/:/var/www/web1234/files/:/var/www/web1234/atd/:/usr/share/php/) in <b>/var/www/web1234/html/mediawiki_test/mediawiki/extensions/UserExport/userexport.body.php</b> on line <b>59</b><br />
Anyone knows how to fix this? Thanks.
Your problem is cause by the "open_basedir" setting in you php.ini so you will have to fiddle around with this setting on your server.
Just for the record:
I couldn't change the open_basedir setting (since I am on a shared hosting).
But I got it working by inserting one of the paths (shown in open_basedir) instead of "sys_get_temp_dir()" :)
Just for the record:
In current versions (Extension: 9th commit in Github, Core: MW 1.23.1) I still had to replace "sys_get_temp_dir()" with a path given in the error message. Might be a problem that is only related to my hosting...
The xml/html issue is fixed in the code though. Thanks for that!
Exported the table i needed instead
Download of the csv in 1.33 throws an error repeatedly network error. Nothing wrong with my network.