Closed (fixed)
Project:
phpBB2Drupal
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2010 at 10:46 UTC
Updated:
10 Jul 2011 at 16:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
naheemsays commentedif you look in the relevant database table (file/files table I think), are the attachments correctly listed there?
(Secondly, are your attachments in the place where drupal is looking for them?)
Comment #2
Clément commentedThank you for your quick help!
I go and actually see files in the test file is listed:
uid: 1
fid: 272
filepath: files/2_c7704af88882e3be492b6985ef0431db
Normally files are stored here: sites/site-1.tld/files / and not files /
Now if I see the attachments of the subject, there is none.
What should I do? Or should I place the file 2_c7704af88882e3be492b6985ef0431db?
Thank you in advance ;)
Comment #3
Clément commentedI redo a test. What I found as a result in the database :
In files :
In upload :
I did a test but it does not work:
I renamed my file: sites/site-1.tld/files/forum/2_8073644f9ce2598d6dada3375c9cf979.jpg
And I put the file in this directory: sites/site-1.tld/files/forum/2_8073644f9ce2598d6dada3375c9cf979.jpg
---- EDIT ----
I just found the problem.
By inserting a file, I found the error in upload.
I changed in the upload and walk with the first test:
In upload :
Now I have over 200 files so I will not be able to do it manually. Do you have a solution to this problem? Thank you very much.
Comment #4
Clément commentedI just solve part of the problem:
A line 664 of phpbb2drupal.module:
Replaced by:
Now the picture is listed in the node. I'll still make some small changes. I'm really happy!
Comment #5
roderikObvious little mistake. I hope you don't mind me treating #4 as like it was "needs review", which I'm now setting to "reviewed".
Comment #6
naheemsays commentedFixed: http://drupalcode.org/project/phpbb2drupal.git/commit/c4360ac