![]() |
Images not always posting correctly
Trust me, I know this was a common issue and i know the main things that usually cause this but i believe I have something else going on here.
It does not happen all the time but occasionally I will see that someone has uploaded an image and instead of the image I see a link to the attachment with the attachment id number like Attachment 11938 for example. The link is always broken. It has happened to me as well. The image appears to upload properly and I can see it inside the post but after saving I will sometimes see the link and not the image. My settings are to display inline images. What is making this hard to troubleshoot is that it only happens on occasion and I cannot really see anything particular about the images it happens to. I first thought it was perhaps the size but that does not seem to be the problem. What do you guys think this could be? --------------- Added 31 Aug 2016 at 13:23 --------------- I thought this could be a Cloudflare issue but I have no idea how to test this theory because this happens so sporadically. |
Hey all,
I am still looking for a solution to this issue. Thanks --------------- Added 16 Sep 2016 at 23:03 --------------- ##Update I do believe this is some type of a resource issue though I cannot understand why. It is our busiest weekend and we have tons of traffic tonight and every time an image is uploaded it shows as a link. It shows fine though when using the attachment manager. Yes I tried disabling plug ins to no avail. Can anyone please help me with a work around? I had a weaker server last year and did not have these issues.. --------------- Added 17 Sep 2016 at 01:25 --------------- I am sorry to bump this but I wanted to add more information. #When I use the attachment manager there are no problems. Uploading images using the bbcode icon is when we get the links. What is confusing is that uploading both ways still use PHP Code:
Not a good weekend for this to happen to my site.. before it was random but now it is constant. I just noticed some images like png use PHP Code:
|
I've seen this in the past also but not found a fix
|
So the same image sometimes displays correctly, but sometimes it doesn't?
You'd have to dig deep into attachment.php and the attachment packages inside of vBulletin and put breakpoints to see where it's failing. I've seen this before (and actually dealt with it before) and it was some kind of permission check where it failed. |
Quote:
|
Can anyone assist me with this?
|
I just realized that all my attachments using either the manager or the bbcode are showing
[ATTACH]###[/ATTACH] When they used to show: [ATTACH=CONFIG]###[/ATTACH] In addition, I used to see the image in the editor after uploading and now I just see [ATTACH]###[/ATTACH] |
I recall some time back, at MHB we had a very similar issue with inline attached images in the WYSIWYG editor. I wrote a javascript function to fix the HTML and attached it to the "onclick" attribute of the submit buttons, but that was before I knew much about PHP.
I may be wrong, but I suspect that if you upgrade to vB 4.2.3+, you won't have this issue. :) |
Thanks Mark,
I actually have 4.2.3 patch 2.. Should I try one of the alpha patches? |
Quote:
Does the issue only occur with the WYSIWYG editor? |
Yep, only the editor. Attachment manager works fine.
Thanks |
What I mean is, does this issue only happen when using the WYSIWYG editor, but not the Standard editor?
At MHB, this was the case for us, only our WYSIWYG editor users were experiencing issues similar to what you have described. |
I believe so but I'll have to verify that. Thanks Mark, appreciate it.
|
Quote:
edit: Or if you want to wait, I can see about turning it into a product with auto-template edits, etc. :) |
Outstanding Mark!
Template edits are no problem. 4 am here so I'll check this out a little later and will get back to you. I can't like your post because it says I'm maxed out on you. :) |
Quote:
|
Hey Mark,
I just did some testing and it appears you are correct. Granted I only tested about 10 image posts but through out that testing only the standard editor seemed to fail. I really have to spend more time learning how the attachment system works because both editors appear to look exactly the same using [ATTACH]###[/ATTACH] only the standard editor always just posts a broken link. It would be great to have that advanced editor open every time. I also do not understand why this has changed from [ATTACH=CONFIG][/ATTACH] Thanks |
Hello Richie,
The issue we had was that the WYSIWYG editor failed, not the Standard editor. If you want, send the login credentials to a temporary admin account to your site via PM to me, and I will come investigate the issue and see if I can figure out a fix. :) |
That would be amazing Mark!
Thank you |
Strange that the issue disappeared for along time and now it is back with no site changes of any kind other than having to upload many images.
We were covering an event over the weekend and uploading tons of pictures at once when this issue started to happen again. I am going to contact Cloudflare though I am not sure that is the issue. Could this be something related to nginx or something? Thanks |
All times are GMT. The time now is 05:49 PM. |
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:
|