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 04-09-2014, 02:12 PM
exploringnh exploringnh is offline
 
Join Date: Feb 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Attachments not displaying when attached from "Quick Reply"

I deleted everything on my server, re-installed vbulletin 4.2, and imported the old vbulletin database about a month ago and have been having problems ever since. Currently running 4.2.2 PL1.

When a user posts an attachment in a new thread, the image displays inline as it should but also as an attachment. The same happens when replying using advanced reply. This is a small annoyance but not the main problem.



When posting from quick reply, the attachment shows as a link. The link, if followed, states "vBulletin Message
Invalid Attachment specified. If you followed a valid link, please notify the administrator". This is the main problem.



In the attachment table of the database, there is either no record of the problematic attachment or the contentid is 0.



If the post is edited, images deleted and re-added, the images will show, presumably because the problem only exists with Quick Reply.

The original poster and some users (but not all) can see the attachment, even if cache is cleared and even if logged in from another computer as long as the attachmentid is in the database. If the attachment is not in the database at all the original poster can not see it either.

Admin CP -> Import & Maintenance -> Diagnostics -> Upload shows no problems. Plugins and hooks are disabled. Files are stored in the file system. Forum Component URL is used and set to: http://forums.mywebsite.com

I have had issues with the forum component stuff before and I am wondering if this is a permissions issue based around that. This feature seems a little glitchy. I have also had problems with PayPal IPN submitting to the wrong URL, regardless of forum settings that I believe is caused by the forum component settings.

--------------- Added [DATE]1397141586[/DATE] at [TIME]1397141586[/TIME] ---------------

I just disabled the forum component URL and the problem still exists, so it is not related to that.
Reply With Quote
  #2  
Old 04-11-2014, 03:31 AM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Vbulletin doesn't allow you to do attachments in Quickreply (much to my dismay)

I'm certain of that since I've been trying to figure out how to allow that. I had some kind of hack/mod installed, can't recall exactly what, but in any case, it broke with v4.2. I posted a question in the official Vbulletin support forum and Zach replied that it is not supported and the only option would be a third party mod.

So how is it that you're even getting the option to do attachments in quickreply?

--------------- Added [DATE]1397192247[/DATE] at [TIME]1397192247[/TIME] ---------------

OK, found a solution for my issue, may help yours. Turn off "asset manager", it's what broke the image attachments in quickreply, apparently some sort of conflict.
Reply With Quote
  #3  
Old 04-13-2014, 02:28 PM
exploringnh exploringnh is offline
 
Join Date: Feb 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It used to allow this functionality and I can't imagine it would have changed.

Asset Manager has been disabled during testing with no change in results.

--------------- Added [DATE]1397414564[/DATE] at [TIME]1397414564[/TIME] ---------------

In the past, I have had Standard Editor and WYSIWYG controls enabled for quick reply in the Message Interface Posting Options.

If I set that to Standard Editor only, it will attach the images as a link
PHP Code:
[ATTACH=CONFIG]19419[/ATTACH
but will still not save them to the database. This is essentially the same problem, but I am providing as much information as possible to try and help trigger a solution.
Reply With Quote
  #4  
Old 04-19-2014, 06:48 PM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, seeing the same issue now.

It appears that VB 4.2 PL 1 broke this. With the modified version of uploader.swf, the images SEEM to work. While editing they show up in the post just fine. However... When you save the message, you only get a link to the attachment, not the image.

Anyone else seeing this? Anyone got a solution?

In my case they ARE being saved to the database, but it only shows them as an attachment, not the image.

--------------- Added [DATE]1397954091[/DATE] at [TIME]1397954091[/TIME] ---------------

I'm currently trying to get the folks at the VB forum to work with me on this. I'm convinced it's a problem in VB4.2.2 PL1, as even when I use the 0 byte version of the uploader (which is included in the release) it still won't work.

http://www.vbulletin.com/forum/forum...-in-quickreply
Reply With Quote
  #5  
Old 04-23-2014, 12:12 PM
exploringnh exploringnh is offline
 
Join Date: Feb 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have disabled quick reply for now until I have time to go back to it. I have still found no solution and in my searching have found a number of other forums with the same issue with no solution. I also see plenty of forums that this is working fine on so it CAN work, one way or another.
Reply With Quote
  #6  
Old 04-23-2014, 01:04 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am sure that I had a similar problem some time ago and found out I was using the wrong PHP version on the server..
I am using vb 4.2.1, and changed the PHP version to 5.2.17 and all worked for me..

Except I get errors rebuilding attachment thumbnails but I can live with that.. All the attachments are displayed as I would expect them to be..
Reply With Quote
  #7  
Old 04-23-2014, 02:23 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this problem at random times as well. I cannot easily reproduce it though.
Reply With Quote
  #8  
Old 04-25-2014, 04:00 PM
exploringnh exploringnh is offline
 
Join Date: Feb 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am running PHP 5.3.27
Reply With Quote
  #9  
Old 04-25-2014, 05:05 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm curious if anyone has seen a pattern by browser? It seems like sometimes the file just never makes it there. It could very well be a bug in the flash uploader.
Reply With Quote
  #10  
Old 04-25-2014, 05:42 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try upgrading to 4.2.2
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 01:38 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
  • Page Generation 0.04132 seconds
  • Memory Usage 2,256KB
  • 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
  • (1)bbcode_php
  • (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