Home > Article > CMS Tutorial > Reasons and solutions for server security authentication error when phpcms uploads pictures
Error display picture:
##Cause:
This problem is generally caused by domain name changes and incorrect variable values such as upload_url or app_path.Solution:
Find "/caches/configs/system.php" and change the parameters of the previous local path inside to the new ones Domain name, for example:
'upload_url' => 'http://localhost/uploadfile/', //附件路径
'app_path' => 'http://localhost/',//动态域名配置地址change to:
'upload_url' => 'http://xxx.com/uploadfile/', //附件路径
'app_path' => 'http://xxx.com/',//动态域名配置地址and then update the cache in the background. Recommended tutorial:
The above is the detailed content of Reasons and solutions for server security authentication error when phpcms uploads pictures. For more information, please follow other related articles on the PHP Chinese website!