The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Attachment Permission Denied
I am running into this error hoping somebody could suggest a solution. When a user uploads an attachment on a post we get error on clicking on the attachment link. Registered users has permission to view attachments.
The error is: Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no As an example first post of this thread has an attachment (shows the phone icon, dont know why). http://webcosmoforums.com/showthread.php?t=469 Clicking on it shows that error. |
#2
|
||||
|
||||
I don't get an error when clicking on that. Have you tried this out as a guest vs registered user vs admin? And have you tried it in different browsers? (I'm using firefox on a Mac)
|
#3
|
||||
|
||||
Quote:
When you clicked on the attachment was you able to see the larger view? That was the problem actually. Small thumb view is fine. I tried Mozilla and IE on Windows. Both giving me permission denied error. It seem to be a JavaScript error, but you could tell better. |
#4
|
||||
|
||||
Quote:
|
#5
|
||||
|
||||
Quote:
I am not much of a PHP literate, just got some idea. I work mainly with ASP .Net. If you could tell what part/file to change I would appreciate that. |
#6
|
||||
|
||||
Just taking a quick look at your source code, I see that the image is called out in this manner:
HTML Code:
<div id="post_message_969">If a woman likes a man with whom she is talking at the moment, she raises the tone of her voice, that is, she starts talking with higher voice, even not noticing this herself. A man who is interested in the woman, on the contrary, unwittingly lowers the tone of his voice in a conversation with her. That is he begins to speak with more low voice. <a href="http://www.webcosmoforums.com/attachment.php?attachmentid=1&d=1210749451" rel="Lightbox" id="attachment1" ><img src="http://www.webcosmoforums.com/attachment.php?attachmentid=1&thumb=1&d=1210749451" class="thumbnail" border="0" alt="Click image for larger version Name: 04100.jpg Views: 4 Size: 1.6 KB ID: 1" style="margin: 2px" /></a></div> <!-- / message --> |
#7
|
||||
|
||||
Quote:
Do you happen to know which part need to be modified to take off the alt tag? Thanks for your help. |
#8
|
||||
|
||||
Since you are using some sort of modification to do this, I really don't know. You'd have to ask in the modification thread.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|