Home> CMS Tutorial> PHPCMS> body text

How to solve the problem that phpcms fails to generate thumbnails?

Guanhui
Release: 2020-07-20 13:51:12
Original
3224 people have browsed it

How to solve the problem that phpcms fails to generate thumbnails?

#How to solve the problem that phpcms fails to generate thumbnails?

Solution to the failure of phpcms to generate thumbnails: First open the "phpcms/modules/attachment/attachments.php" file; then comment or delete the judgment on line 50. The reason is The judged value may be empty, causing thumbnail generation to fail.

if(empty($this->userid)){ exit('0'); }
Copy after login

PHPCMS

Phpcms is the leading website content management system in China and an open source PHP development framework. . Phpcms is composed of more than 20 functional modules such as content model, membership, Q&A, special topics, finance, orders, advertising, email subscription, short messages, custom forms, and site-wide search. It has built-in news, pictures, downloads, information, and products 5 Big content model. Phpcms adopts modular development, supports custom content models and membership models, and can customize fields.

In today's ever-changing market environment, fast and efficient IT solutions are the key to your business success. We at PHPCMS are proud to be able to tailor solutions that fully meet your needs. Using our systems, we can make your business more efficient and gain greater profits in the market. Our long-term successful experience in the CMS field has made us the leader in the domestic CMS field. The services we provide you include: PHPCMS commercial authorization, program customization, data conversion, and video storage services. Join hands with PHPCMS to reach new heights in your career.

Recommended tutorial: "PHPCMS Tutorial"

The above is the detailed content of How to solve the problem that phpcms fails to generate thumbnails?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!