| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4682|Reply: 3
Collapse the left

[Bug] [fixed] Parse error before installation

[Copy link]
Post time: 2018-05-24 18:47
| Show all posts |Read mode
Hello,
Latest revision of Discuz ML contains a small bug which unable user to run an installer. To fix it, we have to open following file:

/your_discuz/install/include/install_function.php

Go to the 511th line and delete " ) " symbol before " ; " or just use search to find

  1. /*vot*/        (v_compare($dbver, '4.1') > 0) ? " ENGINE=$type DEFAULT CHARSET=".DBCHARSET : " TYPE=$type");
Copy the Code


replace to

  1. /*vot*/        (v_compare($dbver, '4.1') > 0) ? " ENGINE=$type DEFAULT CHARSET=".DBCHARSET : " TYPE=$type";
Copy the Code

 Russia

Post time: 2018-05-24 19:45
| Show all posts
@kaaleth, thank you!
But the proper fix must be the next:
  1. /*vot*/        (v_compare($dbver, '4.1') > 0 ? " ENGINE=$type DEFAULT CHARSET=".DBCHARSET : " TYPE=$type");
Copy the Code

 Russia

Post time: 2018-05-24 19:51
| Show all posts
Fixed in #810.
 Author| Post time: 2018-05-24 20:18
| Show all posts
Ok, thanks for update .
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-11-22 11:00 GMT+3 , Processed in 0.048314 sec., 8 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