Since I upgraded to 4.2.0 I am unable to upload attachments.
My problem is very similar to a couple of posts that I encountered
I tried to disable all plugins to no avail.
When I click on Asset Manager no image display.
When I try to upload, upload fail.
When I try to rebuild thumbs, that fails.
It appears that the attachmentpath is not found.
For example a userid 3003 uploaded an attachment (which obviously did not uploaded) and show thread displayed a link which
showed as (splitting the userid)
/var/vbcover/attachments/3/0/0/3
it does not work with enhanced uploader, basic uploader and url upload and existing images no longer display
- - - Updated - - -
Solved
in includes/functions_file, you have
That option in the untouchables is set for 0,1,or 2
so I replaced that line with the correct value for extended path as it appears that the
define('ATTACH_AS_FILES_NEW', 2); is not being seen.
and all thumbs are now display in asset manager and I am able to upload attachments
However, all non images such as zip etc ... display the zip_thumb.gif. I see you have in there the wrong image for zip_thumb.gif (don't even know why there would be a no thumb image for them.
My problem is very similar to a couple of posts that I encountered
I tried to disable all plugins to no avail.
When I click on Asset Manager no image display.
When I try to upload, upload fail.
When I try to rebuild thumbs, that fails.
It appears that the attachmentpath is not found.
For example a userid 3003 uploaded an attachment (which obviously did not uploaded) and show thread displayed a link which
showed as (splitting the userid)
/var/vbcover/attachments/3/0/0/3
it does not work with enhanced uploader, basic uploader and url upload and existing images no longer display
- - - Updated - - -
Solved
in includes/functions_file, you have
PHP Code:
if ($vbulletin->options['attachfile'] == ATTACH_AS_FILES_NEW) // expanded paths
so I replaced that line with the correct value for extended path as it appears that the
define('ATTACH_AS_FILES_NEW', 2); is not being seen.
if ($vbulletin->options['attachfile'] == 2) // expanded paths
However, all non images such as zip etc ... display the zip_thumb.gif. I see you have in there the wrong image for zip_thumb.gif (don't even know why there would be a no thumb image for them.
Comment