2011-12-06, 05:50 PM
sergiob,
In merge/boards/phpbb3/attachments.php please change:
To:
And try the merge attachments again.
If you look further down in that function, you'll see:
Which will never fire since we never have a valid $mybb anything because it wasn't globalized. I'll appreciate your report on whether this fixes the issue or not
In merge/boards/phpbb3/attachments.php please change:
function pre_setup()
{
global $import_session, $output;
To:
function pre_setup()
{
global $import_session, $output, $mybb;
And try the merge attachments again.
If you look further down in that function, you'll see:
if($mybb->input['uploadspath'])
{
// Test our ability to read attachment files from the forum software
$this->test_readability("attachments", "physical_filename");
}
Which will never fire since we never have a valid $mybb anything because it wasn't globalized. I'll appreciate your report on whether this fixes the issue or not