PDA

View Full Version : Import Problem when cleaning up



BeoRski
Tue 5th Aug '08, 3:34pm
Basically, the import went without a hitch until we try to clear the session so we can do another import run (vBlogetin - vBblog). It doesn't go through. It says no connection to the database but everything else went fine. Can someone give me an SQL script so I can just manually clear the session out? Thanks in advance!

Jerry
Tue 5th Aug '08, 8:49pm
Ensure the target database details are in ImpExConfig.php

BeoRski
Tue 5th Aug '08, 10:20pm
Hi Jerry,

As stated all import procedures are working. It only errors out when I try and clear the sessions. All old forum data has been imported over. I assume that all settings are correct in the ImpExConfig.php file since everything else went without a hitch. All data are in 1 source database and also 1 target database.



Best Regards

Ensure the target database details are in ImpExConfig.php

Jerry
Wed 6th Aug '08, 4:51pm
So the target details are in ImpExConfig ?

BeoRski
Wed 6th Aug '08, 6:30pm
Yup. Triple checked, it's there. Can you provide me with a mysql script to just clean the sessions out? Really need to have this going. Thanks!

Jerry
Wed 6th Aug '08, 8:10pm
What is the error when you try to delete it ?

The SQL to do it manually is :



DELETE FROM datastore WHERE title='ImpExSession';

BeoRski
Thu 7th Aug '08, 3:59am
This is the error I get immediately after clicking on "Database cleanup & restart"
---
ImpEx Database errormysql error: Link-ID == false, connect failed

mysql error:

mysql error number: 0

Date: Thursday 07th 2008f August 2008 01:57:37 AM
Database: forum
MySQL error:

Steve Machol
Thu 7th Aug '08, 2:32pm
That means the db info in your ImpExConfig.php file is wrong.

BeoRski
Thu 7th Aug '08, 7:59pm
If it is wrong, how did it import all the forum data then? I hope you would read all posts prior to posting a reply...

... and thank you Jerry, I'll try that out and post feedback here.

Jerry
Thu 7th Aug '08, 8:06pm
If it is wrong, how did it import all the forum data then? I hope you would read all posts prior to posting a reply...

I'm sure Steve did read it and posted because ImpEx users the includes/config.php for importing, though forces people to put the target details into ImpExConfig.php before using help.php.