| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 3786|Reply: 9
Collapse the left

Update from 2.5 to 3.0 bug

[Copy link]
Post time: 2013-08-26 22:20
| Show all posts |Read mode
URGENT, PLEASE!
when i update, get this error!
i execute that command in database (phpmyadmin), but when i re-ran update, shown same error!! what can i do?



This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
 Author| Post time: 2013-08-27 08:16
| Show all posts
UPPPPP
NO ONE HERE?

 Russia

Post time: 2013-08-27 08:47
| Show all posts
Copy/paste here the SQL query.
I'll test it.

Comments

:) i am waiting... , thanks  Post time 2013-08-27 10:10
 Author| Post time: 2013-08-27 08:51
| Show all posts
vot 2013-8-27 09:47
Copy/paste here the SQL query.
I'll test it.

Here you are:
  1. ALTER TABLE pre_common_diy_data CHANGE `targettplname` `targettplname` varchar(128) NOT NULL DEFAULT '', CHANGE `tpldirectory` `tpldirectory` varchar(128) NOT NULL DEFAULT '', ADD PRIMARY KEY (targettplname,tpldirectory)
Copy the Code

 Russia

Post time: 2013-08-27 10:27
| Show all posts
Try this:

Edit install/data/install.sql

Find:
  PRIMARY KEY (targettplname,tpldirectory)

Replace with:
  KEY targettplname (targettplname),
  KEY tpldirectory (tpldirectory)
 Author| Post time: 2013-08-27 10:52
| Show all posts
Edited by mj1919 at 2013-8-27 11:54
vot 2013-8-27 11:27
Try this:

Edit install/data/install.sql

that error solved, Thank you!!!!

but new error !
  1. INSERT INTO forum_threadprofile (`id`, `name`, `template`, `global`) VALUES (1, lang('update','default_layout'), 'a:2:{s:4:"left";s:399:"{numbercard} {groupicon}<p>{*}</p>{/groupicon} {authortitle}<p><em>{*}</em></p>{/authortitle} {customstatus}<p class="xg1">{*}</p>{/customstatus} {star}<p>{*}</p>{/star} {upgradeprogress}<p>{*}</p>{/upgradeprogress} <dl class="pil cl"> <dt>{baseinfo=credits,1}</dt><dd>{baseinfo=credits,0}</dd> </dl> {medal}<p class="md_ctrl">{*}</p>{/medal} <dl class="pil cl">{baseinfo=field_qq,0}</dl>";s:3:"top";s:82:"<dl class="cl"> <dt>{baseinfo=credits,1}</dt><dd>{baseinfo=credits,0}</dd> </dl>";}', 1);
Copy the Code
No.FileLineCode
1install/update.php1653discuz_database::query(%s)
2source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
3source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)
4source/class/db/db_driver_mysql.php218break()


This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2013-08-27 11:33
| Show all posts
It is strange.
I see no table_prefix in your query!
Let's try AGAIN update.php!

 Russia

Post time: 2013-08-27 11:35
| Show all posts
Stop!
Let me try by myself

Comments

:) OK  Post time 2013-08-27 11:40

 Russia

Post time: 2013-08-27 12:54
| Show all posts
It seems the problem is solved.
Verify.
 Author| Post time: 2013-08-27 13:16
| Show all posts
vot 2013-8-27 13:54
It seems the problem is solved.
Verify.

Thank you so much!!!!!!!!!!!
yes it solved by your great help!!!!!!!!


You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-10-06 04:18 GMT+3 , Processed in 0.102282 sec., 13 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list