A forced upgrade

Yu Yi
Wandering the Jianghu

A few days ago in the afternoon (October 16, 2022), I opened my blog. What appeared on the page was not the blog's home page, but a line of error messages ( Widgt Archive).

At that time, I didn't care. I thought the server resources were too high and the database crashed. Restart the server to solve the problem. Log in to the pagoda panel and check the running information. The resources are not occupied too much, so I directly restarted the server.

After the server restarts, the blog is still inaccessible, and it still shows ( Widgt Archive) that it is possible to access the blog background, but an error code of 500 will appear when logging in.
In desperation, I had to turn to the Big Brother to help solve the problem. First, the Big Brother asked me to open the debug to see the detailed error message and see if it was due to the problem of the plug-in or theme.

Typecho enable debug

First, we find the config.inc.php file in the root directory of typecho, and then add the open debugging code

 Typecho Enable debug mode define('__TYPECHO_DEBUG__', true);`

After debugging is started, it is shown that the ( Widgt Archive) error is caused by a problem with a file in the var folder of the program.

My ability is limited, so I have no choice but to upgrade the typecho from the official version 1.1 to 1.2. After the upgrade, the problem has been solved. However, some plug-ins in 1.1 are incompatible with 1.2. The old versions of the most important AutoBackup plug-in and Comment2Mail plug-in are not applicable to 1.2, and the plug-ins have been upgraded.

One of the reasons why I don't want to update is that the program has not changed much, so I don't think it is necessary to update it. In addition, the theme may not support 1.2 and old plug-ins, mainly because it is lazy

After updating the program and plug-ins, I found that there is still one thing missing. Of course, it is updating the articles and topics, ha ha.
So the theme was modified as follows:
1: The version number of the theme is updated;
2: Before the theme adapted to Links (Friendly Link Plugin), links could only be added in the independent page through the traditional way of writing code;
3: A 1-6 level title style is added to the theme;
4: The theme has updated a new reference style;
5: The theme added the expression of Zhang Hong;
Ps: This is the new reference style

Postscript:

This is the article to be updated and the new title style~

Reward six share
comment (11)
Private comments
  1. CommentNotifier is a comment email reminder plug-in based on Typecho 1.2.0, which requires Typecho version 1.2.0 and above!

    Project address https://github.com/jrotty/CommentNotifier

    January 19, 2023 reply
  2. 2022 will still use 2014's emlog5.3.1 to pass by~

    December 28, 2022 reply
    1. @Jiang Chen Jcs Moe

      The society is developing and the program is progressing. Please update it quickly

      December 29, 2022 reply
  3. If you can't upgrade or not upgrade, your hands are cheap. If you see an update, you just think about it. It's always a problem. It's too troublesome to reinstall.

    December 10, 2022 reply
    1. @Empty trouser pocket

      Keep the data and restore it directly

      December 12, 2022 reply
  4. Sometimes I just want to find a place to write a few words. Why is it so difficult!

    December 3, 2022 reply
  5. Leave a footprint

    November 10, 2022 reply
  6. I wanted to use typecho back for a while because I couldn't figure out the plug-in and gave it up

    November 9, 2022 reply
    1. @Small F

      Alas, I don't know why the database backup plug-in can't be used anymore

      November 9, 2022 reply
  7. How can a minor version upgrade cause so many plug-ins to be incompatible? My WordPress has upgraded several large versions of plug-ins. Of course, the plug-ins I selected are quite regular

    October 28, 2022 reply
    1. @Side bank of sunken boat

      It's not a problem with plug-ins. It seems that many functions have been changed in typecho1.2, so the old plug-ins can't be used. Fortunately, these commonly used plug-ins are still maintained by the author

      October 28, 2022 reply