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

How to solve the problem that get recommendation bits can not be updated in phpcms

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you how to solve the problem that the get recommendation bit in phpcms can not be updated, I believe most people don't know much about it, so share this article for your reference. I hope you can learn a lot after reading this article. Let's learn about it together.

The phpcms get recommendation cannot be updated? Failed to send the phpcms article to the recommended bit, the reason why it can not be recommended and its repair

Recently, when my friends were maintaining a project, they found that their articles could not be recommended to the recommended position. After the menu recommendation, the blank is displayed directly and the push fails; check the recommendation bit in the article and report the error directly when saving.

Find the core file for the recommended action: modules/admin/classes/push_api.class.php

Recommended bit list API handler: position_list ()

Through breakpoint analysis, the statement that caused the problem is at A.

The array is initialized at B and modified to

$fields_arr = $fields_value = array ()

It can run normally.

Considering that the project uses PHP7, while PHPCMS supports more PHP5, the root cause is a problem with the version features of PHP. It is recommended to choose php5.3 when using PHPCMS, which is relatively stable.

The above is all the content of how to solve the problem that the get recommendation bit in phpcms can not be updated. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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