Solution: Unable to upload images in the background of PhpCmsV9

Source: Internet
Author: User
In the last updated version (9.4.2), PHPCMSV9 failed to judge the code. A bug that occurs when PHPCMS updates articles in the background and fails to upload images. The new version also found a temporary solution in the PHPCMS Forum, hoping that the official PHPCMS will release the update package as soon as possible, so that more operational Webmasters can save time and effort. Blessed are you now!

In the last updated version (9.4.2), PHPCMS V9 failed to judge the code. A bug that occurs when PHPCMS updates articles in the background and fails to upload images. The new version also found a temporary solution in the PHPCMS Forum, hoping that the official PHPCMS will release the update package as soon as possible, so that more operational Webmasters can save time and effort. Blessed are you now!

In the last updated version (9.4.2), PHPCMS V9 failed to judge the code. A bug that occurs when PHPCMS updates articles in the background and fails to upload images. The new version also found a temporary solution in the PHPCMS Forum, hoping that the official PHPCMS will release the update package as soon as possible, so that more operational Webmasters can save time and effort.

Blessed are you now! Here is a temporary solution for you.

Method 1: file path:/phpcms/libs/classes/attachment. class. php

Method 2: file path:/phpcms/libs/classes/attachment. class. php

Set

If (empty ($ this-> userid )){

Replace

If (empty ($ _ POST ['userid']) {

Original article address: solution: Unable to upload images in the background of PhpCms V9. Thanks for sharing the original article.

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.