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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2015, 09:57 PM
azg azg is offline
 
Join Date: Jul 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Attached pictures are not showing

I've got VB 4.20 and suddenly, attached pictures, including avatars and signatures, are not showing. We did not do any upgrades or modifications to the forum, including changing plugins, before this occurred.

It's for hummer4x4offroad.com. Linked pictures are showing fine but the ones that are uploaded are not showing. I've tried rebuilding thumbnails and just about every update tool in the Maintenance area to no avail.

This thread has examples of uploaded pics not showing as well as avatars and signature pics. http://www.hummer4x4offroad.com/foru...r-the-memories

What do I need to do here, and what more info do you need?
Reply With Quote
  #2  
Old 10-26-2015, 10:37 PM
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
Location: Germany
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are the images stored in the database or filesystem?

[edit] your garage images work, maybe if because they are stored as files.

did your hoster change anything?
Reply With Quote
  #3  
Old 10-26-2015, 11:36 PM
azg azg is offline
 
Join Date: Jul 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database. Not sure if the host changed anything, I will ask
Reply With Quote
  #4  
Old 10-27-2015, 12:50 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are running vB4.2.0, so what version of PHP is on the server? If you are running PHP5.4, then you need to upgrade to vB4.2.2.
Reply With Quote
  #5  
Old 10-27-2015, 01:41 AM
azg azg is offline
 
Join Date: Jul 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP version 5.3.29. I haven't taken the step to upgrade to 4.2.2 since the problem occurred as I didn't want to chance somehow compounding the issue.

Forgot to add a link in the first post. Added it there and showing it here to so show examples of pics not showing http://www.hummer4x4offroad.com/foru...r-the-memories
Attached Images
File Type: png cpanel.PNG (8.5 KB, 0 views)
Reply With Quote
  #6  
Old 10-27-2015, 02:17 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can view thumbnails and download attachments, both set to yes in unregistered/not-logged in usergroup? I right-click to view the image and it requires login box, seems like permission issue. Although one image did come up but browser stated it could not be displayed due to errors... hmm check those settings in Usergroup Manager.
Reply With Quote
  #7  
Old 10-27-2015, 03:12 AM
azg azg is offline
 
Join Date: Jul 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unregistered users can't download attachments but for the purpose of this thread I just changed that to allow you to do so. Even as Admin I can't see these pictures and permissions haven't been changed on any usergroup in over a year.

Can view thumbnails was already set to yes, so you should have been able to see the thumbnails.

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

Here's the response I got from the host. I put in this change but I did not see any immediate result.
----------------------------------------------------
A month ago, we upgraded the server you are hosted on to use Apache/Varnish instead of Litespeed. To offer the best possible performance, Apache/Varnish caches your dynamic content for 3 seconds and any static content such as images, CSS and so on for up to 5 minutes.

As a result, some .htaccess rules may now work differently because Litespeed chooses to ignore most of the errors of a .htaccess file and Apache has a more strict way to deal with them.

We understand however that some websites will not work with caching, so we give the customer the ability to disable it. You can read more about it at https://billing.stablehost.com/knowl...e-caching.html
Reply With Quote
  #8  
Old 10-27-2015, 05:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And so did you try to disable the caching and see if that fixes the problem?
Reply With Quote
  #9  
Old 10-28-2015, 02:55 AM
azg azg is offline
 
Join Date: Jul 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I did try to disable the caching but it did not fix the issue.

When I was editing the .htaccess (via notepad++) I noticed that the carriage returns were "CRLF" vs. "LF". This may have been from a prior editing, and maybe the server is having issues with the formatting. Thoughts?
Reply With Quote
  #10  
Old 10-28-2015, 08:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you edit any file, you need to make sure you use a plain text editor such as notepad++ and make sure you don't save it With BOM.
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 04:25 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.04560 seconds
  • Memory Usage 2,266KB
  • Queries Executed 12 (?)
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)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
  • (1)postbit_attachment
  • (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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete