vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Images not always posting correctly (https://vborg.vbsupport.ru/showthread.php?t=323362)

RichieBoy67 08-30-2016 05:58 PM

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.

RichieBoy67 09-16-2016 09:18 AM

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:

[ATTACH][/ATTACH

..the attachment works the other doesn't..

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:

ATTACH=CONFIG 

and those upload correctly. I am willing to donate to someone that can help me fast.

Jonm 09-17-2016 07:56 PM

I've seen this in the past also but not found a fix

Dave 09-17-2016 08:17 PM

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.

RichieBoy67 09-21-2016 02:41 AM

Quote:

Originally Posted by Dave (Post 2576021)
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.

Thanks Dave, Can you be more specific as to permissions? I cannot find anything wrong.

RichieBoy67 11-02-2016 11:25 PM

Can anyone assist me with this?

RichieBoy67 11-08-2016 05:56 AM

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]

MarkFL 11-08-2016 06:20 AM

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. :)

RichieBoy67 11-08-2016 06:37 AM

Thanks Mark,

I actually have 4.2.3 patch 2.. Should I try one of the alpha patches?

MarkFL 11-08-2016 06:49 AM

Quote:

Originally Posted by RichieBoy67 (Post 2577959)
Thanks Mark,

I actually have 4.2.3 patch 2.. Should I try one of the alpha patches?

I was under the impression that this was an issue specific to vB 4.2.2, and that 4.2.3+ fixed it, so I doubt upgrading further will have any effect on this issue.

Does the issue only occur with the WYSIWYG editor?


All times are GMT. The time now is 02:03 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
  • Page Generation 0.01079 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete