vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Why are my avatars and images not showing up? (https://vborg.vbsupport.ru/showthread.php?t=314051)

Boylen33 08-31-2014 08:44 PM

Why are my avatars and images not showing up?
 
1 Attachment(s)
Why does my forum look like this? It's not just my computer...it's several other users as well. Please help!!!!

Attachment 150250

RichieBoy67 08-31-2014 08:47 PM

Try clearing the vbulletin cache and then rebuilding your avatars in the maintenance section.

Also, if you are using tthe file system to store those images make sure the permissions are set to read and write. (777 chmod)

Boylen33 08-31-2014 08:58 PM

Tried that. I actually hired someone from this forum to fix it and even he couldn't figure it out.

ForceHSS 08-31-2014 09:25 PM

Did you move the attachments into the filesystem admincp/Attachments/Attachment Storage Type

RichieBoy67 08-31-2014 09:48 PM

I will take a look free of charge if you want to give me admin access. Check file paths, permissions, rebuild avatars, etc..

##Have you changed anything recently? Installed anything or moved the site? Upgraded hosting? Anything at all?

Boylen33 08-31-2014 10:19 PM

Quote:

Originally Posted by ForceHSS (Post 2513284)
Did you move the attachments into the filesystem admincp/Attachments/Attachment Storage Type

Went to check and it says they are being stored in the database and asks me to specify the attachment file path. Where do I find this? On my server fia FTP?

ForceHSS 08-31-2014 10:23 PM

if they are in the database that's ok as its default. If you want to move them to the file system make a folder in your ftp root call it attachments change permissions to 777 then go to your admincp/Maintenance/View PHP Info you will find the file path there or let Richie fix the problem you are having with them now and he can do the above as well once the missing images have been fixed

Lynne 09-01-2014 03:43 PM

When did that start happening? What version of vB? What version of PHP on the server?

findingpeace 09-01-2014 08:45 PM

Try adding this line to your .htaccess file:

Code:

Header unset Content-disposition
That header has caused us nothing but trouble with new browsers. Any filenames with a space result in a double header being sent, which causes new browsers to not display the image.

findingpeace 09-03-2014 04:58 PM

Slightly better solution is to leave the header enabled, but add something like this into image.php:

Code:

$nocom = str_replace(",", "", $imageinfo['filename']);
header('Pragma:'); // VBIV-8269
header('Cache-control: max-age=31536000');
header('Expires: ' . gmdate('D, d M Y H:i:s', (TIMENOW + 31536000)) . ' GMT');
header('Content-disposition: inline; filename=' . $nocom);

There's also a hook up there, so I'm sure you could just do the same with a hook.


All times are GMT. The time now is 06:43 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.01165 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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