Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2010, 02:43 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Importing Attachment Question

Hey all,

I have been using Impex to import a 3.8.4 to a 4.0 forum. I ran through everything fine but I had issues with the attachments.

To make a long story short, right now I have all the attachments loaded into a directory on the new forum. When I go into Impex now to redo the attachments module it tells me it relies on the post module and I have to do that first. The only problem with that is that I already ran the post module and the posts are on the new site fine.

I don't want to rerun that module because it is a very large site and it took hours the first time.

I know I could normally just run a couple queries to grab the attachments from the old database and move them to the new one but these are different versions of VBulletin.

Is there anything I can do here? I really have to get this finished and this is the only thing holding me back right now..

Thank you guys ahead of time. Please save my life again.. haha

Rich
Reply With Quote
  #2  
Old 07-14-2010, 03:36 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Were your attachments in the file system or database?
Reply With Quote
  #3  
Old 07-14-2010, 03:49 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The file system--I find this is usually the easiest way to do these transfers... Not this time though..

Thanks
Reply With Quote
  #4  
Old 07-14-2010, 03:55 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why are you using impex as opposed to the upgrade script included in 4.0?
Reply With Quote
  #5  
Old 07-14-2010, 03:57 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to build a new site and move to a new server and the old site was filled with bugs etc and was 3.8.4... That is neither here nor there though. I really just need to know how to get these attachments added..
Reply With Quote
  #6  
Old 07-14-2010, 04:01 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best way to do it is set them to the database first then once everything is running correctly move them to the file system.
Reply With Quote
  #7  
Old 07-14-2010, 04:10 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you are saying to import the database with 700megs of attachments inside? No thanks... Actually I meant 7,000 megs...lol

At any rate, currently the attachments are in the file system and most are actually installed already. I cannot run impex because it will not allow me to do so unless I rerun the post module which will take hours.

Right now I just need to know if there is a way I can move the rest of the attachments into the new site whether it be the file system or database doesn't matter. I am not exactly sure how to proceed from here.

Thanks so much for your replies though. I really appreciate any effort. I have had literally 25 minutes of sleep in the past 2 days so I know I am not think too clearly, like I ever think clearly. haha I have spent many hours rebuilding this site and style and everything is all set minus some attachments..

FYI--The reason the attachments didn't make it through the process is because there were 2 attachments that were too large for php to deal with. I am taking many megs so this is why we stopped.

I planned on just redoing the module but ofcourse firefox crashed on me and when I went back in it would not allow me to redo the module.

If I am stuck redoing the posts again plus the attachments it means this site will be down for another few hours. This is a fairly large site so the import process just takes for ever...

Thanks again..
Reply With Quote
  #8  
Old 07-14-2010, 04:36 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can add them from the file sysytem
on the impex page for the attachments, it gives you an option as for the location of the attachments.
Upload your old attachment folder somewhere on the site, and point to it in impex when you get to the attachment module.

and ps.. you can import any size sql dump into your DB, size doesn't matter, at least around a few gig's doesn't matter, you can upload it with SSH in a matter of seconds.
Reply With Quote
  #9  
Old 07-14-2010, 04:40 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I did that Loco but the issue is that Impex will not run. It is giving me a message telling me I have to run the "post Module" first which I already ran. I am not sure if you read my post or not but to rerun the post import will take hours...

I know exactly how to run impex and do as you suggested. That is just what I did in the first place but I ran into problems.

Yes, I used ssh but I am talking about the attachments being to large when running impex. Impex crashed because one of the attachments was too large for php to handle...


Thanks for your reply.

I am getting nowhere with this. I think I am just going to rerun the post module and the attachment module should run fine now that I deleted the very large attachments. It is just more time is all and I am a tired little baby right now.

If anyone does have the answer though let me know

FYI--This is the message I get from impex

PHP Code:
This module is dependent on Import post cannot run until that is complete 
--------------- Added [DATE]1279130904[/DATE] at [TIME]1279130904[/TIME] ---------------

Thanks guys,

I have this figured out now but I really appreciate the advice etc.

Take care,

Rich
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09647 seconds
  • Memory Usage 2,245KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete