讨论 fei8 TA的回帖
第 103897 位会员
注册于
帖子
4
回帖
6
TA的回帖
blog系统由8.0升级到8.1后又无法访问

@ModStart: 已处理,恢复正常了,谢谢!

blog系统升级后无法访问

@ModStart: 可以正常访问了,这一行代码几个字符的替换就搞定了,真是厉害,非常感谢!

blog系统升级后无法访问

@ModStart:      原代码:   $trans = trans($id, [], 'messages', $useLocale);  已经在前面加了//,但还是不行

blog系统升级后无法访问

@ModStart: 已获取到最新到日志文件内容如下:

[2023-08-18 22:34:48] beta.ERROR: exception 'ErrorException' with message 'Array to string conversion' in /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/FileLoader.php:109

Stack trace:

#0 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/FileLoader.php(109): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Array to string...', '/www/wwwroot/Mo...', 109, Array)

#1 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/FileLoader.php(54): Illuminate\Translation\FileLoader->loadPath('/www/wwwroot/Mo...', Array, 'base')

#2 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(235): Illuminate\Translation\FileLoader->load(Array, 'base', '*')

#3 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(98): Illuminate\Translation\Translator->load('*', 'base', Array)

#4 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(200): Illuminate\Translation\Translator->get('base.Site Manag...', Array, Array)

#5 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(695): Illuminate\Translation\Translator->trans('base.Site Manag...', Array, 'messages', Array)

#6 /www/wwwroot/ModStartBlog/vendor/modstart/modstart/src/helpers.php(461): trans('base.Site Manag...', Array, 'messages', Array)

#7 /www/wwwroot/ModStartBlog/module/SmsTecmz/Core/ModuleServiceProvider.php(25): L('Site Manage')

#8 [internal function]: Module\SmsTecmz\Core\ModuleServiceProvider->boot(Object(Illuminate\Events\Dispatcher))

#9 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Container/Container.php(507): call_user_func_array(Array, Array)

#10 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(734): Illuminate\Container\Container->call(Array)

#11 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(717): Illuminate\Foundation\Application->bootProvider(Object(Module\SmsTecmz\Core\ModuleServiceProvider))

#12 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Module\SmsTecmz\Core\ModuleServiceProvider), 40)

#13 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(718): array_walk(Array, Object(Closure))

#14 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()

#15 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(203): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))

#16 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(222): Illuminate\Foundation\Application->bootstrapWith(Array)

#17 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(117): Illuminate\Foundation\Http\Kernel->bootstrap()

#18 /www/wwwroot/ModStartBlog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(87): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))

#19 /www/wwwroot/ModStartBlog/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))

#20 {main}  


blog系统升级后无法访问

@ModStart: 按您教的方法,找到了log文件,发现今天的文件容量比之前的几个都大很多,有317K,请问删除log文件后现在还是整个网站都无法访问,,如何提取日志?

1
QQ
微信
客服