vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Attached pictures are not showing (https://vborg.vbsupport.ru/showthread.php?t=320611)

azg 10-26-2015 09:57 PM

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?

ArcadeSyndicate 10-26-2015 10:37 PM

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?

azg 10-26-2015 11:36 PM

Database. Not sure if the host changed anything, I will ask

Lynne 10-27-2015 12:50 AM

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.

azg 10-27-2015 01:41 AM

1 Attachment(s)
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

TheLastSuperman 10-27-2015 02:17 AM

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.

azg 10-27-2015 03:12 AM

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

Lynne 10-27-2015 05:52 PM

And so did you try to disable the caching and see if that fixes the problem?

azg 10-28-2015 02:55 AM

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?

Lynne 10-28-2015 08:24 PM

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.


All times are GMT. The time now is 09: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.01101 seconds
  • Memory Usage 1,730KB
  • 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
  • (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