Advertisement:

Author Topic: [SMF Converter] PHPKit  (Read 37279 times)

Offline SleePy

  • Site Team
  • SMF Master
  • *
  • Posts: 28,956
  • Gender: Male
  • Thats his happy face.
    • @jdarwood on Twitter
    • SleePy Code - My personal site
[SMF Converter] PHPKit
« 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 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 with the .sql file attached in this topic.
« Last Edit: July 18, 2009, 02:52:17 PM by TE »
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub
G+

Offline Nightmage

  • Semi-Newbie
  • *
  • Posts: 32
Re: [SMF Converter] PHPKit
« Reply #1 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

Offline SleePy

  • Site Team
  • SMF Master
  • *
  • Posts: 28,956
  • Gender: Male
  • Thats his happy face.
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] PHPKit
« Reply #2 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.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub
G+

Offline Aragon4868

  • Semi-Newbie
  • *
  • Posts: 16
Re: [SMF Converter] PHPKit
« Reply #3 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

Offline SleePy

  • Site Team
  • SMF Master
  • *
  • Posts: 28,956
  • Gender: Male
  • Thats his happy face.
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] PHPKit
« Reply #4 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.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub
G+

Offline BubonicPlague

  • Newbie
  • *
  • Posts: 1
Re: [SMF Converter] PHPKit
« Reply #5 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

ThorstenE

  • Guest
Re: [SMF Converter] PHPKit
« Reply #6 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:



Offline RogerLewin

  • Semi-Newbie
  • *
  • Posts: 13
Re: [SMF Converter] PHPKit
« Reply #7 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
« Last Edit: April 18, 2009, 08:23:22 PM by RogerLewin »

ThorstenE

  • Guest
Re: [SMF Converter] PHPKit
« Reply #8 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)

Offline paXton42

  • Newbie
  • *
  • Posts: 2
Re: [SMF Converter] PHPKit 1.6.1
« Reply #9 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.
Code: [Select]
/******************************************************************************/
---~ 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

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,313
  • Blue Wolf
Re: [SMF Converter] PHPKit
« Reply #10 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.
To-do lists are for deferral. The more things you write down the later they're done… until you have 100s of lists of things you don't do.
File a security report | Developers' Blog | Bug Tracker

Also known as Norv on D* | Norv N. on G+ | Norv on Github

Offline Mc Fly

  • Semi-Newbie
  • *
  • Posts: 45
  • Gender: Male
    • Die Annoholiker
Re: [SMF Converter] PHPKit
« Reply #11 on: June 22, 2011, 05:13:39 AM »
Trying to convert PHPkit 1.6.4 to SMF 2.0, I got the following error:

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

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

Mc Fly
1. CentOS 5, Apache 2.2.3, PHP 5.3.6, MySQL 5.1.57, safe_mod: off
2. Ubuntu 10.10, Apache 2.2.16, PHP 5.3.3, MySQL 5.1.49, safe_mod: off

SMF 2.0.2 PortaMx 1.45, AEVA 1.4w, reCAPTCHA 0.9.8a