In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article shares with you the solution to the problem that phpcms v9 cannot upload thumbnails. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
What if phpcms v9 cannot upload thumbnails? Solution to the problem of failed upload of Phpcms V9 thumbnail
I was using the latest version of Phpcms V9.4.2 to make a conference company website when I suddenly found that the thumbnail of the background article could not be uploaded!
It is normal to select a file, and when you click to start uploading, the information window "undefined" pops up suddenly when you finish uploading.
For phpcms v9, I installed it N times, and this is the first time I've ever had this problem. I really fainted to death, and this happens at this critical moment when every minute counts.
According to my intuition, there may be three problems:
1. The server uses Linux system.
2. Use the latest version of phpcms
3. An error occurred while uploading the installation package
When I sort out problems, I usually execute them in the order from simple to complex.
In order to rule out the first situation, I installed the early version of phpcms v9, the test, everything is normal, the rest of the problem, I re-upload the installation package to confirm that there will be no file errors in the transfer process, after testing, the problem occurs in the latest version of Phpcms V9.4.2, the latest version of the program appears "BUG" is the most normal.
With the problem, he finally found a solution in the official forum of Phpcms V9:
1. Open the phpcmsmodulesattachmentattachments.php file
2. Starting from line 50, delete the following code as follows:
If (emptyempty ($this- > userid)) {exit ('0');}
The official reason is: this is determined to log in before upload, if you log in with Super Admin, this value is empty, so it leads to an error undefined.
Thank you for reading! So much for the solution that phpcms v9 cannot upload thumbnails. I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.