Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution of not running dede php

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you the solution that dede php does not run, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

The solution for not running dede php: 1. Find the template engine disable tag and delete the "php" in it. 2. Execute the command "INSERT INTO `dede_ sysconfig` (`varname`, `info`, ``...)" in the SQL command line.

This article operating environment: windows7 system, DedeCMS5.6 version, DELL G3 computer

Specific questions:

Dede:php cannot be executed, online and so on.

In the background of dream weaving, there is no template engine to disable the PHP function and the template engine to disable tags.

I typed in the SQL command line tool

INSERT INTO `groupid` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ('cfg_disable_funs',' template engine disables the PHP function', 7) the 'cfg_disable_funs',' template engine disables the PHP function. INSERT INTO `dede_ sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ('cfg_disable_tags',' template engine disable tags', 7, 'bstring','php')

After that, the php in the template engine disabled tag corresponding box is removed.

Dede:php still cannot be executed in the build interface.

Solution:

You need to confirm that you have carefully completed the following two steps:

Step 1: website backend-system-system basic parameters-other options-template engine disable tag: delete the "php".

After this step, the problem is generally solved. If it is not resolved, perform the second step.

Step 2: execute the following commands in turn on the SQL command line. Generally speaking, it is convenient to use the mysql command in phpmyadmin.

INSERT INTO `dede_ sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ('cfg_disable_funs',' template engine disables PHP function', 7, 'bstring',' phpinfo,eval,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,file_put_contents')

Note: copy what I typed above on the SQL command line, do not copy anything else, because there may be problems with some web page typesetting. What's more, you can't type in front of the screen, because there are two kinds of single quotation marks, which are easy to be confused.

Of course, it is also possible that you have repeatedly executed the command many times. Go directly to phpmyadmin, view dede_sysconfig data, and delete unnecessary ones.

The above is all the contents of this article entitled "the solution to dede php not running". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report