View Single Post
Old May 23rd, 2005, 01:45 AM   #7 (permalink)
funkmeister
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 62
Re: Attachments to Gallery?

I ran the script as per the instructions, but it appears to be transposing the directory names. For example, here's the physical path to one of the attachments in vB:

/forum/attachments/2/4/2/1381.attach

The script is failing with the following error:

Warning: copy(/forum/attachments/242/1381.attach): failed to open stream: No such file or directory in /gallery/import_attachments.php on line 81

It appears to be trying to copy the directory contents of 242 instead of 2/4/2.

Is their something in the script I can edit to correct this?

Thanks.
funkmeister is offline   Reply With Quote