In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to solve the problem of non-update of phpcms cache, which is very detailed and has certain reference value. Friends who are interested must finish reading it!
How to solve the problem if the phpcms cache is not updated
Problems that have occurred:
Recently, I was doing the maintenance of a previous project. Talking about this project, I did a little secondary development of phpcms (recommended phpcms Learning), in which I wrote a script to generate columns independently, resulting in a large number of columns added after running for a period of time. A few more columns were added yesterday, and I suddenly found that there was no way to update the cache.
When updated, only two lines of prompts are displayed. Then update the column cache, too bad, all the data are out, pull to the bottom of the displayed sql statement-"MySQL server has gone away", it turns out that the cache is full.
Solution:
You need to configure the max_allowed_ packet value in mysql's my.ini file.
I use the max_allowed_packet attribute that is not available by default in wamp5,my.ini. Can only add their own, check the default is 1m, generally we are set to 16m, and then add a "max_allowed_packet=16M" at the end of the file, OK. Is it completely normal to restart the server and update the cache now?
The above is all the content to solve the problem that the phpcms cache is not updated. 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.
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.