| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4083|Reply: 4
Collapse the left

discuz 3.4 Plug-in cannot be enabled

[Copy link]
Post time: 2017-12-23 13:35
| Show all posts |Read mode
本帖最后由 AlanJia2017 于 2017-12-23 13:38 编辑

The latest version,Download from Discuz!ML repository.Mobile Forum、Wechat Login、QQ Connect,No enable and uninstall buttons.
The screenshot is as follows:

The mainly problem might in this file:admincp_plugins.php
Replacing it with the official Chinese version can work properly.

This post contains more resources

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

x

 Russia

Post time: 2017-12-24 18:52
| Show all posts
1) Editing of admincp_plugins.php is not a good idea.
2) The solution with clearcloud.php is ok because of it is an official solution.
3) And editing the 'system' attribute to 0 is ok too!

 Author| Post time: 2017-12-23 14:14
| Show all posts
My way to solve this problem:
  1. /*vot*/                                        ($plugin['modules']['system'] != 1 ? (!$plugin['available'] ? "<a href="".ADMINSCRIPT."?action=plugins&operation=enable&pluginid=$plugin[pluginid]&formhash=".FORMHASH.(!empty($_GET['system']) ? '&system=1' : '')."" class="bold">$lang[enable]</a>  " : "<a href="".ADMINSCRIPT."?action=plugins&operation=disable&pluginid=$plugin[pluginid]&formhash=".FORMHASH.(!empty($_GET['system']) ? '&system=1' : '')."">$lang[disable]</a>  ") : " ").
Copy the Code
OR Cancel the redundant break system plug-in:
  1.      (!$plugin['available'] ? "<a href="".ADMINSCRIPT."?action=plugins&operation=enable&pluginid=$plugin[pluginid]&formhash=".FORMHASH.(!empty($_GET['system']) ? '&system=1' : '')."" class="bold">$lang[enable]</a>  " : "<a href="".ADMINSCRIPT."?action=plugins&operation=disable&pluginid=$plugin[pluginid]&formhash=".FORMHASH.(!empty($_GET['system']) ? '&system=1' : '')."">$lang[disable]</a>  ").
Copy the Code


This post contains more resources

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

x
 Author| Post time: 2017-12-24 13:07
| Show all posts
This problem can be handled through the "clearcloud.php" under the utility folder, or modify the database by itself, pre_common_plugin.

This post contains more resources

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

x

Rate

Number of participants 1Rating +1 Collapse Reason
vot + 1 Usefull

View Rating Log

 Russia

Post time: 2017-12-24 19:08
| Show all posts
@AlanJia2017, thank you!
Fixed in #789.
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-04-19 10:02 GMT+3 , Processed in 0.065968 sec., 14 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