PDA

View Full Version : WBB3: Attachments are missing


Mystics
Tue 20th May '08, 9:30am
I don't know if this was changed in a newer version of WBB3 or if there is a setting in WBB3 to change the storage type, but I had to change this in wbb3/009.php:
if(!is_file($dir . '/' . $data['attachmentName']))
to:
if(!is_file($dir . '/attachment-' . $data['attachmentID']))
And:
$file = $this->vb_file_get_contents($dir . '/' . $data['attachmentName']);
to:
$file = $this->vb_file_get_contents($dir . '/attachment-' . $data['attachmentID']);
(Sorry I can't tell you the used WBB3 version any more).

Jerry
Fri 27th Jun '08, 12:18pm
Any idea what version the source was/is ?

Mystics
Fri 27th Jun '08, 3:08pm
Wbb 3.0.5.

Jerry
Mon 21st Jul '08, 5:54pm
I'd think it would have to be a check then as it was attachmentName (and now Id I'm guessing) though all attachments in wBB3 are in the file system and can't be in the database ?

Jerry
Tue 30th Sep '08, 4:11pm
I'll go back over this when I get the latest version of wBB.