Dedecms uploading a picture upload FILETYPE not allow error resolution _php tutorial

Source: Internet
Author: User
Tags website server
Recently installed the DEDECMS official 5.7 version of the program, in the publication of the article but found a problem, that is, during the publication of the article through the editor when uploading pictures, the picture can not be uploaded, the error is given: "Upload filetype not let ...", After careful study of the author finally came up with a solution, here to share with you.

Actually very simple, find/include/uploadsafe.inc.php this file, in the 45th line of the file to do the following changes:

$imtypes = array

Change into

$imgtypes = array

The above modification is complete update the whole station cache this problem solved.

Articles you may be interested in

    • Dedecms tips for Dedetag Engine Create File false Error resolution
    • How to troubleshoot PHP run with a call to undefined function Curl_init error
    • The JQuery plugin (lazy load) usage for lazy loading pictures
    • IE6 Transparent PNG picture shows the wrong solution
    • Dedecms (Dream Weaving) website Server directory security Settings experience sharing
    • Three ways to enhance the safety of woven dream CMS
    • The resolution of the image in the upload content is too wide
    • FCKeditor Add right-click menu-Picture Delete function

http://www.bkjia.com/PHPjc/764159.html www.bkjia.com true http://www.bkjia.com/PHPjc/764159.html techarticle recently installed the DEDECMS official 5.7 version of the program, in the publication of the article but found a problem, that is, in the process of publishing an article through the editor when uploading pictures, pictures upload not ...

  • 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.