vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Attachments showing 0 bytes? Can I replace the attachment folder? (https://vborg.vbsupport.ru/showthread.php?t=301591)

6piston 08-25-2013 12:05 PM

Attachments showing 0 bytes? Can I replace the attachment folder?
 
Hi Everyone,

I recently moved one of my vb site to another server.
I found the attachment thumbnails not displaying so i decided to move the attachments from the file system to the db. when i did that, there was no improvments so i moved the attachments back to the file system, when i did that i got this error:

We have completed moving attachments to the filesystem. Presently, the attachments still remain in the database and are being read from there. If you are sure that the process completed without incident, go ahead and select yes below to remove the attachments from the database. This step cannot be reversed and may take a few minutes depending on the size of your database. Please be patient.

Quote:

Attachments in Database: 13033
Total Attachments Processed: 13033

The above two values should be the same!

Number of Attachments that could not be created or are 0 bytes: 12887
The above value should be 0! Having 0 byte attachments is not uncommon so a few is nothing to worry about but if the number equals the number of attachments in the database then DO NOT FINALIZE this step or you will lose all of your attachments.
Looks like most of my attachments are corrupted somehow?

My question is, i have a backup attachments folder in my pc. If I proceed with finalizing the process and is left with 10% of actual attachments, can i simply upload the backup attachments folder via ftp and be assured the attachments will load on my site? is it that simple?


Thanks everyone!

Paul M 08-25-2013 01:57 PM

Yes, if you are sure your have a good backup of the files, then what you suggest would work.

6piston 08-25-2013 02:01 PM

AWESOME Paul! thanks for the reply!


All times are GMT. The time now is 07:09 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.00922 seconds
  • Memory Usage 1,713KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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