یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دورهها
استفاده از تخفیفهاسلام
من یک سایت با لاراول طراحی کردم که روی لوکال به خوبی کار میکرد
وقتی سایت رو هاست منتقل کردم با خطای 500 مواجه میشم
داخل فایل error.log خطا های زیر رو به من نشون میده
به پشتیبانی هم پیام دادم گفتن مشکل از طرف ما نیست
مشکل از کجا میتونه باشه ؟
[2022-07-05 15:48:21] local.ERROR: require(/home/omidsand/routes/home/home.php): Failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): require(/home/omidsand/routes/home/home.php): Failed to open stream: No such file or directory at /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php:35)
[stacktrace]
#0 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(257): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php(35): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#2 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php(35): require('/home/omidsand/...')
#3 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/Router.php(430): Illuminate\\Routing\\RouteFileRegistrar->register()
#4 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/Router.php(386): Illuminate\\Routing\\Router->loadRoutes()
#5 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteRegistrar.php(163): Illuminate\\Routing\\Router->group()
#6 /home/omidsand/app/Providers/RouteServiceProvider.php(38): Illuminate\\Routing\\RouteRegistrar->group()
#7 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Providers\\RouteServiceProvider->App\\Providers\\{closure}()
#8 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#9 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(81): Illuminate\\Container\\Util::unwrapIfClosure()
#10 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#11 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#12 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php(120): Illuminate\\Container\\Container->call()
#13 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php(45): Illuminate\\Foundation\\Support\\Providers\\RouteServiceProvider->loadRoutes()
#14 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Foundation\\Support\\Providers\\RouteServiceProvider->Illuminate\\Foundation\\Support\\Providers\\{closure}()
#15 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#16 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(81): Illuminate\\Container\\Util::unwrapIfClosure()
#17 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#18 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#19 /home/omidsand/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(119): Illuminate\\Container\\Container->call()
#20 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(931): Illuminate\\Support\\ServiceProvider->callBootedCallbacks()
#21 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#22 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#23 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#24 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#25 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#26 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(153): Illuminate\\Foundation\\Application->bootstrapWith()
#27 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(137): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#28 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#29 /home/omidsand/public_html/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#30 {main}
"}
[2022-07-05 15:50:33] local.ERROR: require(/home/omidsand/routes/home/home.php): Failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): require(/home/omidsand/routes/home/home.php): Failed to open stream: No such file or directory at /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php:35)
[stacktrace]
#0 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(257): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php(35): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#2 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php(35): require('/home/omidsand/...')
#3 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/Router.php(430): Illuminate\\Routing\\RouteFileRegistrar->register()
#4 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/Router.php(386): Illuminate\\Routing\\Router->loadRoutes()
#5 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteRegistrar.php(163): Illuminate\\Routing\\Router->group()
#6 /home/omidsand/app/Providers/RouteServiceProvider.php(38): Illuminate\\Routing\\RouteRegistrar->group()
#7 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Providers\\RouteServiceProvider->App\\Providers\\{closure}()
#8 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#9 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(81): Illuminate\\Container\\Util::unwrapIfClosure()
#10 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#11 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#12 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php(120): Illuminate\\Container\\Container->call()
#13 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php(45): Illuminate\\Foundation\\Support\\Providers\\RouteServiceProvider->loadRoutes()
#14 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Foundation\\Support\\Providers\\RouteServiceProvider->Illuminate\\Foundation\\Support\\Providers\\{closure}()
#15 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#16 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(81): Illuminate\\Container\\Util::unwrapIfClosure()
#17 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#18 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#19 /home/omidsand/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(119): Illuminate\\Container\\Container->call()
#20 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(931): Illuminate\\Support\\ServiceProvider->callBootedCallbacks()
#21 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#22 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#23 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#24 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#25 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#26 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(153): Illuminate\\Foundation\\Application->bootstrapWith()
#27 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(137): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#28 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#29 /home/omidsand/public_html/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#30 {main}
"}
[2022-07-05 15:56:04] local.ERROR: require(/home/omidsand/routes/home/home.php): Failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): require(/home/omidsand/routes/home/home.php): Failed to open stream: No such file or directory at /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php:35)
[stacktrace]
#0 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(257): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php(35): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#2 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php(35): require('/home/omidsand/...')
#3 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/Router.php(430): Illuminate\\Routing\\RouteFileRegistrar->register()
#4 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/Router.php(386): Illuminate\\Routing\\Router->loadRoutes()
#5 /home/omidsand/vendor/laravel/framework/src/Illuminate/Routing/RouteRegistrar.php(163): Illuminate\\Routing\\Router->group()
#6 /home/omidsand/app/Providers/RouteServiceProvider.php(38): Illuminate\\Routing\\RouteRegistrar->group()
#7 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Providers\\RouteServiceProvider->App\\Providers\\{closure}()
#8 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#9 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(81): Illuminate\\Container\\Util::unwrapIfClosure()
#10 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#11 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#12 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php(120): Illuminate\\Container\\Container->call()
#13 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php(45): Illuminate\\Foundation\\Support\\Providers\\RouteServiceProvider->loadRoutes()
#14 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Foundation\\Support\\Providers\\RouteServiceProvider->Illuminate\\Foundation\\Support\\Providers\\{closure}()
#15 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#16 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(81): Illuminate\\Container\\Util::unwrapIfClosure()
#17 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#18 /home/omidsand/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#19 /home/omidsand/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(119): Illuminate\\Container\\Container->call()
#20 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(931): Illuminate\\Support\\ServiceProvider->callBootedCallbacks()
#21 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#22 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#23 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#24 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#25 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#26 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(153): Illuminate\\Foundation\\Application->bootstrapWith()
#27 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(137): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#28 /home/omidsand/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#29 /home/omidsand/public_html/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#30 {main}
"}
سلام
این خط
require(/home/omidsand/routes/home/home.php):
نمیتونه این فایل رو باز کنه
داخل فایل .env برید و مقدار app_debug رو true بزارید تا ببینید کجا این فایل رو فراخونی کردید
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟