Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2013, 04:44 PM
icebane icebane is offline
 
Join Date: Jun 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Attachments - PNG thumbnails work, JPEGs do not

I'm having a hard time figuring out what went wrong with my forum.

I can't pinpoint when or why, but jpeg thumbnails are no longer showing up when inserted inline or as an attached file.

PNGs continue to work fine.

JPEGs don't show the thumbnail but you can click and the lightbox works!

Here is a thread I created with a variety of tests. You'll see the last is a PNG screenshot of our GD settings in phpinfo.

http://forums.spiders.us/showthread.php?t=7723

I've tried and double checked...
  • Attachment Permissions
  • Cookie domain
  • User group permissions
  • Folder permissions

Does anyone have any ideas? Given our picture focused community, this has been a serious headache for me
Reply With Quote
  #2  
Old 09-26-2013, 10:26 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, went to take a look but your site tells me the thread does not exist.
Reply With Quote
  #3  
Old 09-28-2013, 11:48 PM
dirknerkle dirknerkle is offline
 
Join Date: May 2013
Location: U.S.A.
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're not alone. Everything has been working fine on my site but then about two weeks ago, JPGs no longer displayed thumbnails while PNGs work fine. Now JPGs only display as a link.

I fail to believe it's a cookie issue as nothing has changed with that since last April. I've tried all the updates/refreshes suggested but nada.

Using vbulletin 4.2.1

Here's a link to an example (you may have to register to see it):

http://diychristmas.org/vb1/showthre...=7160#post7160
Reply With Quote
  #4  
Old 09-28-2013, 11:52 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may be obvious, but I wanted to make sure we covered the basics.

This is still a problem when you disable your hooks?

I know it is a 'DUH' question....
Reply With Quote
  #5  
Old 09-29-2013, 12:13 AM
dirknerkle dirknerkle is offline
 
Join Date: May 2013
Location: U.S.A.
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry, I'm not following you -- "disable your hooks" ? Do you mean turn off the extensions?
Reply With Quote
  #6  
Old 09-29-2013, 12:26 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quoted from @Lynne for sake of clarity:

If you think the problem is a plugin, then disable your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php
Code:
    
define('DISABLE_HOOKS', true);
-----------------------------------------
You can also do this in your admincp.

AdminCP -> Settings -> Options -> Plugin/Hook System -> Enable Plugin/Hook System





__________________
Reply With Quote
  #7  
Old 09-29-2013, 12:36 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since you have access to the ACP you can also do this:

ACP --> Settings --> Options --> Plugin/Hook System, set the option, Enable Plugin/Hook System to NO
Reply With Quote
  #8  
Old 09-29-2013, 12:38 AM
dirknerkle dirknerkle is offline
 
Join Date: May 2013
Location: U.S.A.
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay. The only plugin I had was TapaTalk, and that's disabled. The enable Plugin/hook system is set to NO. There are lines through the names of all the plugins on the Plugin manager page.

I ran another test and no change. Is it necessary to have a height and width setting for the size of JPG files? PNG is set to zero, as are all the other graphical file types. PNG works...
Reply With Quote
  #9  
Old 09-29-2013, 12:38 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Ozzy... I really need shortcuts to this kind of stuff.
Reply With Quote
  #10  
Old 09-29-2013, 12:42 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you are having issues with thumbnails. What version of PHP are you currently using? This is a symptom of a vB4 site upgraded to PHP5.4.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:37 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.04354 seconds
  • Memory Usage 2,240KB
  • Queries Executed 13 (?)
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_code
  • (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_postinfo_query
  • fetch_postinfo
  • 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