| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 94|Reply: 6
Collapse the left

[Bug] v3.5-20231001 to v3.5-20240520

[Copy link]

 United States

Post time: 2024-06-11 19:10
| Show all posts |Read mode
本帖最后由 xpx 于 2024-06-11 19:37 编辑

v3.5-20231001 to  v3.5-20240520



This post contains more resources

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

x

 Russia

Post time: 2024-06-11 21:59
| Show all posts
Did you tried the /utility/update.php ???

 United States

 Author| Post time: 2024-06-13 10:40
| Show all posts
vot 2024-06-11 21:59
Did you tried the /utility/update.php ???


Yes,
utility update.php
Copy to install
Execute *****/install/update.php

 Russia

Post time: 2024-06-18 09:02
| Show all posts
I see no problems in the code.
That table is created ok!
You have provided too little info about this situation.
Can you show a full backtrace of this bug?
Try to check the database integrity!



 United States

 Author| Post time: 2024-06-18 17:42
| Show all posts
vot 2024-06-18 09:02
I see no problems in the code.
That table is created ok!
You have provided too little info about thi ...

The database is intact.Before the upgrade, there was a "common_setting" table.After the error, the "common_setting" table disappeared.A new table "common_setting_bak" was added.

 Russia

Post time: 2024-06-20 15:49
| Show all posts
Try simply re-creating the common_setting table.
To do this, simply execute a piece of code from the install/data/install.sql file:
(Do not forget to change the table prefix!!!)

  1. DROP TABLE IF EXISTS pre_common_setting;
  2. CREATE TABLE pre_common_setting (
  3.   skey varchar(190) NOT NULL DEFAULT '',
  4.   svalue text NOT NULL,
  5.   PRIMARY KEY (skey)
  6. ) ENGINE=InnoDB;

Copy the Code

And after that just insert all the corresponding data from the file /install/data/install_data.sql
like this:
  1. INSERT INTO pre_common_setting VALUES (......);
  2. ....
  3. INSERT INTO pre_common_setting VALUES (......);
Copy the Code

 Russia

Post time: 2024-06-20 16:40
| Show all posts
I have a guess:
perhaps the database type before the upgrade was MyISAM,
and after the upgrade it should become INNODB.
These two engines are not compatible
If my guess is correct,
then before upgrading your database, you should convert it to InnoDB type!
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-06-21 09:01 GMT+3 , Processed in 0.070370 sec., 9 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