Simple Machines Community Forum

SMF Support => Converting to SMF => Topic started by: SleePy on June 19, 2008, 08:17:45 PM

Title: [SMF Converter] PHPKit
Post by: SleePy on June 19, 2008, 08:17:45 PM
Software: PHPKit
Version: 1.6.x

This is the official support topic for PHPKit converter.  Use this topic to ask for support for this converter.
A big thanks goes to ThorstenE (http://www.simplemachines.org/community/index.php?action=profile;u=73029) for his help in creating the converter.

Note: This was tested on PHPKit 1.6.4, but should in theory work on other versions of PHPKit if the database changes have not been to great.

Changelog
+ Added conversion of signature BBC code
! Fixed issues with topic notifications possibly having duplicate errors
! Removed a join that can cause high server loads.

How to convert
Use this convert.php (http://www.simplemachines.org/community/index.php?topic=140741.0) with the .sql file attached in this topic.
Title: Re: [SMF Converter] PHPKit
Post by: Nightmage on June 21, 2008, 04:21:41 PM
The Database Structure from 1.6.4 is different from version 1.61.
I testet the converter, does'nt work on 1.6.1
Title: Re: [SMF Converter] PHPKit
Post by: SleePy on June 21, 2008, 05:51:09 PM
What errors did you receive?

It may be possible to make it work with the older version.
Title: Re: [SMF Converter] PHPKit
Post by: Aragon4868 on October 02, 2008, 06:59:53 AM
Hi,

i get a massage:

The converter detected that your host has open_basedir enabled on this server. Please ask your host to disable this setting or try moving the contents of your PHPKit 1.6.4 to the public html folder of your site.

My provider can't disable open_basedir.

What can i do now?

Thanks for helping
Title: Re: [SMF Converter] PHPKit
Post by: SleePy on October 02, 2008, 06:52:27 PM
As the second sentence says you can move the files to see if that works.

In addition you could try a local conversion on your computer if you have the software setup to run a website on your computer.
Title: Re: [SMF Converter] PHPKit
Post by: BubonicPlague on January 02, 2009, 04:51:56 PM
The converter detected that your host has open_basedir enabled on this server. Please ask your host to disable this setting or try moving the contents of your PHPKit 1.6.4 to the public html folder of your site.

How do i fix this
Title: Re: [SMF Converter] PHPKit
Post by: ThorstenE on January 03, 2009, 03:05:10 AM
BubonicPlague,
can you check your phpkit? is there a file named Sql.php in
Pkinc/Rep/Sites/Include/Data/ ?

maybe all folders start with a lower case character?
pkinc/rep/sites/include/data/sql.php

if all folders start with a lower case character try the attached version please:


Title: Re: [SMF Converter] PHPKit
Post by: RogerLewin on April 18, 2009, 08:19:02 PM
I also tried the php. Worked not with me because...

"The converter detected that your host has open_basedir enabled on this server. Please ask your host to disable this setting or try moving the contents of your PHPKit 1.6.4 to the public html folder of your site."

I'm not so used to this kind of error messages - what does it mean?

I'm using phpKit 1.6.1 and there is no folder structure like mentioned beforen
Title: Re: [SMF Converter] PHPKit
Post by: ThorstenE on April 19, 2009, 12:59:15 AM
RogerLewin,
the converter was originally for phpKit 1.6.4, and I  know the file structure from phpKit 1.6.1 is little bit different. Our converter tried to find the "/pkinc/rep/sites/include/data/sql.php".

this file contains all information about the phpKit database (name and prefix).

Can you please check your phpKit Installation for a similar file? I need to know the path and name from that file, also variables / constants for database and prefix.
(phpKit 1.6.4 used: pkSQLDATABASE and pkSQLPREFIX)
Title: Re: [SMF Converter] PHPKit 1.6.1
Post by: paXton42 on January 05, 2010, 08:54:08 PM
Hi!

Perhaps this info is useful for someone else.

After some tweak in the header of the SQL script, the converter worked with our rubbish old phpkit 1.6.1 like a charm.
/******************************************************************************/
---~ name: "PHPKit 1.6.1 "
/******************************************************************************/
---~ version: "SMF 1.1"
---~ settings: "/admin/config/inc.sql.php"
---~ from_prefix:  "`" . $database. "`. ". $sqlprefix. "_"
---~ table_test: "{$from_prefix}user"

I don't know if this are 1.6.1 standard paths.

Thanks for the great converter!

Ciao... Pascal aka paXton
Title: Re: [SMF Converter] PHPKit
Post by: Norv on January 11, 2010, 08:53:08 PM
Thank you, it's good to keep in mind. Perhaps others will have this problem and then they can eventually try your suggestion as well.
Title: Re: [SMF Converter] PHPKit
Post by: McFly on June 22, 2011, 05:13:39 AM
Trying to convert PHPkit 1.6.4 to SMF 2.0, I got the following error:

QuoteConverting members...Wrong value type sent to the database. Integer expected. (gender)

The correct type is tinyint(4) in the SMF2-db.

Mc Fly