[工具]DZ6.0到PHPBB3的转换程序

在这里讨论从其他论坛程序转换到PHPBB的话题
User avatar
fanisky
技术组成员
技术组成员
Posts: 510
Joined: 2007-04-15 15:03

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by fanisky » 2007-10-31 9:07

直接运行上面的sql看看

Bibby
初来乍到
初来乍到
Posts: 18
Joined: 2007-07-04 15:12

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by Bibby » 2007-11-04 23:47

能转换到 phpBB3 RC7 了么?

User avatar
IOsetting
论坛管理员
论坛管理员
Posts: 3647
Joined: 2006-10-17 1:48

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by IOsetting » 2007-11-04 23:57

Bibby wrote:能转换到 phpBB3 RC7 了么?
理论上可以, 因为RC7和RC5相比, 只是在users 表单增加了一项 user_form_salt, 而其他的变动基本上没影响. 我还没有实际测过, 如果有问题的话到这里反映.

Bibby
初来乍到
初来乍到
Posts: 18
Joined: 2007-07-04 15:12

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by Bibby » 2007-11-05 0:20

IOsetting wrote:
Bibby wrote:能转换到 phpBB3 RC7 了么?
理论上可以, 因为RC7和RC5相比, 只是在users 表单增加了一项 user_form_salt, 而其他的变动基本上没影响. 我还没有实际测过, 如果有问题的话到这里反映.
Thanks to IOsetting.

Bibby
初来乍到
初来乍到
Posts: 18
Joined: 2007-07-04 15:12

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by Bibby » 2007-11-05 1:38

已将 http://www.OpenBSDonly.org 转换到了 phpBB3 RC7,目前没有发现什么问题(除了已知的附件无法转换过来之外).

User avatar
jwxie
炉火纯青
炉火纯青
Posts: 510
Joined: 2007-07-09 10:31

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by jwxie » 2007-11-05 1:58

icqpin wrote:是在本地,Discuz!EXP
郁闷了,一直都找不到问题出在哪
exp應該有部份地方是與DZ6不一樣吧?

Bibby
初来乍到
初来乍到
Posts: 18
Joined: 2007-07-04 15:12

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by Bibby » 2007-11-05 2:04

Bibby wrote:已将 http://www.OpenBSDonly.org 转换到了 phpBB3 RC7,目前没有发现什么问题(除了已知的附件无法转换过来之外).
发现表情图片无法被复制到对应的目录里去。

User avatar
fanisky
技术组成员
技术组成员
Posts: 510
Joined: 2007-04-15 15:03

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by fanisky » 2007-11-05 2:31

权限不行?

jilingshu
新手入门
新手入门
Posts: 26
Joined: 2007-11-08 0:04

DZ6转phpbb3报错

Post by jilingshu » 2007-11-09 0:50

开始转换后不久 就报500了...
咋办呢?

User avatar
IOsetting
论坛管理员
论坛管理员
Posts: 3647
Joined: 2006-10-17 1:48

Re: DZ6转phpbb3报错

Post by IOsetting » 2007-11-10 18:22

jilingshu wrote:开始转换后不久 就报500了...
咋办呢?
嗯, 具体说一下是哪一步之后?  :? 奇怪, 有错也不应该是500呀, 有其他的提示信息吗?

jilingshu
新手入门
新手入门
Posts: 26
Joined: 2007-11-08 0:04

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by jilingshu » 2007-11-14 17:51

准备工作完成,正式开始转换的时候。
按下按钮之后没多久就500了.....没有任何错误.....仅仅是500..........

4371471
初来乍到
初来乍到
Posts: 2
Joined: 2007-11-20 12:54

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by 4371471 » 2007-11-20 12:55

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Incorrect string value: '\xBD\xAD\xBA\xFE\xBF\xCD...' for column 'config_value' at row 1 [1366]

SQL

UPDATE phpbb_config SET config_value = '???? WHERE config_name = 'sitename'

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/functions.php
LINE: 147
CALL: dbal_mysql->sql_query()

FILE: includes/functions_convert.php
LINE: 1288
CALL: set_config()

FILE: install/install_convert.php
LINE: 987
CALL: restore_config()

FILE: install/install_convert.php
LINE: 203
CALL: install_convert->convert_data()

FILE: install/index.php
LINE: 402
CALL: install_convert->main()

FILE: install/index.php
LINE: 274
CALL: module->load()

:cry:

User avatar
IOsetting
论坛管理员
论坛管理员
Posts: 3647
Joined: 2006-10-17 1:48

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by IOsetting » 2007-11-20 13:42

是不是编码的问题? 打开functions_discuz60.php, 找到

Code: Select all

//return utf8_recode($text, 'gbk');
	return utf8_recode($text, 'UTF-8');
改成

Code: Select all

return utf8_recode($text, 'gbk');
	//return utf8_recode($text, 'UTF-8');
再试试

blaze
初来乍到
初来乍到
Posts: 9
Joined: 2007-11-19 22:17

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by blaze » 2007-11-21 18:35

老大能不能透露下下什么时候附件功能也可以ok?

4371471
初来乍到
初来乍到
Posts: 2
Joined: 2007-11-20 12:54

Re: [工具]DZ6.0到PHPBB3的转换程序

Post by 4371471 » 2007-11-21 19:49

IOsetting wrote:是不是编码的问题? 打开functions_discuz60.php, 找到

Code: Select all

//return utf8_recode($text, 'gbk');
	return utf8_recode($text, 'UTF-8');
改成

Code: Select all

return utf8_recode($text, 'gbk');
	//return utf8_recode($text, 'UTF-8');
再试试

Code: Select all

SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 [1064]

SQL

UPDATE phpbb_forums SET left_id = left_id + 2, right_id = right_id + 2 WHERE left_id > 

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: install/convertors/functions_discuz60.php
LINE: 194
CALL: dbal_mysql->sql_query()

FILE: install/install_convert.php(1004) : eval()'d code
LINE: 5
CALL: phpbb_insert_forums()

FILE: install/install_convert.php
LINE: 1004
CALL: eval()

FILE: install/install_convert.php
LINE: 203
CALL: install_convert->convert_data()

FILE: install/index.php
LINE: 402
CALL: install_convert->main()

FILE: install/index.php
LINE: 274
CALL: module->load()


:cry: 改了也没用

Post Reply