存档

11月 2021

显示总共30条中的前3条

Yii3.0 can’t upload files with only a file name with httpsoft message fileupload
发布者 : 粮油菜大市场 发布时间 : 29 Nov 2021 04:43:41

 

I/flutter ( 4124):       ["size":"HttpSoft\Message\Stream":private]=>

I/flutter ( 4124):       NULL

I/flutter ( 4124):       ["seekable":"HttpSoft\Message\Stream":private]=>

I/flutter ( 4124):       NULL

I/flutter ( 4124):       ["writable":"HttpSoft\Message\Stream":private]=>

I/flutter ( 4124):       NULL

I/flutter ( 4124):       ["readable":"HttpSoft\Message\Stream":private]=>

I/flutter ( 4124):       NULL

I/flutter ( 4124):     }

I/flutter ( 4124):     ["file":"HttpSoft\Message\UploadedFile":private]=>

I/flutter ( 4124):     NULL

I/flutter ( 4124):     ["size":"HttpSoft\Message\UploadedFile":private]=>

I/flutter ( 4124):     int(508081)

I/flutter ( 4124):     ["error":"HttpSoft\Message\UploadedFile":private]=>

I/flutter ( 4124):     int(0)

I/flutter ( 4124):     ["clientFilename":"HttpSoft\Message\UploadedFile":private]=>

I/flutter ( 4124):     string(35) "image_picker2327524825930727230.jpg"

I/flutter ( 4124):     ["clientMediaType":"HttpSoft\Message\UploadedFile":private]=>

I/flutter ( 4124):     string(24) "application/octet-stream"

I/flutter ( 4124):     ["isMoved":"HttpSoft\

 

 

it seems there is problems with my server,
can’t create tmpfile() when upload, i will check ,thank you

it worked after set php upload_tmp_dir
and upgrade the system, now php version is 8.0.9
i don’t know what make it works

 

搬到新服务器从App上传图片一样,也没反应,报错也没有,还好想起来以前好像发生过,一搜索还找到了当初发的贴子,确实是upload_tmp_dir没设置的问题,按道理有默认的位置啊

https://forum.yiiframework.com/t/yii3-0-cant-upload-files-with-only-a-file-name/132717/2

linode after resize disk [FAILED] Failed to start Crash recovery kernel arming. See 'systemctl status kdump.service' for details
发布者 : 粮油菜大市场 发布时间 : 28 Nov 2021 20:58:01

linode after resize disk

[FAILED] Failed to start Crash recovery kernel arming. See 'systemctl status kdump.service' for details

调整了一下系统盘的大小,8G想降级到4G内存的实例

--------------------------------------------------

实际上没有那么可怕,系统盘从18G减到13G,实际占用8G左右,按道理也没危险,

其实原因是原来有个11G分区挂载系统里,我给删除了,注释到fstab的内容启动就好了,

虚惊一场

 

 

今天不小心翻到了什么复旦“哲学小王子”王德峰,我看是狗屎,又被恶心到了
发布者 : 粮油菜大市场 发布时间 : 27 Nov 2021 22:24:06

今天不小心翻到了什么复旦“哲学小王子”,我看是狗屎,又被恶心到了

众所周知,国家是明令在公共场合吸烟的,是写进法规的

而这货是大学老师,教书育人,竟然在课堂上吸烟?并且说是学校允许的,并且说学生不介意,并且说人满为患都喜欢去听他的课?

首先你能保证所有人都不介意他课堂上吸烟,都喜欢看他手持盐屁的潇洒姿容?都喜欢在云里雾里的“知识笼罩”下快乐学习?

恐怕不是吧,至少有很多同学都是对吸烟很反感,但是敢怒而不敢言而已?这货是学院领导,谁敢得罪呢?

当代知识分子说来可悲,都是只会逆来顺受的软骨头罢了,

另外不排除有些愿意捧臭脚的学生为了什么利益,是不是去听课就不一定了

教书育人,首先得有基本的师德吧,得学会尊重吧,不抽烟会死?为什么小学生都知道的道理,规则,被大学教授践踏着?大概是有高人一等的感觉吧,有特权的感觉就是爽,特权思维深入中国人的内心,

还有人的思维逻辑就是因为他课讲的好,所以就应该有特权,可以抽....这是什么奇葩逻辑