讨论 使用交流 ModStart文库系统上传文档后,审核时出现“请求出现错误(500 error) T_T”

ModStart文库系统上传文档后,审核时出现“请求出现错误(500 error) T_T”

f19191813193 发表于    阅读:114    回复:8

问题描述:

ModStart文库系统上传文档后,(本地转换)审核文档时出现“请求出现错误(500 error) T_T”,但是审核能通过

环境信息:

PHP5.6、ModStartCMS V8.0.0

复现步骤:

评论

发日志出来,本地转换比较常见出现这个,文库转换软件没有安装就经常会出现的,魔众云转换不会出现这样问题。

 

@fkenuiabcd: 日志如下,麻烦看一下。

[2024-02-05 19:43:49] product.INFO: Wenku.WenkuDocProcessJob.start -> 2  

[2024-02-05 19:43:49] product.INFO: Wenku.WenkuDocProcessJob.convert -> 2  

[2024-02-05 19:43:49] product.INFO: Wenku.WenkuDocProcessJob.convert.deletes -> 2 - []  

[2024-02-05 19:43:49] product.INFO: Wenku.WenkuDocProcessJob.convert.start -> 2 - bin  

[2024-02-05 19:43:49] product.INFO: Wenku.BinDocConverterProvider.Run    -> export HOME=/www/wwwroot/minesoc.com/storage/app/soffice-home; export.UTF-8; soffice --headless --invisible -en"/www/wwwroot/minesoc.com/public/temp" "/www/wwwroot/minesoc.com/public/data/file/2024/02/05/42229_bzqv_7088.doc" 2>&1  

[2024-02-05 19:44:33] product.INFO: Wenku.BinDocConverterProvider.result -> "convert /www/wwwroot/minesoc.com/public/data/file/2024/02/05/42229_bzqv_7088.doc -> /www/wwwroot/minesoc.com/public/temp/42229_bzqv_7088.pdf using filter : writer_pdf_Export\n"  

[2024-02-05 19:44:33] product.INFO: Wenku.BinDocConverterProvider.Clean /www/wwwroot/minesoc.com/storage/app/soffice/p112459  

[2024-02-05 19:44:33] product.INFO: Wenku.BinDocConverterProvider.Clean /www/wwwroot/minesoc.com/storage/app/soffice-lock/p112459.lock  

[2024-02-05 19:44:33] product.INFO: Wenku.BinDocConverterProvider.run    -> pdf2svg "/www/wwwroot/minesoc.com/public/temp/42229_bzqv_7088.pdf" "/www/wwwroot/minesoc.com/public/temp/42229_bzqv_7088.pdf-%d.svg" all 2>&1  

[2024-02-05 19:44:35] product.INFO: Wenku.BinDocConverterProvider.result -> null  

[2024-02-05 19:44:35] product.INFO: Wenku.WenkuDocProcessJob.convert.end -> 2 - bin - {"code":0,"msg":"ok","data":{"previewType":1,"pageCount":122,"pagePreviews":[],"previewData":{"images":["https://minesoc.com/data/file/2024/02/05/42275_5v80_5641.svg","https://minesoc.com/data/file/2024/02/05/42275_gdlk_3986.svg","https://minesoc.com/data/file/2024/02/05/42275_fucb_2163.svg"],"cover":"https://minesoc.com/data/file/2024/02/05/42275_5v80_5641.svg"},"fileToClean":["/www/wwwroot/minesoc.com/public/temp/42229_bzqv_7088.pdf","/www/wwwroot/minesoc.com/public/temp/42229_bzqv_7088.pdf-1.svg","/www/wwwroot/minesoc.com/public/temp/42229_bzqv_7088.pdf-2.svg","/www/wwwroot/minesoc.com/public/temp/42229_bzqv_7088.pdf-3.svg"]}}  

[2024-02-05 19:44:35] product.INFO: Wenku.WenkuDocProcessJob.text -> 2  

[2024-02-05 19:44:35] product.INFO: Wenku.WenkuDocProcessJob.text.data -> {"id":2,"created_at":"2024-02-05 19:43:49","updated_at":"2024-02-05 19:43:49","hash":"lofzelymd5","memberUserId":1,"categoryId":1,"title":"《小学毕业班数学总复习设计》精品书稿(117页)","description":"《小学毕业班数学总复习设计》精品书稿(117页)","status":3,"pageCount":122,"viewCount":null,"downloadCount":null,"commentCount":null,"favoriteCount":null,"scoreAvg":null,"creditCost":0,"tags":"","pagePreviews":[],"fileUrl":"https://minesoc.com/data/file/2024/02/05/42229_bzqv_7088.doc","ext":"doc","isDeleted":0,"cover":"","convertStatus":1,"previewType":1,"md5":null,"likeCount":null,"moneyCost":"0.00","rateAvg":null,"provider":null,"isRecommend":null,"previewData":{"images":["https://minesoc.com/data/file/2024/02/05/42275_5v80_5641.svg","https://minesoc.com/data/file/2024/02/05/42275_gdlk_3986.svg","https://minesoc.com/data/file/2024/02/05/42275_fucb_2163.svg"],"cover":"https://minesoc.com/data/file/2024/02/05/42275_5v80_5641.svg"},"fileSize":3356160,"previewPage":3,"vipFreeDownloadEnable":0,"anonymous":null,"downloadCountBase":null,"favoriteCountBase":null,"likeCountBase":null}  

[2024-02-05 19:44:35] product.INFO: Wenku.WenkuDocProcessJob.text.ocr -> []  

[2024-02-05 19:44:35] product.INFO: Wenku.WenkuDocProcessJob.end -> 2  

[2024-02-05 19:44:51] product.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined method Module\Wenku\Core\WenkuDocSiteUrlBiz::update()' in /www/wwwroot/minesoc.com/module/Wenku/Admin/Controller/WenkuDocController.php:469

Stack trace:

#0 {main}  


 

@fkenuiabcd: 可否加您个私人联系方式,这个日志审核通不过。

 

这个应该是模块和最新系统匹配兼容问题导致的,可通过以下链接解决。

按照链接 https://modstart.com/hotfix/1707358526810946660 完成操作

 

@ModStart: 这个问题是解决了,现在图片又上传不上去了,上传了就是白板,加载错误,以前老系统啥问题都没有,新系统很多东西都不兼容,能不能让文库系统支持一下老版本的系统呀,现在不更新你的新系统,文库系统就用不了,更新了问题很多。

 

那就都是用老版本的。

新版本的很多特性需要依赖最新的底层系统。

 

@ModStart: 老版本你的文库系统不行呀,装上之后点文库系统,后台内容都没有,我都试过了。

 

回头QQ联系MZ远程看一下

 
1
我来评论
QQ
微信