Help with Ikonboard converter

Started by computerworks, January 24, 2007, 08:31:46 AM

Previous topic - Next topic

computerworks

Trying to convert existing Ikonboard 3.1.2a to clean install of SMF.

SMF is installed and running in a new database, but on the same MySQL server as the Ikonboard.

Created same database user for both DBs.... I can PHPMyAdmin into the Ikonboard database with that username.

When I run the converter...it finishes almost instantly, with a "Success" message and no errors...
...but the SMF has not changed...nothing has been imported.

Any help as to where we can start to debug this?

thanks
ron

computerworks

Quote from: computerworks on January 24, 2007, 08:31:46 AM
When I run the converter...it finishes almost instantly, with a "Success" message and no errors...
...but the SMF has not changed...nothing has been imported.

Just an update....we get the Success message no matter what info is filled in for database name, etc.

:-)

If we leave all the fields blank and run the converter...it still says "Success"..but nothing happened.

Why no error messages at all?

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

computerworks


JayBachatero

#4
Ok you need to log into to powweb's control panel and change the tmp_dir session.save_path path in php.ini file.  Powweb allows you to edit the php.ini file.

EDIT:  It's the session.save_path path.  Set it to the correct path.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

computerworks

Jay..thanks..I can see how I can edit the php.ini file..

What should the session save path be set to?

Should I reset it back to the default settings after a successful conversion?

Thanks much...

JayBachatero

Umm it should be /path/to/public_html but just create a dir in the same dir that puclib_html is is and call it sessions.  It should be set to 777 I believe.  If you can't get it working search Powweb's forum.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

computerworks

I'll give it a shot...

the default setting was:

session.save_path = /var/php_sessions


computerworks

OK...got it to work.   :D

I could not get a path setting in the php.ini to make it work.

Powweb does have a folder called phpsessions at the same level as htdocs, though.

So....

I put this statement at the start of the convert.php file:

session_save_path('/path/to/home/phpsessions');

...and that got it rolling.

The convert.php failed twice with errors relating to missing columns in the smf_ tables.

...so I manually had to add these:

to smf_log_topics
had to add field logTime

to smf_members
had to add tempID

After that, the conversion appears to have worked nicely.

Thanks, Jay... couldn't have done it without your hints.   ;D

JayBachatero

Actually you don't need the logTime table :P.  I'll update the converter for that change.  I suggest you get the path correct in php.ini or else it will cause problems in the future with sessions.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

computerworks

...good point, since next task is a CMS.  >:(


Advertisement: