View Full Version : Discus problem...
badran
Mon 14th May '07, 3:50pm
I am trying to import from Discus 4.00.8 PRO to the latest VB.
I have download the latest version of the vb and impexp tool. Installed everything, but I still have one problem, every time I try to import I get the same output
moderator - importmoderatorid OK
usergroup - importusergroupid OK
ranks - importrankid OK
poll - importpollid OK
forum - importforumid OK
forum - importcategoryid OK
user - importuserid OK
style - importstyleid OK
thread - importthreadid OK
post - importthreadid OK
thread - importforumid OK
smilie - importsmilieid OK
pmtext - importpmid OK
avatar - importavatarid OK
customavatar - importcustomavatarid OK
customprofilepic - importcustomprofilepicid OK
post - importpostid OK
attachment - importattachmentid OK
pm - importpmid OK
usernote - importusernoteid OK
phrase - importphraseid OK
subscription - importsubscriptionid OK
subscriptionlog - importsubscriptionlogid OK
/var/www/vhosts/[removed]/httpdocs/discus/messages/board-topics.html - NOT OK
/var/www/vhosts/[removed]/httpdocs/discus_admin_628510743 - NOT OK Failed Check database permissions and connection, or table prefix to ensure its correct
I tried both importers same results... all info correct (db,user, pass, pref) , The importer that uses files, i don't know were to add the link...
Jerry
Mon 14th May '07, 7:04pm
Then its not the correct path, ssh to the server and use pwd to find the correct path, or use a relative path from the impex folder to the discus folder, i.e.
../../discus/messages/
The first is just a path not a path and file.
badran
Tue 15th May '07, 12:31am
The dialoge does say
Full path and file name of the discus tab messages file
I tried it your way.... and I get....
phrase - importphraseid OK
subscription - importsubscriptionid OK
subscriptionlog - importsubscriptionlogid OK
/var/www/vhosts/[removed]/httpdocs/discus/messages/ - NOT OK
/var/www/vhosts/[removed]/httpdocs/discus_admin_628510743/ - NOT OK Failed Check database permissions and connection, or table prefix to ensure its correct
Did you take a look at my quote?? I do belive this is the full path.... or am I missing something
Thank you.
Jerry
Tue 15th May '07, 5:20pm
Then that isn't the valid path, or PHP doesn't have permissions to read it.
I'm guessing the actual path is diffrent and is masked, try the ssh approach to get the path or a relative one.
badran
Wed 16th May '07, 12:28am
Problem solved... I moved the impex folder to the same subdomain as the old forum...
badran
Wed 16th May '07, 12:33am
Now it works but on the "004 Import thread" step it kinda halts I guess... and give off this error
Importing 19 Forumsobject(impexdata)(14) { ["source_table_cache"]=> array(0) { } ["_version"]=> string(5) "0.0.1" ["_customernumber"]=> string(20) "[#]customernumber[#]" ["_values"]=> array(1) { ["thread"]=> array(3) { ["mandatory"]=> array(4) { ["title"]=> string(12) "Thread title" ["forumid"]=> string(10) "!##NULL##!" ["importthreadid"]=> string(2) "-1" ["importforumid"]=> string(2) "-1" } ["dictionary"]=> array(25) { ["title"]=> string(12) "return true;" ["forumid"]=> string(12) "return true;" ["importthreadid"]=> string(12) "return true;" ["importforumid"]=> string(12) "return true;" ["firstpostid"]=> string(12) "return true;" ["lastpost"]=> string(12) "return true;" ["pollid"]=> string(12) "return true;" ["open"]=> string(12) "return true;" ["replycount"]=> string(12) "return true;" ["postusername"]=> string(12) "return true;" ["postuserid"]=> string(12) "return true;" ["lastposter"]=> string(12) "return true;" ["dateline"]=> string(12) "return true;" ["views"]=> string(12) "return true;" ["iconid"]=> string(12) "return true;" ["notes"]=> string(12) "return true;" ["visible"]=> string(12) "return true;" ["sticky"]=> string(12) "return true;" ["votenum"]=> string(12) "return true;" ["votetotal"]=> string(12) "return true;" ["attach"]=> string(12) "return true;" ["similar"]=> string(12) "return true;" ["hiddencount"]=> string(12) "return true;" ["deletedcount"]=> string(12) "return true;" ["threadid"]=> string(12) "return true;" } ["nonmandatory"]=> array(21) { ["firstpostid"]=> string(10) "!##NULL##!" ["lastpost"]=> string(10) "!##NULL##!" ["pollid"]=> string(1) "0" ["open"]=> string(1) "1" ["replycount"]=> string(1) "0" ["postusername"]=> string(10) "!##NULL##!" ["postuserid"]=> string(1) "0" ["lastposter"]=> string(1) "0" ["dateline"]=> string(1) "0" ["views"]=> string(1) "0" ["iconid"]=> string(1) "0" ["notes"]=> string(15) "Imported thread" ["visible"]=> string(1) "1" ["sticky"]=> string(1) "0" ["votenum"]=> string(1) "0" ["votetotal"]=> string(1) "0" ["attach"]=> string(10) "!##NULL##!" ["similar"]=> string(10) "!##NULL##!" ["hiddencount"]=> string(10) "!##NULL##!" ["deletedcount"]=> string(10) "!##NULL##!" ["threadid"]=> string(10) "!##NULL##!" } } } ["_elementtypes"]=> array(2) { [0]=> string(9) "mandatory" [1]=> string(12) "nonmandatory" } ["_datatype"]=> string(6) "thread" ["_failedon"]=> string(0) "" ["_has_default_values"]=> bool(false) ["_default_values"]=> array(0) { } ["_has_custom_types"]=> bool(false) ["_custom_types"]=> array(0) { } ["_password_md5_already"]=> bool(false) ["_auto_email_associate"]=> bool(false) ["_setforgottenpassword"]=> bool(false) }
Steve Machol
Wed 16th May '07, 12:39am
That is usually an indication that a files was not uploaded correctly. Reupload all the Impex files, making sure you upload in ASCII format and overwrite the ones on the server.
badran
Wed 16th May '07, 9:43am
Reuploaded... same issue
Jerry
Wed 16th May '07, 12:19pm
Download ImpEx again, and upload and overwrite all the files in :
impex/systems/DiscusWare4Pro_tabfile
badran
Wed 16th May '07, 12:34pm
It works now... thanks you Jerry
badran
Wed 16th May '07, 12:50pm
Btw it is telling me
Fatal error: Allowed memory size of 33554432 bytes exhausted
How mush memory would be enough... to get this running ... thank you..
Steve Machol
Wed 16th May '07, 1:29pm
You can disable the memory limit by editing your includes/config.php file and add this line right under <?php:
ini_set('memory_limit', -1);
Jerry
Wed 16th May '07, 1:30pm
Really depends on the site of the tab file that your importing from and how many threads/posts you are doing per page.
You can lower the per page number to user less memory as well, or just up the PHP as much as you can for the sake of the import then lower it again afterwards.
badran
Wed 16th May '07, 3:05pm
I have given it 1G mem and 30min ... worked :) thanks guys... looking good till now :) Thanks again...
Jerry
Wed 16th May '07, 4:17pm
Make sure you cover this when you are done :
http://www.vbulletin.com/docs/html/impex_cleanup
badran
Thu 17th May '07, 12:10am
I know... was following the docs while doing this... didn't want to mess things up... anyways this was only a test run... The Actual forum moves are going to be done in a while :)
Thanks guys for the Great tool...
antiekeradio
Thu 17th May '07, 7:05pm
hey, great to see another discus user coming this way. welcome! :)
don't forget to check out the difference in disk usage afterwards; its stunning.
badran
Fri 18th May '07, 11:34am
I know... well discus is just discusting .... VB was choose because it had one of the only 1/2 descent importing systems around...
antiekeradio
Fri 18th May '07, 6:34pm
for me that was the decisive argument in favour of vBulletin, too.
i can totally recommend the ticket support Jelsoft provides on the impex program. It is true that some issues are to be expected with such a fuzzy source format as a discus board, but just ask and they will be resolved very quickly!
asking a few questions saved me a lot of cleaning up and manual setting afterwards...
badran
Mon 21st May '07, 12:16pm
I know... They have great support.
Jerry
Mon 21st May '07, 3:10pm
Thanks :) Makes starting at tab delimited files worth it !!
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.