vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Picture attachments stopped working. (https://vborg.vbsupport.ru/showthread.php?t=293308)

gajinoz 12-26-2012 08:47 PM

Picture attachments stopped working.
 
I recently moved my forum from a shared hosting service to a virtual private server. Pretty much everything went OK, a few minor glitches but nothing serious.

One thing though did stop working, picture attachments in posts no longer works. The process itself works OK, you can select a pic from your PC and upload it but the thumbnail does not show. All you get is a little square where the thumbnail should be. No settings have been changed, I really can't figure out what is going on. Anyone have any ideas?

Thanks.

Vers. 4.1.7

kh99 12-26-2012 08:50 PM

What is the path in the html for the missing image? (view the html source or right click it and get the info).

gajinoz 12-26-2012 09:00 PM

This is what I found:

<img src="http://www.australianbladeforums.com/vb4/attachment.php?attachmentid=2216&amp;d=1355390723& amp;thumb=1" border="0" alt="Name: LightHorsePainting.jpg
Views: 0
Size: 157 Bytes" class="thumbnail" style="float:CONFIG" title="Name: LightHorsePainting.jpg
Views: 0
Size: 157 Bytes">

kh99 12-26-2012 09:10 PM

Hmm...to be honest that didn't help me a lot (but it's my fault for asking). Do you have your forum set to save attachments in the database or the file system? And if it's the file system, did you copy over the directory they were being saved in?

gajinoz 12-26-2012 09:25 PM

Currently being stored in the database and always have been since I installed vB

Lynne 12-27-2012 12:01 AM

What are the results from maintenance > diagnostics > upload?

gajinoz 12-27-2012 12:22 AM

Quote:

Originally Posted by Lynne (Post 2392911)
What are the results from maintenance > diagnostics > upload?

This is the exact message when I run that:

No errors occurred while opening the uploaded file for reading.

It's bizarre, everything appears to be OK, it just doesn't work.

Is there a list of all appropriate/related PHP modules that might be needed for the thumbnail part to work? Maybe my new server is missing one or more.

Lynne 12-27-2012 12:42 AM

That isn't all it says - it should give some php settings along with it. What are they?

gajinoz 12-27-2012 05:24 AM

1 Attachment(s)
Quote:

Originally Posted by Lynne (Post 2392917)
That isn't all it says - it should give some php settings along with it. What are they?

Here is a screenshot:



Attachment 143037

Lynne 12-27-2012 05:26 PM

What is in your error_logs (if you don't know where they are, ask your host)?

Also, have your host set up an upload_tmp_dir for you and make sure he enters the full path into the php.ini file.


All times are GMT. The time now is 11:28 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.01199 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_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