MyBB Community Forums

Full Version: PHPBB3 > MyBB empty upload folder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all.

I'm finding it impossible to merge a PHPBB3 (beta) forum with the latest version of MyBB 1.6.13. Also using the latest version of Merge - 1.6.10.

The entire board converts fine - except attachments.

The mybb_attachments table seems to have about half rows out of just over 10,000 attachments - and the Upload folder is completely empty.

The log:

MyBB Merge System - Merge Report
--------------------------------------------------------
Welcome to the MyBB Merge System Generated Report. This
report shows a small overview of this merge session.

General
-------
	Board merged:    phpBB 3
	Import began:    Mon, 26 May 2014 12:16:49 +0000
	Import finished: Mon, 26 May 2014 12:42:06 +0000

Database Query Statistics
-------------------------
	Queries on MyBB database: 300,671
	Queries on old database:  21,282
	Total query time:         57 seconds

Modules
-------
The following modules from this converter were completed:
Database Configuration
Users
Usergroups
Forums
Forum Permissions
Threads
Polls
Poll Votes
Posts
Private Messages
Moderators
Settings
Attachments


Import Statistics
-----------------
The MyBB import system imported the following from your copy of phpBB 3:
User Groups:       6
Users:             1,597
Forums:            18
Forum Permissions: 0
Moderators:        74
Threads:           4,965
Posts:             34,038
Attachments:       5,080
Polls:             1
Poll Votes:        10
Private Messages:  3,655
Settings:          23


Errors
------
The following errors were logged during the process of the Merge System:
Attachments:
	Could not find the attachment (ID: 1)
	Could not find the attachment (ID: 2)
	Could not find the attachment (ID: 3)
...
        Could not find the attachment (ID: 4640)
	Could not find the attachment (ID: 4641)
	Could not find the attachment (ID: 4642)
	Could not find the attachment (ID: 4643)
	Could not find the attachment (ID: 4644)	
	Could not find the attachment (ID: 5080)


Problems?
---------
The "mybb_debuglogs" table located in your database contains
debug information about this merge. If you find problems
please file a support inquery at http://community.mybb.com/.

--------------------------------------------------------
Generated: Mon, 26 May 2014 12:44:29 +0000

I'd post the debug table... but it's enormous, even zipped.

There's a lot of this though:

File: /merge/resources/class_converter.php Line: 330 Function: Log->error -> 
File: /merge/boards/phpbb3/attachments.php Line: 150 Function: Converter->set_error_notice_in_progress -> 
File: /merge/resources/modules/attachments.php Line: 62 Function: PHPBB3_Converter_Module_Attachments->after_insert -> 
File: /merge/boards/phpbb3/attachments.php Line: 68 Function: Converter_Module_Attachments->insert -> 
File: /merge/index.php Line: 1068 Function: PHPBB3_Converter_Module_Attachments->import -> 
Could not find the attachment (ID: 5071)

The PHPBB3 files directly is directly accessible via a browser.

Things I've tried:

1. Changing the automatic UTF conversion - on or off.
2. Changing the PHPBB3 Files folder to 777
3. No .htaccess files
4. Tried Salvatore's script from here: http://community.mybb.com/thread-84043-page-9.html Which just gets error messages such as:

File id: 1 (created_by.jpg) was not found in phpbb3

When I do the rebuild attachment thumbnails in the ACP I get a page full of PHP warnings (see attached screenshot).

Edit: Today I tried the merge on WAMP and got exactly the same end product - everything fine, except Upload folder empty.

I'm out of ideas... help!
I think I remember somewhere that the directory to the attachments to phpbb has changed in a version or 2 releases back. I know I had to change this to get another conversion working.
Hi Allan,

Thanks for responding.

I'm sure that I had the path right in the merge module itself as I pasted the url from the browser.

Is there anywhere else that I might need to change it - buried somewhere in the code?

This must be me doing something stupid - otherwise it can't be doing the same thing on a live server AND on WAMP.... can it?
That was the only thing that I could think of since it happen to me.
Thanks for trying Allan.

Any other suggestions? Seems that everyone steers clear of attachment issues...
Gave up in the end... found a way of updating to latest PHPBB. Not what I wanted but at least it worked.