![]() |
error occurs when running the instal queries says table db.attachment does not exist.
any help do i need to prefix if so how |
you might not be logged into the correct db
make sure you've connected to the correct database connect vbulletin ; if vbulletin is the name of your database then run the queries...bottom line make sure your on the right db! :D |
ok further update to my issue I was having...Turns out i already had a private field in the database for attachments that was a tinyint i removed it and added the one required here and everything appears correctly in the post but now nothing will download.
in attachment.php i believe the postid is coming out as zero which in indicates that the user who uploaded the file isn't the person who is trying to view the file and therefore we have an error. im wondering if its a newattachment issue or something? anyone have a solution? |
ok queries issue resolved, and everything appears in place following carrying out the upgrade instructions, however when a user attempts to attach a file and uplaod
the response 'This forum is not accepting new attachments' any ideas? |
Ok I can attach file but as per xfaethorx post I just get a red cross box when the PM with attachment is viewed any help thanks
|
icehawk002 - i've an idea what the problem is but its going to involve some recoding of the hack itself. I don't have the time to do it due to work commitments the best thing to do is unwind the hack as the author no longer seems to support it nor does the guy who made the alterations to this hack.
It needs someone else to pick up the development. |
I note that many have the almost identical problem in the "unsupported" hack version for 3.5 LOL https://vborg.vbsupport.ru/showthread.php?t=91220 but unfortunately the author does not appear to have resolved the issue there either.
Its a real shame if it cannot be corrected another add on that I would have like to have seen would be to specify user groups which can or cannot use PM attachments set in admin cp. If someone can resolve the issue I would be willing to make a donation |
basically an assosiation needs to be created between the user who uploaded the image and the user who is to browse said image. However its not made in newattachment.php.
Thats why you get the error, if you send the message to yourself you'll see that it works fine. One solution would be to alter the database AFTER the image has been uploaded so that when you submit the the PM it alters the database to change ownership of the attachment to the user it is being submitted to.. that would be a dirty fix but would also mean that the sender could no longer see said attachment in their attachment list or in the sent messages so should you want to get the message attachment back you couldn't. Now if theres a way to have multiple owners of an attachment in this case then we've got the solution as all we need to do is add the destination user as the attachment owner and we'll have fixed this problem. If I get any spare time I'll try my best to look at this but Its doubtful with my work load tbh. |
Yes, I agree sending a PM with attachment to oneself works fine.
As to the dirty fix or any other I am afraid its likely to be out of my league so I am hoping you or someone can resolve the matter. I will however play and you never know and I take on board your thoughts. I currently have the attachments stored in the database if these were transfered to be stored in a folder with relevant permissions might that help? thanks |
All times are GMT. The time now is 02:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|