Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Phpcms uploads pictures to prompt server security authentication error what to do

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces phpcms upload pictures to prompt the server security authentication errors how to do, the article is very detailed, has a certain reference value, interested friends must read it!

Error display:

Reason:

This problem is usually due to the wrong value of variables such as domain name change, upload_url or app_path.

Solution:

Find "/ caches/configs/system.php" and change the parameters of the previous local path to a new domain name, such as:

'upload_url' = >' http://localhost/uploadfile/', / / attachment path 'app_path' = >' http://localhost/',// dynamic domain name configuration address

Modified to:

'upload_url' = >' http://xxx.com/uploadfile/', / / attachment path 'app_path' = >' http://xxx.com/',// dynamic domain name configuration address

Then update the cache in the background.

The above are all the contents of phpcms uploading pictures to remind the server what to do with security authentication errors. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report