I'm getting some exceptions randomly since setting this up.
InvalidArgumentException: Must pass valid resource in src/XF/Http/ResponseStream.php:18
Generated by: Unknown account Apr 11, 2025 at 11:46 AM
Stack trace
#0 src/XF/Http/Response.php(262): XF\Http\ResponseStream->__construct(false...
During the import phase, lots of different warnings being thrown around...
xf_conversation_recipient951
Warning 1062 Duplicate entry '161-7547' for key 'PRIMARY'
Warning 1062 Duplicate entry '237-7647' for key 'PRIMARY'
Warning 1062 Duplicate entry '5778-12063' for key 'PRIMARY'
.
.
...
Thanks for 1 and 2
Ended up getting #3 to work, addslashes is not sufficent as it does not escape ( or ) so I used addcslashes
exec('echo $"' . addcslashes($attachment['filename'],"\'()") . '"' . self::$extraOutCommand , $attachFileNameTmp);
Hello, working on doing a 'large' import, around 2m posts 200k users.
Few things:
1)After changing charset from utf-8 to binary in Application.php should I revert it after the export and before the import, after the import or just leave it binary?
2)User group mapping, there is no importation...