ClareXoBearrx3R9
Member
I'm having some issues importing the users of an IPS 4.x board, and my limited SQL knowledge is getting in the way here.
It looks like it's complaining about the following line (from
All these JOIN statements exceed my SQL experience, but a quick check with various SQL-syntax checkers suggest that there's nothing wrong with the syntax. I am aware that the SQL documentation can be a little quirky when it comes to syntax variations between different SQL versions, so I suspect that is the issue.
Various Google searches yielded no similar results, anyone have any idea the issue?
For reference:
Thank you in advance for any help!
It looks like it's complaining about the following line (from
library/XenForo/Importer/IPBoard40x.php
):
PHP:
$groups = $this->_sourceDb->fetchAll('
SELECT groups.*,apr.row_perm_cache AS admin_restrictions
FROM ' . $this->_prefix . 'core_groups AS groups
LEFT JOIN ' . $this->_prefix . 'core_admin_permission_rows AS apr ON
(apr.row_id = groups.g_id AND apr.row_id_type = \'group\')
LEFT JOIN ' . $this->_prefix . 'core_moderators AS moderator ON
(groups.g_id = moderator.id AND moderator.type = \'g\')
');
All these JOIN statements exceed my SQL experience, but a quick check with various SQL-syntax checkers suggest that there's nothing wrong with the syntax. I am aware that the SQL documentation can be a little quirky when it comes to syntax variations between different SQL versions, so I suspect that is the issue.
Various Google searches yielded no similar results, anyone have any idea the issue?
For reference:
- This is XenForo 1.5.24, attempting to import IPS 4.x on Windows Server 2012 R2 via IIS.
- MySQL Server is version 8.0 running on Windows Server 2008 R2
Thank you in advance for any help!
Attachments
Last edited: