Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2016, 05:58 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 09-16-2016, 09:18 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 09-17-2016, 07:56 PM
Jonm Jonm is offline
 
Join Date: May 2011
Location: Staffordshire
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've seen this in the past also but not found a fix
Reply With Quote
  #4  
Old 09-17-2016, 08:17 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 09-21-2016, 02:41 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
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.
Reply With Quote
  #6  
Old 11-02-2016, 11:25 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone assist me with this?
Reply With Quote
  #7  
Old 11-08-2016, 05:56 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]
Reply With Quote
  #8  
Old 11-08-2016, 06:20 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 11-08-2016, 06:37 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mark,

I actually have 4.2.3 patch 2.. Should I try one of the alpha patches?
Reply With Quote
  #10  
Old 11-08-2016, 06:49 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:30 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.04143 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete