vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Attachments Issue (https://vborg.vbsupport.ru/showthread.php?t=315531)

ramesh_umk3 11-21-2014 02:55 PM

Attachments Issue
 
Really strange problem. Yesterday i deleted all the attachments from my attachments folder and i even cleared my attachment tables from SQL

After all that process i have attached a new file in forum data.rar but when i try to download i get blank page

when i try to see what error was i getting of php i see that error is "Invalid File (attachments.../1/1/2/6/7/8/75847.attach) no file found"

That is really strange but there are no files in attachments folder neither files are getting uploaded when i attach in my forum

but i can download files when i move attachments to database rather than filesystem

need a help in this unknown problem

kh99 11-21-2014 03:40 PM

In the admincp, go to Maintenance > Diagnostics and try to upload a file.

Edit: oh, actually that probably won't tell you anything since it doesn't try to save the file. If you upload a file to the database then "Move Items from Database into File System", does that work without an error?

Lynne 11-21-2014 08:20 PM

So you deleted all the files from the /attachments directory and then cleared the attachment table... did you also clear your filedata table since that is where the attachment data is actually stored?

(And I hope you made a directory and database backup before you did this.)

ramesh_umk3 11-22-2014 07:44 AM

Awesome Lynne!!!!

1) I empty FileData Table
2) Changed Database to FileSystem Storage in AdminCP

Uploaded one file in forum and tried to download it Bingo its working again :D

Thank you Lynne and kh99


All times are GMT. The time now is 11: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.01000 seconds
  • Memory Usage 1,716KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete