Author: Tammy Tan

  • WordPress升级|借千问和LocalWP打破虚拟主机的死循环

    上个月发在小甜薯上的文字,不得已发成了图片,这里留个文档。

    昨天终于把工作室的网站从WordPress老版本成功升级了。过程堪比一场迷宫探险。记录一下,也能给有同样困扰的朋友一些参考。

    起因:陷入“死循环”

    现状:网站是很久以前搭建的老版本WordPress,PHP和MySQL版本都很旧。

    困境一:新版本WordPress要求更高的环境,直接后台升级会失败。
    困境二:若直接在阿里云后台切换PHP或MySQL版本,网站会因为代码不兼容而崩溃。

    死循环:不升级环境,WP升不上去;不升级WP,又不敢动环境。卡住。

    破局的钥匙:LocalWP

    这个死循环在服务器上无解,所以我们将战场转移到了本地。

    1. 准备LocalWP
      在电脑上安装LocalWP。它能让你在本地一键创建各种版本的PHP和MySQL环境,完美模拟。
    2. 将网站“搬”到本地
      先从阿里云后台直接把网站的所有文件和数据库备份,下载到本地。然后在LocalWP里创建一个新站点,把文件和数据库导进去。测试站诞生!
    3. 在本地升级WordPress
      在LocalWP里将站点的环境切换到新版PHP(目前8.0比较匹配)。然后,登录进测试站后台,一键升级WordPress。全部搞定后,检查本地网站的前后台,确保一切功能正常。
    4. 升级云端环境并部署
      本地测试万无一失后,再回到阿里云。
      在虚拟主机控制台,将PHP版本切换到你在本地使用的8.0版本,并将MySQL也升级到新版本。
      最后,将本地已经升级好的所有网站文件和新的数据库,重新上传覆盖到阿里云服务器上。

    几个至关重要的提醒

    1. 配置文件是最后的关卡:上传完所有文件后,别忘了修改config文件。需要把里面的数据库名、用户名、密码和主机地址,全部改回阿里云的那些信息。
    2. 检查变动:升级后的数据库地址和名称可能都有变化,注意仔细核对。

    关于和千问协作的心得

    这次升级大部分时间都在和干问一起解决问题。真的好用,比等工单回复高效太多。但它也会“迷路”。

    需要做的事:

    1. 明确工具和环境:必须非常清晰地告诉它,你用的是阿里云什么服务及其它关键信息。一旦发现它给出的答案不对劲,立刻把具体环境再次强调给它。
    2. 目的要清晰:直接告诉它你的最终目标是什么,它会给出更具策略性的建议。并在过程中保持清醒,一旦察觉到不对,再次强调目标及当初它自己给的建议。

    总结下来,干问能帮你穿越迷宫,但前提是你要做一个清醒的向导,清楚地知道自己在哪里、要去哪里。否则它可能会变成另一个迷宫。

  • What a Fragmented World

    A friend asked me how I got banned from Instagram while helping me correct my last entry. That reminded me of the many times my foreign friends have complained about their WeChat or Xiaohongshu accounts being suspended.

    We often say that the internet has no borders, but in fact, it’s quite fragmented—something we rarely notice until it affects us. I once offered several helpful tips on Reddit, and suddenly, my account was banned… There are so many similar examples that I’m tired of recounting them.

    That’s why I’ve kept correcting Chinese entries here. It may not be as big as other platforms, but it’s stable, like an ancient stone bridge I saw while hiking.

    P.S.
    I uploaded two short videos the other day, but I was too sleepy to post them for you guys.

  • The Essential Structure of Chinese: Mastering SVO

    (I received a lot of help on my previous post, so I would like to write something useful to give back to this friendly community.)

    Having corrected Chinese articles for several years, I’ve noticed a very common and serious issue: even among learners who have been writing consistently, many sentences are often confusing or unclear.

    The root of the problem is usually not a lack of vocabulary, but a misunderstanding of the core skeleton of Chinese grammar—the Subject-Verb-Object (SVO) structure.

    So, what is SVO?

    Chinese sentence structure is actually very logical. In the vast majority of cases, it follows a simple formula: Subject + Verb + Object.
    Subject (主语): The main character of the sentence. It answers, “Who?”
    Verb (谓语): The action taken by the subject. It answers “Does what?”
    Object (宾语): The receiver of the action. It answers, “To what?”

    Here is the simplest example:
    我 (Subject) 吃 (Verb) 苹果 (Object).
    (I eat apples.)

    As you can see, the basic order is the same as in English. If you can identify these three elements correctly, your sentence is already 90% there!

    Next time you write a Chinese sentence, try this “subtraction method”: Ignore the time (yesterday, tomorrow) and place (at school, at home) for a moment.
    First, write down the core skeleton: Who + Does + What — just like English.
    Then insert the time and place (usually before the verb or at the very beginning of the sentence) —not like English anymore!!!

    For example, if you want to say, “Yesterday I ran happily in the park for a while,” start with the skeleton: 我跑步 (I run). Then, build the rest of the sentence around it(我昨天在公园里愉快地跑了一会儿步).

  • Triple Constraints2026指南

    Key Takeaways 

    1. The Triple Constraint: In project management, time (the schedule and timeline), cost (the budget that determines what resources can be used), and scope (the deliverables and activities) make up the triple constraint.
      三重约束:在项目管理中,时间(进度表和时间轴)、成本(决定可以使用哪些资源的预算)和范围(可交付成果和活动)构成了三重约束。
    2. The Fast, Cheap, Good Dilemma: Projects have to choose between speed, cost, and quality, and you can’t have all three simultaneously. Adjustments to scope, time, or cost affect the other two, which in turn affect project outcomes.
      快速、廉价、优质的困境:项目必须在速度、成本和质量之间做出选择,你不可能同时拥有这三者。对范围、时间或成本的调整会影响其他两者,进而影响项目结果。
    3. Triangle Teaches Trade-offs: The project management triangle provides you with a convenient way to explain the interdependence of scope, time, and cost and the necessary trade-offs to clients.
      三角教导权衡:项目管理三角为您提供了一种方便的方式来解释范围、时间和成本之间的相互依赖关系,以及向客户进行必要的权衡。

    (更多…)

  • Flowers in the Mountains

    I went hiking again this Saturday.

    This time, my friends and I ventured a bit too far off the beaten path. We ended up lost at the summit for a while. Luckily, after pushing through some dense patches of thorns, we finally found our way down to a small village.

    Also, it turned out to be a blessing in disguise. A variety of beautiful wildflowers were blooming along the thorny way.

    I captured some of them and put together a video for you.

    Believe me, these are not the most beautiful ones. The most stunning scenery was exactly where the trail was toughest to navigate. Unfortunately, I had to focus on safety in those tricky spots and couldn’t pull out my phone to record.

    Even though I was being careful, I still took a hard fall on my right side. Nothing serious. Thankfully, my daily yoga balance practice saved me!

    Because of this adventure, I felt a little tired yesterday and didn’t have the energy to narrate the video.

    Hope you can still feel the vibe I was excited about.