naotriix Posted August 17, 2022 Posted August 17, 2022 Hello, I'm currently thinking about a complete reinstall of my forum, i use same database since 2011 and i get many issues with applications / plugins are not working as expected while with a clear install it work so i would like to know, if i can easily get from db: forums, topics, posts, and members and re import them to a clear db ? Regards,
Marc Posted August 17, 2022 Posted August 17, 2022 While you could do a conversion to do this using the converters, Im not sure this is going to achieve what you want it to achieve. I fyou are having issues with 3rd party items, you really should report those to the authors
Solution naotriix Posted August 17, 2022 Author Solution Posted August 17, 2022 (edited) Well i will try this another problem i can't install new clean version of the software it return a php issue Stack trace: #0 /usr/share/nginx/html/testforum/system/Settings/Settings.php(180): array_merge() #1 /usr/share/nginx/html/testforum/system/Settings/Settings.php(122): IPS\_Settings->loadFromDb() #2 /usr/share/nginx/html/testforum/init.php(1038): IPS\_Settings->__get() #3 [internal function]: IPS\IPS::exceptionHandler() #4 {main} thrown in /usr/share/nginx/html/testforum/system/Settings/Settings.php on line 180" while reading response header from upstream, client: XXXX, server: tff.gg, request: "GET /testforum/admin/install/index.php?controller=install&mr=210&_=1660737023157 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "tff.gg", referrer: "https://tff.gg/testforum/admin/install/index.php?controller=install" 2022/08/17 13:50:33 [error] 3857164#3857164: *458 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /usr/share/nginx/html/testforum/system/Settings/Settings.php:180 I tested with php8.0 and 8.1, i use nginx and i don't really plan to use apache 😄 Edited August 17, 2022 by naotriix
Marc Posted August 17, 2022 Posted August 17, 2022 I would suggest first of all using the check tool to make sure you have the minimum requirements. I do have to point out however, if you are using an alternative web server, we can be of only limited assistance. https://invisioncommunity.com/files/file/7046-invision-community-requirements-checker/
naotriix Posted August 17, 2022 Author Posted August 17, 2022 Yes everything is green Ive tested in local too with apache there is same issue btw
Marc Posted August 17, 2022 Posted August 17, 2022 Please install using PHP 7.4. Apparently there is a known issue installing with 8.0/8.1 at present
naotriix Posted August 17, 2022 Author Posted August 17, 2022 I can use to install only atm ? And then switch or i keep 7.4 then
Marc Posted August 17, 2022 Posted August 17, 2022 Just to install. You can switch over afterward. PHP 8.0 may actually work
naotriix Posted August 17, 2022 Author Posted August 17, 2022 (edited) I've managed to do what i want but i've a problem, when i convert from old db member_id's are reordered correctly after merge, i would like to keep same id's because i use them for my game server and its already linked can't change ^^ any idea how i can do this ? Edited August 17, 2022 by naotriix
Randy Calvert Posted August 17, 2022 Posted August 17, 2022 It’s not possible to do by default. You would have to do this with some sort of customization and would be outside of the scope of what can be done with the base product. Mark H 1
Mark H Posted August 17, 2022 Posted August 17, 2022 Yes, as Randy mentioned, when using our converters it is not possible to retain the old member ID number.
naotriix Posted August 17, 2022 Author Posted August 17, 2022 Ok thanks to all i will see what i can do...
Mark H Posted August 17, 2022 Posted August 17, 2022 You're welcome, glad we could be of assistance. 🙂
teraßyte Posted August 18, 2022 Posted August 18, 2022 You could save the member ID in a custom profile field before the import. Then when you import the members (and their custom profile field) you can use that field as game server ID rather than their core_members.member_id value.
Marc Posted August 18, 2022 Posted August 18, 2022 As mentioned initially, converting to another instance in order to solve problems on your existing instance, in our experience would not be the best direction. As you have sen here, it took only a few hours for you to notice an issue with this. You really should be solving the issues on the installation you have.
Recommended Posts