Cause of the problem:
1. During the website migration process, the file was lost when uploading and downloading files;
2. PHPCMS Source code updated and upgraded.
Solution:
1. You can download the latest source code from the official website and replace it. If there are changes to the source code, you need to save the changed files first, replace them, and then replace them with the changed files.
2. Things that are easy to lose and make mistakes:
/phpcms/modules/content/fields/video/form.inc.php
You can check and compare the file below /phpcms/modules/content/fields/video
in your own code with the original source code Is it consistent? If not, just replace it with the original file.
Recommended tutorial: phpcms tutorial
The above is the detailed content of Reasons and solutions for 500 error when adding content in phpcms. For more information, please follow other related articles on the PHP Chinese website!