The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
IE says cannot download attachment.php
I'm having an odd issue... never seen it before. When adding an attachment to a post, all seems to work well. But then when you try to click the link to view the attachment, you get an error saying "cannot open attachment.php".
I checked the tables and all the information appears to be there. The url looks like it's correct. I tried converting to storing as file system, but still have the same error. Here is the url to a page where I posted a test pdf file (last post): http://www.40by20.com/forum/showthre...=2609#post2609 Anyone have any ideas?? Thanks! |
#2
|
||||
|
||||
You don't allow guests to download attachments, so I just get a login screen when clicking on the link.
Does this work with other browsers like firefox? |
#3
|
||||
|
||||
Hi, sorry it took me so long to reply. Ok, I changed the permissions so that guests can now download attachments. If you have any solutions, I would really really appreciate it! Thanks!
I just tried it in FF and got this error... Code:
XML Parsing Error: unexpected parser state Location: jar:file:///C:/Program%20Files/Mozilla%20Firefox/chrome/toolkit.jar!/content/global/netError.xhtml Line Number 327, Column 50: <div id="ed_netReset">&netReset.longDesc;</div> |
#4
|
||||
|
||||
I get this error trying to download that attachment:
Quote:
If so, try disabling your modifications/plugins and see if you still have this problem. Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php PHP Code:
|
#5
|
||||
|
||||
I created the custom theme with no parent style so it was a completely separate style. So I just made the original default style active to test. I still got the same error. Created a new default style just in case... same error.
There are no plugins/products installed, but I put that bit of code in config anyway to test. Still got the same error. sigh Could this be a problem in the database? |
#6
|
||||
|
||||
I doubt it is a problem with the database, I would suspect the server is the issue.
What is the mime type you have for the pdf in your attachment manager? And how big is the pdf - do you get this error for both large and small files of that type? |
#7
|
||||
|
||||
There appears to be some issue with more than one type of attachment. jpg images that are attached show up as a red x and the picture is not displayed.
I just noticed something though... if you take a look at this thread, a member posted two image inline in his post. They appear to show up just fine. But then below that, another member quoted that post and the images were converted to attachment links. If you try to click the attachment links, you get that same error with the image not displaying (red x). http://40by20.com/forum/showthread.p...&p=246#post246 It seems to me there is something causing problems when you try to click an attachment link and open it in a separate view. If that makes sense. The file sizes are all varied by the way. How do I determine the mime type? I am also a web host reseller for GoDaddy. This website is hosted via my reseller site. I have been using vB on this hosting for many years, including currently with no problems. I have never experienced this issue. I have never had any issue with the server settings/etc. |
#8
|
||||
|
||||
Go to Maintenance > Diagnostics > Upload. What happens there if you upload? What is the info it spits out?
And, what do you have set in AdminCP > Settings > Options > Server Settings and Optimization Options > Safe Mode Upload Enable and Safe Mode Temporary Directory ? |
#9
|
||||
|
||||
no errors...
file_uploadsn open_basedir: none safe_mode: off upload_tmp_dir: /tmp upload_max_filesize: 8.00 MB "No errors occurred while opening the uploaded file for reading. " |
#10
|
||||
|
||||
Where are your attachments being served from right now - the database or filesystem? If in the filesystem, can you see the files in that directory? Is the directory chmod 777 and all directories in it also?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|