The blog that has been hung up for several days is finally restored

It was a very small thing, which made me exhausted. In addition, I didn't have such a troubled mentality, so I almost deleted the blog program. Fortunately, I was a little reluctant and finally kept it.

Here's the thing:

1. One day, the hedgerow host upgraded the host. After the upgrade, the PHP version configuration was reduced to 5.6 because of the PHP version problem. This was also because of the upgrade. In the database, a field in the article table would not report an error in the previous version of MYSQL. In the upgraded version, an error is reported. Articles cannot be submitted (the second thunder is buried here)

2. After many times of trouble, the article cannot be submitted, and I am prompted that I have no value. After listening to debugging, I still did not expect that it was the article table and the custom field table. The problem cannot be solved. I also suspected that the upgrade was incompatible.

3. I also upgraded the blog program to 1.2. At this time, there was no way to save it. The front end could not be opened and the back end could not be opened. It should not be like this. I can open it locally. Later, it was found through phpinfo that the version on the host is 5.6. Then I adjusted the local version to 5.6, and found that it could not be opened. Finally, I found the problem.

4. Turn the PHP of the host to 7.2, and the background can be opened normally.

5. An error is reported as an article is submitted. A field in the article table can be checked as blank and saved. The article can be submitted successfully. So far, the problem is solved.

 Blog host recovery

6. Fix some small problems of the blog.

7. The unreasonable parts of the theme have also been changed, and the redundant plug-ins have also been deleted. A new article traffic statistics plug-in has been replaced, and the previous compatible plug-ins have been modified.

Appreciation

see Blog php host Related articles for

Please specify that the original article of this website is reproduced from To be kicked , Link: https://www.itlu.net/articles/2737.html

Comment list (26)

  1. Are you using a virtual host? Not VPS?

    1. Yes, it is the virtual host.

  2. That's why I gave up the fence.
    All kinds of environments are uncontrollable. In addition, they are not as energetic as students, so it is difficult to solve problems smoothly.
    Adult collapse is really easy.

    1. I wanted to give up, but I found out the problem later. Fortunately, we can continue to use it

      1. Just to avoid these annoying things, I wrote my own script to handle all things at one click, as long as VPS is a Linux that supports Docker.
        It's really annoying. The company paid me for projects like that. I'm not related to the environment that would collapse if I made a mistake. When it's my turn to spend money, I will still cause trouble.

  3. PhpMyadmin is really a magic tool, and everyone is using it

    1. The tools that come with the host are too lazy to do anything else. They are convenient to use

  4. I was still talking about the QQ group in the fence. Just adjust it to 7. X~

    1. I haven't logged into QQ for a long time, so I'm too lazy to read it. However, after upgrading to 7.2, many of the previously written codes are not compatible, and one is modified

  5. Well, I thought you were all playing vps.

    1. No play, no need, virtual host saves money and trouble

  6. My blog has been on Tencent Cloud for many years. After a toss, it is as stable as an old dog!

    1. Stability is the pursuit of middle-aged men, who have passed the age of trouble

  7. Some errors are too hard to find the reason

    1. Finally, I thought about the version problem, and opened the error message.

  8. I can't move anymore

    1. Yes, I don't want to do anything now

  9. Ha ha ha, I thought you had run away before. I didn't expect you to live again.

    I finally have time to protect the chicken feathers these days.

    1. It's not that I haven't thought about running away, but I won't run away once I've settled it

  10. It seems a bit annoying, but there are always more ways than problems. Two days ago, I was also struggling with the blog program. I had been looking for a topic for a long time. I found one I liked. I found that the size of the navigation ico was different. Yesterday afternoon, I did a good job at the Alibaba icon station. I felt that if we were determined to deal with a problem, as long as we didn't fall down, it would be a problem.

    1. Fortunately, it's all over. Now I'm too lazy to bother

      1. Considering whether the time is worth spending

  11. I thought you ran away with your bucket

    1. When you get a bucket of money, run away

  12. I'm also a virtual host. I'm too lazy to bother, and I'm cheap

  13. reply XX network XX network

    I can still find out where the problem is. If I had to look at it, I would have a black eye

Add a comment

Hello! #Please fill in the information# determine

Reward the blogger for drinking water
 LOADING