Answer the question
In order to leave comments, you need to log in
Why are sections and pictures not displayed on the hosting?
In the console, errors
in views
10 templates were rendered
white.content (resources/views/white/content.blade.php)1blade
Params
0 portfolios
white.slider (resources/views/white/slider.blade.php)1blade
white.indexBar (resources/views/white/indexBar.blade.php)1blade
Params 0 articles
white.navigation (resources/views/white/navigation.blade.php)1blade
Params 0 menu
white.customMenuItems (resources/views/white/customMenuItems.blade.php)7blade
Params 0 obLevel 1 __env 2 app 3 errors 4 MyNav 5 menu 6 items
white.customMenuItems (resources/views/white/customMenuItems.blade.php)10blade
Params 0 obLevel 1 __env 2 app 3 errors 4 MyNav 5 menu 6 items 7 __currentLoopData 8
item 9 loop
white.footer (resources/views/white/footer.blade.php)0blade
white.rightBar (resources/views/white/rightBar.blade.php)1blade
Params 0 content_rightBar
white.index (resources/views/white/index.blade.php)9blade
Params 0 content 1 sliders 2 navigation 3 footer 4 keywords 5 meta_desc 6 title7 bar 8
rightbar
white.layouts.site (resources/views/white/layouts/site.blade.php)14blade
Params 0 obLevel 1 __env 2 app 3 errors 4 MyNav5
content 6 sliders 7 navigation 8 footer 9 keywords
10meta_desc 11 title 12 bar 13 rightBar
5 statements were executed2.4ms
<b>select * from `portfolios` order by `id` desc limit 5
</b>1.77ms
/app/Repositories/Repository.php:31
silversky_corporate
<b>select * from `filters` where `filters`.`alias` = 'brand-identity' limit 1</b>
180μs
view::white.content:19
silversky_corporate
Metadata
Bindings
0. brand-identity
Hints
Use SELECT * only if you need all columns from table
LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
Backtrace
20. view::white.content:19
22. /vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:59
23. /vendor/laravel/framework/src/Illuminate/View/View.php:142
24. /vendor/laravel/framework/src/Illuminate/View/View.php:125
25. /vendor/laravel/framework/src/Illuminate/View/View.php:90
26. /app/Http/Controllers/IndexController.php:36
29. /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45
30. /vendor/laravel/framework/src/Illuminate/Routing/Route.php:219
31. /vendor/laravel/framework/src/Illuminate/Routing/Route.php:176
32. /vendor/laravel/framework/src/Illuminate/Routing/Router.php:682
33. /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
34. middleware::bindings:41
35. /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
36. /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
37. /vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:75
38. /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
39. /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
40. /vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49
41. /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
42. /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
43. /vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63
44. /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
45. /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
46. /vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37
47. /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
48. /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
49. /vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66
<b>select * from `sliders`</b>
150μs
/app/Repositories/Repository.php:31
silversky_corporate
<b>select `title`, `created_at`, `img`, `alias` from `articles` order by `id` desc limit 5</b>
160μs
/app/Repositories/Repository.php:31
silversky_corporate
<b>select * from `menus`</b>
140μs
/app/Repositories/Repository.php:31
silversky_corporate
Answer the question
In order to leave comments, you need to log in
It looks like the problem is in the .env
.
See what the environment variable is equal to APP_URL
.
In your particular case, it should be equal to https://site.hhos.ru
.
PS
Since the file .env
is not under the version (in any case, it should be so). You may also be missing the file itself .env
. In this case, you need to create it by copying .env.example
and assigning the values relevant for the server to the environment variables.
In addition, I would definitely check what is behind the `url` key in the config app.php
.
And also, filesystems.php
check the url
disk key public
.
In both cases, there should be something along the lines of:'url' => env('APP_URL')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question