Dedecms in the process of building a common but do not know how to solve the problem

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Dedecms in the process of building a common but do not know how to solve the problem

Although it is now more than 1 o'clock in the morning, but Kwong also sat in front of the computer to write "Dedecms station in the common but do not know how to solve the problem" this article is to record the recent work of the harvest, at least it can be said that the use of Dede to build a corporate website has nothing serious, But in this way along the process also encountered a lot of trouble and problems, are through their own continuous attempts and summed up to be able to solve.

is because some things are not on the Internet, so Kwong here for now in the use or will be to use Dede to do the site's friends to share, hoping to help them less detours. Of course, the following skills used in the use of the friend may feel very valuable, if not with the friend or Dede to build the station master friend also please haste, I believe you have also come from the novice, see here you directly drift.

Crap not much to say, directly into the business:

The first question, many friends in the weaving Dream dedecms Construction Enterprise website will use to {dede:global.cfg_powerby/} This label calls the copyright of the website, the dream of forced advertising problems may come, attentive friends or used friends must have met.

"Dede V5.7SP1 latest program," such as the call out of copyright information, in addition to your copyright information, but also in the back of the official dedecms of the anchor text link to the official Dream website. If you think you want to support the dream of the official website, then this compulsory advertising for you will not matter.

But the problem is that a lot of people are Kwong on the internet asking about how the forced-dream ad should be removed. So today Kwong share this is used.

In fact, it is not Kwong think of a crack method of what kind of (because to crack the program is more laborious, at the same time this is a master can do things), in fact, we should not use the dream of the default {dede:global.cfg_powerby/} tag to invoke copyright information. Oh, talking about here may everyone will spit, you do not mean not to say? If the copyright information does not use the label to invoke, then change it is not every time to change the template.

If this is the case, I think Kwong will not be here tonight so much, because it is not useful to share the meaning of things. Kwong teaches that you can consider yourself new add a custom variable and then use this custom variable tag to invoke the site's copyright information there will be no dedecms forced advertising.

is not very simple, Kwong construction of the Geek Web site is also the use of custom variables cfg_power_by then use the {dede:global.cfg_power_by/} tag to invoke copyright information. Even Kwong also put the dream of the default copyright information variable to delete, you can see through the screenshot below. How to add and delete specific custom variables please see the "Dream dedecms custom Variable Add and delete method" this article.

  

In fact, a lot of practical functions can be realized by adding new custom variables. For example, such as the above Kwong Network Company's website: address, mailbox, contact person, mobile phone, telephone, fax and other information can use the custom variable to use, because these are a site more easily to change the place.

The second problem, the site after moving in the phpMyAdmin tool MySQL database to import the SQL file successfully, but through the Dede Dream landing site background information are garbled problem (your database editing method is certainly UTF-8).

The premise of this problem here is that your website procedures and templates and database connection files are common.inc.php edited in the right way. Excluding the program and connection files, sometimes novice friends really do not know where the problem. Oh, today Kwong to tell you the solution, the specific reasons I do not know, but this method can certainly be solved.

Because the target database or table is in the UTF-8 character set, importing the data SQL file generally has Chinese, which may result in garbled characters in the final result, just add the following in the first line of the imported SQL file.

/*!40101 SET NAMES UTF8 * *;

The third issue is changing the kwong of the structure prefix of the dream table-whether it is to change the table prefix by downloading the SQL suffix file by phpMyAdmin, or to make a direct, fool Change dede the. txt file table prefix that is backed up by a dream background cannot be changed directly with Notepad because there is an error.

Kwong recently in a corporate web site requires an Chinese version, and dream weaving is not very good support English site. So you can only copy a copy of the Chinese website data to translate into English, but we all know that the general corporate Web site space (PHP) are only one database, if it is two table prefixes exactly the same dream database in a database, it must be covered with each other.

Then the problem is the English Web site database changes the table prefix, the dream to change the database table prefix is very much on the network, here Kwong not to explain, just to remind everyone, whether it is through the phpmyadmin download SQL suffix file change table prefix, Or a direct, stupid change Dede dream background backup out of the. txt file, in the use of database table prefix to change the software must not use Notepad, because this will be wrong, do not believe that we can try, Kwong tried many times, the specific reason is not clear.

Kwong recommends that you use notepad++ software to change the Dede dream database. sql or. txt files. This change and then revert back to the data will not be a problem.

Well, tonight is not too early, Kwong's "Dedecms station process common but do not know how to solve the problem" of the sharing is here, hoping to help some people.

Strange Crazy Network original article reprint need to keep link: http://www.guaikuang.com/website/baike/dedecms-faq.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.