PDA

View Full Version : problem in Attachments


mfnforex
06-30-2010, 01:41 PM
hi ..

when I open my website today , I found that all attachments are not working "don't know why "


Invalid Attachment specified. If you followed a valid link, please notify the administrator


and then I tried to add a new attachment and it's working fine !!!! :D

simply the problem is in all my old attachments !!!

BTW :admincp/attachments/ I found all my attachments here with it's data , file size , and download


any help please ?

ChopSuey
06-30-2010, 11:31 PM
Shouldn't your attachments be in a different directory?

/home/username/attachments/ ??

Xencored
06-30-2010, 11:54 PM
Shouldn't your attachments be in a different directory?

/home/username/attachments/ ??

/home/username/public_html/attachments/

ChopSuey
07-01-2010, 05:07 AM
/home/username/public_html/attachments/

You sir fail!!! :rolleyes:
If you are moving attachments into the file system, it is recommended that you do *not* place the folder under your web root (usually named public_html or www or www_root) because people will be able to bypass vBulletin's permission system and download them. Also, you will need to make the folder writeable by PHP. The easiest way to do this is CHMOD it 777 (consult your FTP, Telnet, or SSH documentation for more info on how to do this). We do not recommended that you put a folder that is CHMODed 777 under your web root - another good reason to have it located above the document root.

mfnforex
07-01-2010, 07:09 AM
After moving attachment from database to director still old attachments aren't working

Can I go back to 4.0.3 ?

ChopSuey
07-01-2010, 09:10 AM
You can try impex. :)

Xencored
07-01-2010, 01:17 PM
You sir fail!!! :rolleyes:

old stuff very old try and view my attachments
http://www.myanimeisland.com/attachments

but i know what you mean :)