The sequela of blog moving - failed to upload pictures to cloud again

Today will Blog moves to Softcloud At noon, I thought that everything had been debugged, but when I posted the article, I found that the image upload failed.

All kinds of debugging and replacement cannot be solved.

1. Change PHP version

The original host is PHP 7.2, and the new server is 7.4 by default, so it is reduced to 7.2, which still has no effect

2. Replace plug-in

I found a new plug-in and installed it. The problem is still the same. The prompt is changed from 0 to Chinese

3. Various commissioning

Still haven't found the problem

The editor I use is Baidu Ueditor, which supports configuration upload to Zaopai Cloud, and now it returns 0 when uploading, which fails.

 Image upload and cloud shooting failed

Check with F12. The status code returned is incorrect.

 Image upload and cloud shooting failed

Finally give up and surrender. Can't solve... I will study slowly when I have time.

The pictures of this article are uploaded in other ways, and can be uploaded successfully with independent PHP code.

Appreciation

see backstage picture upload Shoot the clouds again Related articles for

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

Comment list (41)

  1. Between saving money and trouble, if you choose to save money in the past, now you want to use money to solve the problem, provided that you have small money

    1. What can be solved with money is not a matter. The question is whether to be willing, unwilling, and have money

  2. Ask jun. Maybe he can solve the problem. At present, I have set up a station, but it has not been actually operated. So far, I have found one or two small problems

  3. I just found the place where I set the web information and updated my website

    1. I always thought you meant it.... I will update the address in batch one day

  4. There seems to be something wrong with pagoda 7.7. I upgraded the pagoda and fixed it before, and then migrated it again to keep the PHP version consistent and the database version consistent. The problem disappeared.

    1. Eggs hurt. It seems that I have to struggle again. I'm lazy

  5. Never believe in unmarked third-party services and codes, which brings more trouble than convenience.

    1. The main thing is to compare the dishes by yourself. It would be more convenient to have a panel. As for photos, I felt that the traffic was not enough in the early days. Using cloud storage again could speed up and save money

      1. To be honest, it is less difficult to learn how to get through web services than to use all kinds of puzzling panels. Moreover, basic business learning is a lifelong experience, and all the junk learned before the panel is updated to a new version becomes garbage.
        It's not a problem to shoot the cloud again. The problem is the Baidu editor you use

  6. Why did you abandon the fence

    1. Not abandoned. The host is still there

  7. Code logic problem? Change code

    1. It can be used all the time before moving. After moving the house, I can't live or die. It's very painful to change

  8. Is it the extension of PHP?

    1. No, I still don't understand the problem

  9. Soft cloud is too new. It has to pass the test of time~

    1. Free, not afraid to run away

  10. You also use Softcloud, many people use it

    1. It should be said that the blogosphere is his promotion portal

  11. Luxury, go to the drawing bed alone!

    1. After looking at the blue empty map bed, I asked for PHP8 and didn't bother

  12. The environment is very likely, so it is advisable to check

    1. I can't see it now. I compared it with phpinfo yesterday. It seems that it doesn't make any difference

  13. The editor uploads and changes the image name. My images are uploaded manually and then quoted.

  14. It's not complicated to build a simple map bed, and vps has been used

    1. I haven't done it yet. You can try

      1. Config.inc.php in the root directory of typecho
        Replace MySQL with Pdo_Mysql. Then check whether it is normal.

        1. It is found that this is the configuration

          1. I've experienced it, so how can I solve this

            1. I didn't make it clear. I mean, this is the current configuration. The problem hasn't changed

  15. Now that I'm in the container, I'm not afraid of environmental problems

    1. The Great God Sect taught me

      1. (I want to put a dirty face here)

        1. I really don't know container. Please despise me

          1. For those who have basic knowledge of the industry, the learning cost of containers from scratch is about half a day to one day.
            In addition, the minimum hardware requirement of the container is VPS (excluding OPENVZ, a pseudo VPS). If you use a virtual host, where do you use the container.

  16. No struggle, no life

    1. I can't move anymore

  17. Hahaha, I haven't moved for more than ten years. I always use a virtual host and then renew it for ten years. I don't care about the rest

    1. You'd better not bother

Add a comment

Hello! #Please fill in the information# determine

Reward the blogger for drinking water
 LOADING