├── LICENSE ├── composer.json ├── readme.md └── src ├── Resources ├── lang │ ├── en │ │ └── server-error-pages.php │ ├── es │ │ └── server-error-pages.php │ └── pt-BR │ │ └── server-error-pages.php └── views │ ├── errors │ ├── 400.blade.php │ ├── 401.blade.php │ ├── 403.blade.php │ ├── 404.blade.php │ ├── 405.blade.php │ ├── 408.blade.php │ ├── 419.blade.php │ ├── 429.blade.php │ ├── 500.blade.php │ ├── 502.blade.php │ ├── 503.blade.php │ ├── 504.blade.php │ └── maintenance.blade.php │ └── template │ └── template.blade.php └── ServerErrorPagesServiceProvider.php /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Ennio Sousa 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "enniosousa/server-error-pages", 3 | "description": "Laravel server-side error pages", 4 | "keywords": ["error pages", "laravel"], 5 | "type": "package", 6 | "version": "v1.1.0", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Ennio Sousa", 11 | "email": "ennio@enniosousa.com.br" 12 | } 13 | ], 14 | "require": { 15 | "laravel/framework": "^5.6.20|5.7.*|5.8.*|6.*|7.*" 16 | }, 17 | "autoload": { 18 | "psr-4": { 19 | "EnnioSousa\\ServerErrorPages\\": "src/" 20 | } 21 | }, 22 | "extra": { 23 | "laravel": { 24 | "providers": [ 25 | "EnnioSousa\\ServerErrorPages\\ServerErrorPagesServiceProvider" 26 | ] 27 | } 28 | }, 29 | "minimum-stability": "stable" 30 | } 31 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Laravel Server Error Pages 2 | [](https://packagist.org/packages/enniosousa/server-error-pages) 3 | [](https://packagist.org/packages/enniosousa/server-error-pages) 4 | [](https://packagist.org/packages/enniosousa/server-error-pages) 5 | 6 | ### Table of Contents 7 | * [Errors Avaliables](#errors-avaliables) 8 | * [Languages Avaliables](#languages-avaliables) 9 | * [Installation](#installation) 10 | * [How to Create Custom Error Pages](#how-to-create-custom-error-pages) 11 | * [Custom Error Messages](#custom-error-messages) 12 | 13 | 14 | ## Errors Avaliables 15 | * 400 Bad Request 16 | * 401 Unauthorized 17 | * 403 Forbidden 18 | * 404 Not Found 19 | * 405 Method not allowed 20 | * 419 Authentication Timeout 21 | * 429 Too Many Requests 22 | * 500 Internal Server Error 23 | * 502 Bad Gateway 24 | * 503 Service Unavailable 25 | * 504 Gateway Timeout 26 | * Maintenance (used when ```php artisan down```) 27 | 28 | ### Languages Avaliables 29 | * English by [alexphelps/server-error-pages](https://github.com/alexphelps/server-error-pages) 30 | * Brazilian Portuguese by [Ennio Sousa](https://enniosousa.com.br) 31 | * Spanish by [Patricia Carmona](https://github.com/carmonapacs) 32 | 33 | ## Installation 34 | **Step 1**:Install package via Composer 35 | ```bash 36 | composer require enniosousa/server-error-pages 37 | ``` 38 | **Step 2**: If you are using Laravel 5, include the service provider within your `config/app.php` file. 39 | 40 | ```php 41 | 'providers' => [ 42 | EnnioSousa\ServerErrorPages\ServerErrorPagesServiceProvider::class, 43 | ]; 44 | ``` 45 | 46 | **Step 3**: Publish vendor provider 47 | ```bash 48 | php artisan vendor:publish --provider="EnnioSousa\ServerErrorPages\ServerErrorPagesServiceProvider" 49 | ``` 50 | 51 | ## How to Create Custom Error Pages 52 | **Step 1**: Create new empty file named with HTTP code error at folder `resources/views/errors` like specified in [Laravel docs](https://laravel.com/docs/5.5/errors#custom-http-error-pages). 53 | 54 | **Step 2**: Put the following content in the file you just created. 55 | ``` 56 | @include('server-error-pages::template', compact($exception)) 57 | ``` 58 | 59 | **Step 3**: Add to file `resrouces/lang/vendor/en/server-error-pages.php` custom messages following the template: 60 | ```php 61 | [ 64 | 'title' => "000 HTTP ERROR", 65 | 'description' => "Brief description", 66 | 'icon' => "fa fa-cogs green", //icon color options are: green, orange or red 67 | 'button' => [ 68 | 'name' => "Try This Page Again", 69 | 'link_to' => "reload", //options are: reload, home or previous 70 | ], 71 | 'why' => [ 72 | 'title' => "What happened?", 73 | 'description' => "Error description" 74 | ], 75 | 'what_do' => [ 76 | 'title' => "What can I do?", 77 | 'visitor' => [ 78 | 'title' => "If you're a site visitor", 79 | 'description' => "Explanation." 80 | ], 81 | 'owner' => [ 82 | 'title' => "If you're the site owner", 83 | 'description' => "Explanation" 84 | ], 85 | ], 86 | ], 87 | ]; 88 | ``` 89 | 90 | ## Custom Error Messages 91 | Use ```abort()``` Laravel helper 92 | ```php 93 | abort(500, "The server is broken"); 94 | abort(403, "You user role does not heave permission to see that."); 95 | ``` 96 | 97 | Or 98 | ```bash 99 | php artisan down --message="This application is update process. Wait 10 minutes and try again." --retry=600 100 | ``` 101 | -------------------------------------------------------------------------------- /src/Resources/lang/en/server-error-pages.php: -------------------------------------------------------------------------------- 1 | [ 7 | 'title' => "400 Bad Request", 8 | 'description' => "Sorry! The :domain server could not understand the request due to invalid syntax.", 9 | 'icon' => "fa fa-ban red", 10 | 'button' => [ 11 | 'name' => "Back to previous page", 12 | 'link_to' => "previous", 13 | ], 14 | 'why' => [ 15 | 'title' => "What happened?", 16 | 'description' => "A 400 error status indicates that the server could not understand the request due to invalid syntax." 17 | ], 18 | 'what_do' => [ 19 | 'title' => "What can I do?", 20 | 'visitor' => [ 21 | 'title' => "If you're a site visitor", 22 | 'description' => "Please use your browsers back button and check that you fill the form correctly. If you need immediate assistance, please send us an email instead." 23 | ], 24 | 'owner' => [ 25 | 'title' => "If you're the site owner", 26 | 'description' => "Please check that you everything right, or get in touch with your website provider if you believe this to be an error." 27 | ], 28 | ], 29 | ], 30 | '401' => [ 31 | 'title' => "401 Unauthorized", 32 | 'description' => "Oops! You need be authenticated to access this resource on :domain.", 33 | 'icon' => "fa fa-lock red", 34 | 'button' => [ 35 | 'name' => "Try This Page Again", 36 | 'link_to' => "reload", 37 | ], 38 | 'why' => [ 39 | 'title' => "What happened?", 40 | 'description' => "A 401 error status indicates that the request has not been applied because it lacks valid authentication credentials for the target resource." 41 | ], 42 | 'what_do' => [ 43 | 'title' => "What can I do?", 44 | 'visitor' => [ 45 | 'title' => "If you're a site visitor", 46 | 'description' => "Refresh this page or try do login again. If you need immediate assistance, please send us an email instead." 47 | ], 48 | 'owner' => [ 49 | 'title' => "If you're the site owner", 50 | 'description' => "Refresh this page or try do login again. If the error persists get in touch with your website provider if you believe this to be an error." 51 | ], 52 | ], 53 | ], 54 | '403' => [ 55 | 'title' => "403 Forbidden", 56 | 'description' => "Sorry! You don't have access permissions for that on :domain.", 57 | 'icon' => "fa fa-ban red", 58 | 'button' => [ 59 | 'name' => "Take Me To The Homepage", 60 | 'link_to' => "home", 61 | ], 62 | 'why' => [ 63 | 'title' => "What happened?", 64 | 'description' => "A 403 error status indicates that you don't have permission to access the file or page. In general, web servers and websites have directories and files that are not open to the public web for security reasons." 65 | ], 66 | 'what_do' => [ 67 | 'title' => "What can I do?", 68 | 'visitor' => [ 69 | 'title' => "If you're a site visitor", 70 | 'description' => "Please use your browsers back button and check that you're in the right place. If you need immediate assistance, please send us an email instead." 71 | ], 72 | 'owner' => [ 73 | 'title' => "If you're the site owner", 74 | 'description' => "Please check that you're in the right place and get in touch with your website provider if you believe this to be an error." 75 | ], 76 | ], 77 | ], 78 | '404' => [ 79 | 'title' => "404 Not Found", 80 | 'description' => "We couldn't find what you're looking for on :domain.", 81 | 'icon' => "fa fa-frown-o red", 82 | 'button' => [ 83 | 'name' => "Take Me To The Homepage", 84 | 'link_to' => "home", 85 | ], 86 | 'why' => [ 87 | 'title' => "What happened?", 88 | 'description' => "A 404 error status implies that the file or page that you're looking for could not be found." 89 | ], 90 | 'what_do' => [ 91 | 'title' => "What can I do?", 92 | 'visitor' => [ 93 | 'title' => "If you're a site visitor", 94 | 'description' => "Please use your browser's back button and check that you're in the right place. If you need immediate assistance, please send us an email instead." 95 | ], 96 | 'owner' => [ 97 | 'title' => "If you're the site owner", 98 | 'description' => "Please check that you're in the right place and get in touch with your website provider if you believe this to be an error." 99 | ], 100 | ], 101 | ], 102 | '405' => [ 103 | 'title' => "405 Method not allowed", 104 | 'description' => "You requested this page with an invalid or nonexistent HTTP method on :domain.", 105 | 'icon' => "fa fa-ban orange", 106 | 'button' => [ 107 | 'name' => "Back to previous page", 108 | 'link_to' => "previous", 109 | ], 110 | 'why' => [ 111 | 'title' => "What happened?", 112 | 'description' => "A 405 error status indicates that the request method is known by the server but has been disabled and cannot be used." 113 | ], 114 | 'what_do' => [ 115 | 'title' => "What can I do?", 116 | 'visitor' => [ 117 | 'title' => "If you're a site visitor", 118 | 'description' => "Go to previous page and retry. If you need immediate assistance, please send us an email instead." 119 | ], 120 | 'owner' => [ 121 | 'title' => "If you're the site owner", 122 | 'description' => "Go to previous page and retry. If the error persists get in touch with your website provider if you believe this to be an error." 123 | ], 124 | ], 125 | ], 126 | '408' => [ 127 | 'title' => "408 Request Timeout", 128 | 'description' => "The server :domain would like to shut down this unused connection.", 129 | 'icon' => "fa fa-clock-o red", 130 | 'button' => [ 131 | 'name' => "Try This Page Again", 132 | 'link_to' => "reload", 133 | ], 134 | 'why' => [ 135 | 'title' => "What happened?", 136 | 'description' => "A 408 error status indicates that the server would like to shut down this unused connection. It is sent on an idle connection by some servers, even without any previous request by the client." 137 | ], 138 | 'what_do' => [ 139 | 'title' => "What can I do?", 140 | 'visitor' => [ 141 | 'title' => "If you're a site visitor", 142 | 'description' => "Refresh this page and try again. If you need immediate assistance, please send us an email instead." 143 | ], 144 | 'owner' => [ 145 | 'title' => "If you're the site owner", 146 | 'description' => "Refresh this page and try again. If the error persists get in touch with your website provider if you believe this to be an error." 147 | ], 148 | ], 149 | ], 150 | '419' => [ 151 | 'title' => '419 Authentication Timeout', 152 | 'description' => "The page has expired due to inactivity :domain.", 153 | 'icon' => "fa fa-lock red", 154 | 'button' => [ 155 | 'name' => "Take Me To The Homepage", 156 | 'link_to' => "home", 157 | ], 158 | 'why' => [ 159 | 'title' => "What happened?", 160 | 'description' => "The error 419 status denotes that previously valid authentication has expired." 161 | ], 162 | 'what_do' => [ 163 | 'title' => "What can I do?", 164 | 'visitor' => [ 165 | 'title' => "If you're a site visitor", 166 | 'description' => "Refresh this page or try do login again. If you need immediate assistance, please send us an email instead." 167 | ], 168 | 'owner' => [ 169 | 'title' => "If you're the site owner", 170 | 'description' => "Refresh this page or try do login again. If the error persists get in touch with your website provider if you believe this to be an error." 171 | ], 172 | ], 173 | ], 174 | '429' => [ 175 | 'title' => '429 Too Many Requests', 176 | 'description' => "The web server is returning a rate limiting notification :domain.", 177 | 'icon' => "fa fa-dashboard red", 178 | 'button' => [ 179 | 'name' => "Try This Page Again", 180 | 'link_to' => "reload", 181 | ], 182 | 'why' => [ 183 | 'title' => "What happened?", 184 | 'description' => "This error means you have exceeded the request rate limit for the the web server you are accessing.
Rate Limit Thresholds are set higher than a human browsing this site should be able to reach and mostly for protection against automated requests and attacks." 185 | ], 186 | 'what_do' => [ 187 | 'title' => "What can I do?", 188 | 'visitor' => [ 189 | 'title' => "If you're a site visitor", 190 | 'description' => "The best thing to do is to slow down with your requests and try again in a few minutes. We apologize for any inconvenience." 191 | ], 192 | 'owner' => [ 193 | 'title' => "If you're the site owner", 194 | 'description' => "This error is mostly likely very brief, the best thing to do is to check back in a few minutes and everything will probably be working normal again. If the error persists, contact your website host." 195 | ], 196 | ], 197 | ], 198 | '500' => [ 199 | 'title' => "500 Internal Server Error", 200 | 'description' => "The web server is returning an internal error for :domain.", 201 | 'icon' => "glyphicon glyphicon-fire red", 202 | 'button' => [ 203 | 'name' => "Try This Page Again", 204 | 'link_to' => "reload", 205 | ], 206 | 'why' => [ 207 | 'title' => "What happened?", 208 | 'description' => "A 500 error status implies there is a problem with the web server's software causing it to malfunction." 209 | ], 210 | 'what_do' => [ 211 | 'title' => "What can I do?", 212 | 'visitor' => [ 213 | 'title' => "If you're a site visitor", 214 | 'description' => "Nothing you can do at the moment. If you need immediate assistance, please send us an email instead. We apologize for any inconvenience." 215 | ], 216 | 'owner' => [ 217 | 'title' => "If you're the site owner", 218 | 'description' => "This error can only be fixed by server admins, please contact your website provider." 219 | ], 220 | ], 221 | ], 222 | '502' => [ 223 | 'title' => "502 Bad Gateway", 224 | 'description' => "The web server is returning an unexpected networking error for :domain.", 225 | 'icon' => "fa fa-bolt orange", 226 | 'button' => [ 227 | 'name' => "Try This Page Again", 228 | 'link_to' => "reload", 229 | ], 230 | 'why' => [ 231 | 'title' => "What happened?", 232 | 'description' => "A 502 error status implies that that the server received an invalid response from an upstream server it accessed to fulfill the request." 233 | ], 234 | 'what_do' => [ 235 | 'title' => "What can I do?", 236 | 'visitor' => [ 237 | 'title' => "If you're a site visitor", 238 | 'description' => "Check to see if this website down for everyone or just you." 239 | ], 240 | 'owner' => [ 241 | 'title' => "If you're the site owner", 242 | 'description' => "Clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please contact your website provider." 243 | ], 244 | ], 245 | ], 246 | '503' => [ 247 | 'title' => "503 Service Unavailable", 248 | 'description' => "The web server is returning an unexpected temporary error for :domain.", 249 | 'icon' => "fa fa-exclamation-triangle orange", 250 | 'button' => [ 251 | 'name' => "Try This Page Again", 252 | 'link_to' => "reload", 253 | ], 254 | 'why' => [ 255 | 'title' => "What happened?", 256 | 'description' => "A 503 error status implies that this is a temporary condition due to a temporary overloading or maintenance of the server. This error is normally a brief temporary interruption." 257 | ], 258 | 'what_do' => [ 259 | 'title' => "What can I do?", 260 | 'visitor' => [ 261 | 'title' => "If you're a site visitor", 262 | 'description' => "If you need immediate assistance, please send us an email instead. We apologize for any inconvenience." 263 | ], 264 | 'owner' => [ 265 | 'title' => "If you're the site owner", 266 | 'description' => "This error is mostly likely very brief, the best thing to do is to check back in a few minutes and everything will probably be working normal again." 267 | ], 268 | ], 269 | ], 270 | '504' => [ 271 | 'title' => "504 Gateway Timeout", 272 | 'description' => "The web server is returning an unexpected networking error for :domain.", 273 | 'icon' => "fa fa-clock-o orange", 274 | 'button' => [ 275 | 'name' => "Try This Page Again", 276 | 'link_to' => "reload", 277 | ], 278 | 'why' => [ 279 | 'title' => "What happened?", 280 | 'description' => "A 504 error status implies there is a slow IP communication problem between back-end servers attempting to fulfill this request." 281 | ], 282 | 'what_do' => [ 283 | 'title' => "What can I do?", 284 | 'visitor' => [ 285 | 'title' => "If you're a site visitor", 286 | 'description' => "Check to see if this website down for everyone or just you.
Also, clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please send us an email instead." 287 | ], 288 | 'owner' => [ 289 | 'title' => "If you're the site owner", 290 | 'description' => "Clearing your browser cache and refreshing the page may clear this issue. If the problem persists and you need immediate assistance, please contact your website provider." 291 | ], 292 | ], 293 | ], 294 | 'maintenance' => [ 295 | 'title' => "Temporary Maintenance", 296 | 'description' => "The web server for :domain is currently undergoing some maintenance.", 297 | 'icon' => "fa fa-cogs green", 298 | 'button' => [ 299 | 'name' => "Try This Page Again", 300 | 'link_to' => "reload", 301 | ], 302 | 'why' => [ 303 | 'title' => "What happened?", 304 | 'description' => "Servers and websites need regular maintenance just like a car to keep them up and running smoothly." 305 | ], 306 | 'what_do' => [ 307 | 'title' => "What can I do?", 308 | 'visitor' => [ 309 | 'title' => "If you're a site visitor", 310 | 'description' => "If you need immediate assistance, please send us an email instead. We apologize for any inconvenience." 311 | ], 312 | 'owner' => [ 313 | 'title' => "If you're the site owner", 314 | 'description' => "The maintenance period will mostly likely be very brief, the best thing to do is to check back in a few minutes and everything will probably be working normal again." 315 | ], 316 | ], 317 | ], 318 | ]; 319 | -------------------------------------------------------------------------------- /src/Resources/lang/es/server-error-pages.php: -------------------------------------------------------------------------------- 1 | [ 7 | "title" => "403 Prohibido", 8 | "description" => "¡Lo siento! No tiene permisos de acceso para eso en :domain.", 9 | "icon" => "fa fa-ban red", 10 | "button" => [ 11 | "name" => "Llévame a la página de inicio", 12 | "link_to" => "home" 13 | ], 14 | "why" => [ 15 | "title" => "¿Que pasó?", 16 | "description" => "El error 403 indica que no tiene permiso para acceder al archivo o la página. En general, los servidores web y los sitios web tienen directorios y archivos que no están abiertos a la red pública por razones de seguridad." 17 | ], 18 | "what_do" => [ 19 | "title" => "¿Que puedo hacer?", 20 | "visitor" => [ 21 | "title" => "Si eres un visitante del sitio", 22 | "description" => "Utilice el botón atrás de su navegador y verifique que se encuentra en el lugar correcto. Si necesita asistencia inmediata, envíenos un correo electrónico en su lugar." 23 | ], 24 | "owner" => [ 25 | "title" => "Si eres el propietario del sitio", 26 | "description" => "Por favor comprueba que estás en el lugar correcto y ponerse en contacto con su proveedor de sitio web si cree que esto es un error." 27 | ] 28 | ] 29 | ], 30 | "404" => [ 31 | "title" => "404 Not Found", 32 | "description" => "No pudimos encontrar lo que estás buscando :domain.", 33 | "icon" => "fa fa-frown-o red", 34 | "button" => [ 35 | "name" => "Llévame a la página de inicio", 36 | "link_to" => "home" 37 | ], 38 | "why" => [ 39 | "title" => "¿Que pasó?", 40 | "description" => "El error 404 implica que el archivo o la página que está buscando no se pudo encontrar." 41 | ], 42 | "what_do" => [ 43 | "title" => "¿Que puedo hacer?", 44 | "visitor" => [ 45 | "title" => "Si eres un visitante del sitio", 46 | "description" => "Utilice el botón Atrás de su navegador y verifique que se encuentra en el lugar correcto. Si necesita asistencia inmediata, envíenos un correo electrónico en su lugar." 47 | ], 48 | "owner" => [ 49 | "title" => "Si eres el propietario del sitio", 50 | "description" => "Por favor comprueba que estás en el lugar correcto y ponerse en contacto con su proveedor de sitio web si cree que esto es un error." 51 | ] 52 | ] 53 | ], 54 | '405' => [ 55 | 'title' => "405 Method not allowed", 56 | 'description' => "Solicitó esta página con un método HTTP no válido o inexistente :domain.", 57 | 'icon' => "fa fa-ban orange", 58 | 'button' => [ 59 | 'name' => "Volver a la página anterior", 60 | 'link_to' => "previous", 61 | ], 62 | 'why' => [ 63 | 'title' => "¿Que pasó?", 64 | 'description' => "El error 405 indica que el método de solicitud es conocido por el servidor, pero se ha deshabilitado y no se puede usar." 65 | ], 66 | 'what_do' => [ 67 | 'title' => "¿Que puedo hacer?", 68 | 'visitor' => [ 69 | 'title' => "Si eres un visitante del sitio", 70 | 'description' => "Vaya a la página anterior y vuelva a intentarlo. Si necesita asistencia inmediata, envíenos un correo electrónico." 71 | ], 72 | 'owner' => [ 73 | 'title' => "Si eres el propietario del sitio", 74 | 'description' => "Vaya a la página anterior y vuelva a intentarlo. Si el error persiste, póngase en contacto con su proveedor de sitio web." 75 | ], 76 | ], 77 | ], 78 | '419' => [ 79 | 'title' => '419 Authentication Timeout', 80 | 'description' => "La página ha expirado debido a inactividad :domain.", 81 | 'icon' => "fa fa-lock red", 82 | 'button' => [ 83 | "name" => "Llévame a la página de inicio", 84 | "link_to" => "home" 85 | ], 86 | 'why' => [ 87 | 'title' => "¿Que pasó?", 88 | 'description' => "El error 419 denota que la autenticación previamente válida ha expirado." 89 | ], 90 | 'what_do' => [ 91 | 'title' => "¿Que puedo hacer?", 92 | 'visitor' => [ 93 | 'title' => "Si eres un visitante del sitio", 94 | 'description' => "Actualice esta página o intente iniciar sesión de nuevo. Si necesita asistencia inmediata, envíenos un correo electrónico." 95 | ], 96 | 'owner' => [ 97 | 'title' => "Si eres el propietario del sitio", 98 | 'description' => "Actualice esta página o intente iniciar sesión de nuevo. Si el error persiste, póngase en contacto con su proveedor de sitio web." 99 | ], 100 | ], 101 | ], 102 | "429" => [ 103 | "title" => "429 Too Many Requests", 104 | "description" => "El servidor web está devolviendo una notificación de limitación de velocidad :domain.", 105 | "icon" => "fa fa-dashboard red", 106 | "button" => [ 107 | "name" => "Prueba esta página otra vez", 108 | "link_to" => "Volver a cargar" 109 | ], 110 | "why" => [ 111 | "title" => "¿Que pasó?", 112 | "description" => "Este error significa que ha excedido el límite de velocidad de solicitud para el servidor web al que está accediendo.
Los umbrales de límite de frecuencia se configuran más altos que una navegación humana que este sitio debería poder alcanzar y principalmente para la protección contra solicitudes y ataques automatizados." 113 | ], 114 | "what_do" => [ 115 | "title" => "¿Que puedo hacer?", 116 | "visitor" => [ 117 | "title" => "Si eres un visitante del sitio", 118 | "description" => "Lo mejor que puede hacer es reducir la velocidad con sus solicitudes e intentar nuevamente en unos minutos. Nos disculpamos por cualquier inconveniente." 119 | ], 120 | "owner" => [ 121 | "title" => "Si eres el propietario del sitio", 122 | "description" => "Es probable que este error sea muy breve, lo mejor es comprobarlo en unos minutos y probablemente todo vuelva a funcionar normalmente. Si el error persiste, comuníquese con el host de su sitio web." 123 | ] 124 | ] 125 | ], 126 | "500" => [ 127 | "title" => "500 Internal Server Error", 128 | "description" => "El servidor web está devolviendo una notificación de limitación de velocidad :domain.", 129 | "icon" => "glyphicon glyphicon-fire red", 130 | "button" => [ 131 | "name" => "Prueba esta página otra vez", 132 | "link_to" => "Volver a cargar" 133 | ], 134 | "why" => [ 135 | "title" => "¿Que pasó?", 136 | "description" => "El error 500 implica que hay un problema con el software del servidor web que causa un mal funcionamiento." 137 | ], 138 | "what_do" => [ 139 | "title" => "¿Que puedo hacer?", 140 | "visitor" => [ 141 | "title" => "Si eres un visitante del sitio", 142 | "description" => "Si usted necesita asistencia inmediata, por favor envíenos un correo electrónico. Nos disculpamos por cualquier inconveniente." 143 | ], 144 | "owner" => [ 145 | "title" => "Si eres el propietario del sitio", 146 | "description" => "Este error solo puede ser resuelto por los administradores del servidor, póngase en contacto con su proveedor de sitio web." 147 | ] 148 | ] 149 | ], 150 | "502" => [ 151 | "title" => "502 Bad Gateway", 152 | "description" => "El servidor web está devolviendo una notificación de limitación de velocidad :domain.", 153 | "icon" => "fa fa-bolt orange", 154 | "button" => [ 155 | "name" => "Prueba esta página otra vez", 156 | "link_to" => "Volver a cargar" 157 | ], 158 | "why" => [ 159 | "title" => "¿Que pasó?", 160 | "description" => "El error 502 implica que el servidor recibió una respuesta no válida de un servidor ascendente al que accedió para cumplir con la solicitud." 161 | ], 162 | "what_do" => [ 163 | "title" => "¿Que puedo hacer?", 164 | "visitor" => [ 165 | "title" => "Si eres un visitante del sitio", 166 | "description" => "Compruebe si este sitio web está disponible para todos o solo usted." 167 | ], 168 | "owner" => [ 169 | "title" => "Si eres el propietario del sitio", 170 | "description" => "Borrar el caché de su navegador y actualizar la página puede solucionar este problema. Si el problema persiste y necesita asistencia inmediata, comuníquese con el proveedor de su sitio web." 171 | ] 172 | ] 173 | ], 174 | "503" => [ 175 | "title" => "503 Service Unavailable", 176 | "description" => "El servidor web está devolviendo un error temporal inesperado para :domain.", 177 | "icon" => "fa fa-exclamation-triangle orange", 178 | "button" => [ 179 | "name" => "Prueba esta página otra vez", 180 | "link_to" => "Volver a cargar" 181 | ], 182 | "why" => [ 183 | "title" => "¿Que pasó?", 184 | "description" => "El error 503 implica que se trata de una condición temporal debido a una sobrecarga temporal o al mantenimiento del servidor. Este error es normalmente una breve interrupción temporal." 185 | ], 186 | "what_do" => [ 187 | "title" => "¿Que puedo hacer?", 188 | "visitor" => [ 189 | "title" => "Si eres un visitante del sitio", 190 | "description" => "Si usted necesita asistencia inmediata, por favor envíenos un correo electrónico. Nos disculpamos por cualquier inconveniente." 191 | ], 192 | "owner" => [ 193 | "title" => "Si eres el propietario del sitio", 194 | "description" => "Es probable que este error sea muy breve, lo mejor es comprobarlo en unos minutos y probablemente todo vuelva a funcionar normalmente." 195 | ] 196 | ] 197 | ], 198 | "504" => [ 199 | "title" => "504 Gateway Timeout", 200 | "description" => "El servidor web está devolviendo un error de red inesperado para :domain.\n", 201 | "icon" => "fa fa-clock-o orange", 202 | "button" => [ 203 | "name" => "Prueba esta página otra vez", 204 | "link_to" => "Volver a cargar" 205 | ], 206 | "why" => [ 207 | "title" => "¿Que pasó?", 208 | "description" => "El error 504 implica que hay un problema de comunicación IP lento entre los servidores de servicios de fondo que intentan cumplir con esta solicitud." 209 | ], 210 | "what_do" => [ 211 | "title" => "¿Que puedo hacer?", 212 | "visitor" => [ 213 | "title" => "Si eres un visitante del sitio", 214 | "description" => "Compruebe si este sitio web está disponible para todos o solo usted.
Además, borrar el caché del navegador y actualizar la página puede solucionar este problema. Si el problema persiste y necesita asistencia inmediata, envíenos un correo electrónico en su lugar." 215 | ], 216 | "owner" => [ 217 | "title" => "Si eres el propietario del sitio", 218 | "description" => "Borrar caché del navegador y actualiza la página pueden eliminar este problema. Si el problema persiste y necesita ayuda inmediata, por favor comuníquese con su proveedor de sitio Web." 219 | ] 220 | ] 221 | ], 222 | "maintenance" => [ 223 | "title" => "Mantenimiento temporal", 224 | "description" => "El servidor web para :domain Actualmente se está realizando un mantenimiento.", 225 | "icon" => "fa fa-cogs green", 226 | "button" => [ 227 | "name" => "Prueba esta página otra vez", 228 | "link_to" => "Volver a cargar" 229 | ], 230 | "why" => [ 231 | "title" => "¿Que pasó?", 232 | "description" => "Servidores y sitios web necesita un mantenimiento regular al igual que un coche para mantener y funcionando sin problemas." 233 | ], 234 | "what_do" => [ 235 | "title" => "¿Que puedo hacer?", 236 | "visitor" => [ 237 | "title" => "Si eres un visitante del sitio", 238 | "description" => "Si usted necesita asistencia inmediata, por favor envíenos un correo electrónico. Nos disculpamos por cualquier inconveniente." 239 | ], 240 | "owner" => [ 241 | "title" => "Si eres el propietario del sitio", 242 | "description" => "El período de mantenimiento probablemente sea muy breve, lo mejor es comprobarlo en unos minutos y todo volverá a funcionar normalmente." 243 | ] 244 | ] 245 | ] 246 | ]; 247 | -------------------------------------------------------------------------------- /src/Resources/lang/pt-BR/server-error-pages.php: -------------------------------------------------------------------------------- 1 | [ 8 | 'title' => '400 Bad Request', 9 | 'description' => 'Lamento! O servidor de :domain não conseguiu entender a requisição devido à sintaxe inválida.', 10 | 'icon' => 'fa fa-ban red', 11 | 'button' => [ 12 | 'name' => "Voltar à página anterior", 13 | 'link_to' => "previous", 14 | ], 15 | 'why' => [ 16 | 'title' => 'O que aconteceu?', 17 | 'description' => 'O erro 400 indica que o servidor não conseguiu entender a requisição devido à sintaxe inválida.', 18 | ], 19 | 'what_do' => [ 20 | 'title' => 'O que posso fazer?', 21 | 'visitor' => [ 22 | 'title' => 'Se você é um visitante do site', 23 | 'description' => 'Por favor volte a página anterior e verifique se configurou ou preencheu o formulário corretamente. Se você precisar de assistência imediata, por favor entre em contato.', 24 | ], 25 | 'owner' => [ 26 | 'title' => 'Se você é o proprietário do site', 27 | 'description' => 'Verifique se fez tudo corretamente, ou entre em contato com provedor do site se você acredita que isso é um erro.', 28 | ], 29 | ], 30 | ], 31 | '401' => [ 32 | 'title' => '401 Unauthorized', 33 | 'description' => 'Opa! Você precisa estar autenticado para acessar este recurso em :domain.', 34 | 'icon' => 'fa fa-lock red', 35 | 'button' => [ 36 | 'name' => "Voltar à página anterior", 37 | 'link_to' => "previous", 38 | ], 39 | 'why' => [ 40 | 'title' => 'O que aconteceu?', 41 | 'description' => 'O erro 401 indica que a solicitação não foi aplicada porque não possui credenciais de autenticação válidas.', 42 | ], 43 | 'what_do' => [ 44 | 'title' => 'O que posso fazer?', 45 | 'visitor' => [ 46 | 'title' => 'Se você é um visitante do site', 47 | 'description' => "Atualize a página ou tente fazer login novamente. Se você precisar de assistência imediata, por favor entre em contato." 48 | ], 49 | 'owner' => [ 50 | 'title' => 'Se você é o proprietário do site', 51 | 'description' => "Atualize a página ou tente fazer login novamente. Se o erro persistir entre em contato com provedor do site." 52 | ], 53 | ], 54 | ], 55 | '403' => [ 56 | 'title' => '403 Forbidden', 57 | 'description' => 'Lamento! Você não tem permissão de acesso para isso em :domain.', 58 | 'icon' => 'fa fa-ban red', 59 | 'button' => [ 60 | 'name' => 'Leve-me à página inicial', 61 | 'link_to' => 'home', 62 | ], 63 | 'why' => [ 64 | 'title' => 'O que aconteceu?', 65 | 'description' => 'O erro 403 indica que você não tem permissão para acessar esta página ou arquivo. Em geral, servidores web e sites tem diretórios e arquivos que não são aberto ao público por motivos de segurança.', 66 | ], 67 | 'what_do' => [ 68 | 'title' => 'O que posso fazer?', 69 | 'visitor' => [ 70 | 'title' => 'Se você é um visitante do site', 71 | 'description' => 'Por favor volte a página anterior e verifique se você deveria está no lugar certo. Se você precisar de assistência imediata, por favor entre em contato.', 72 | ], 73 | 'owner' => [ 74 | 'title' => 'Se você é o proprietário do site', 75 | 'description' => 'Verifique se você está no lugar certo e entre em contato com provedor do site se você acredita que isso é um erro.', 76 | ], 77 | ], 78 | ], 79 | '404' => [ 80 | 'title' => '404 Not Found', 81 | 'description' => 'Não encontramos o que você está procurando :domain.', 82 | 'icon' => 'fa fa-frown-o red', 83 | 'button' => [ 84 | 'name' => 'Leve-me à página inicial', 85 | 'link_to' => 'home', 86 | ], 87 | 'why' => [ 88 | 'title' => 'O que aconteceu?', 89 | 'description' => 'O erro 404 indica que o arquivo ou a página que você está procurando não existe.', 90 | ], 91 | 'what_do' => [ 92 | 'title' => 'O que posso fazer?', 93 | 'visitor' => [ 94 | 'title' => 'Se você é um visitante do site', 95 | 'description' => 'Por favor volte a página anterior e verifique se você deveria está no lugar certo. Se você precisar de assistência imediata, por favor entre em contato.', 96 | ], 97 | 'owner' => [ 98 | 'title' => 'Se você é o proprietário do site', 99 | 'description' => 'Verifique se você está no lugar certo e entre em contato com provedor do site se você acredita que isso é um erro.', 100 | ], 101 | ], 102 | ], 103 | '405' => [ 104 | 'title' => "405 Method not allowed", 105 | 'description' => "Você solicitou esta página com um método HTTP inválido ou inexistente em :domain.", 106 | 'icon' => "fa fa-ban orange", 107 | 'button' => [ 108 | 'name' => "Voltar a página anterior", 109 | 'link_to' => "previous", 110 | ], 111 | 'why' => [ 112 | 'title' => "O que aconteceu?", 113 | 'description' => "O erro 405 indica que o método de solicitação é conhecido pelo servidor, mas foi desativado e não pode ser usado." 114 | ], 115 | 'what_do' => [ 116 | 'title' => "O que posso fazer?", 117 | 'visitor' => [ 118 | 'title' => "Se você é um visitante do site", 119 | 'description' => "Vá para a página anterior e tente novamente. Se você precisar de assistência imediata, por favor entre em contato." 120 | ], 121 | 'owner' => [ 122 | 'title' => "Se você é o proprietário do site", 123 | 'description' => "Vá para a página anterior e tente novamente. Se o erro persistir entre em contato com provedor do site." 124 | ], 125 | ], 126 | ], 127 | '408' => [ 128 | 'title' => '408 Request Timeout', 129 | 'description' => 'O servidor em :domain excedeu o limite de tempo execução antes de concluir a tarefa.', 130 | 'icon' => 'fa fa-clock-o red', 131 | 'button' => [ 132 | 'name' => 'Tente esta página novamente', 133 | 'link_to' => 'reload', 134 | ], 135 | 'why' => [ 136 | 'title' => 'O que aconteceu?', 137 | 'description' => 'O erro 408 indica que o tempo limite de execução do servidor foi atingido antes de concluir a requisição.', 138 | ], 139 | 'what_do' => [ 140 | 'title' => 'O que posso fazer?', 141 | 'visitor' => [ 142 | 'title' => 'Se você é um visitante do site', 143 | 'description' => 'Atualize a página e tente novamente.', 144 | ], 145 | 'owner' => [ 146 | 'title' => 'Se você é o proprietário do site', 147 | 'description' => 'Atualize a página. Se o erro persistir entre em contato com provedor do site.', 148 | ], 149 | ], 150 | ], 151 | '419' => [ 152 | 'title' => '419 Authentication Timeout', 153 | 'description' => "A página expirou por inatividade :domain.", 154 | 'icon' => "fa fa-lock red", 155 | 'button' => [ 156 | 'name' => 'Leve-me à página inicial', 157 | 'link_to' => 'home', 158 | ], 159 | 'why' => [ 160 | 'title' => 'O que aconteceu?', 161 | 'description' => "O erro 419 denota que uma autenticação anteriormente válida expirou." 162 | ], 163 | 'what_do' => [ 164 | 'title' => 'O que posso fazer?', 165 | 'visitor' => [ 166 | 'title' => 'Se você é um visitante do site', 167 | 'description' => "Atualize a página ou tente fazer login novamente. Se você precisar de assistência imediata, por favor entre em contato." 168 | ], 169 | 'owner' => [ 170 | 'title' => 'Se você é o proprietário do site', 171 | 'description' => "Atualize a página ou tente fazer login novamente. Se o erro persistir entre em contato com provedor do site." 172 | ], 173 | ], 174 | ], 175 | '429' => [ 176 | 'title' => '429 Too Many Requests', 177 | 'description' => 'O servidor está retornando uma notificação de limite alcançado para :domain.', 178 | 'icon' => 'fa fa-dashboard red', 179 | 'button' => [ 180 | 'name' => 'Tente esta página novamente', 181 | 'link_to' => 'reload', 182 | ], 183 | 'why' => [ 184 | 'title' => 'O que aconteceu?', 185 | 'description' => 'Este erro significa que o limite de requisições ao servidor que você está acessando foi atingido.
O limite de requisições é mais alto do que um humano pode requisitar, este site tem proteção contra solicitações e ataques automatizados.', 186 | ], 187 | 'what_do' => [ 188 | 'title' => 'O que posso fazer?', 189 | 'visitor' => [ 190 | 'title' => 'Se você é um visitante do site', 191 | 'description' => 'O melhor a fazer é ir com calma nas requisições e tentar novamente em alguns minutos. Nos desculpamos por qualquer inconveniente.', 192 | ], 193 | 'owner' => [ 194 | 'title' => 'Se você é o proprietário do site', 195 | 'description' => 'Este erro ocorre de forma breve, o melhor a fazer é esperar alguns minutos que tudo deve voltar funcionar normalmente. Se o erro persistir, por favor entre em contato.', 196 | ], 197 | ], 198 | ], 199 | '500' => [ 200 | 'title' => '500 Internal Server Error', 201 | 'description' => 'O servidor web está retornando um erro interno para :domain.', 202 | 'icon' => 'glyphicon glyphicon-fire red', 203 | 'button' => [ 204 | 'name' => 'Tente esta página novamente', 205 | 'link_to' => 'reload', 206 | ], 207 | 'why' => [ 208 | 'title' => 'O que aconteceu?', 209 | 'description' => 'O erro 500 indica que existem problemas com o software do servidor causando mal funcionamento.', 210 | ], 211 | 'what_do' => [ 212 | 'title' => 'O que posso fazer?', 213 | 'visitor' => [ 214 | 'title' => 'Se você é um visitante do site', 215 | 'description' => 'Nada que você possa fazer no momento. Se você precisar de assistência imediata, por favor entre em contato.', 216 | ], 217 | 'owner' => [ 218 | 'title' => 'Se você é o proprietário do site', 219 | 'description' => 'Este erro só pode ser corrigido por administradores do servidor, por favor, entre em contato com o provedor do site.', 220 | ], 221 | ], 222 | ], 223 | '502' => [ 224 | 'title' => '502 Bad Gateway', 225 | 'description' => 'O servidor está retornando um erro de rede inesperado para :domain.', 226 | 'icon' => 'fa fa-bolt orange', 227 | 'button' => [ 228 | 'name' => 'Tente esta página novamente', 229 | 'link_to' => 'reload', 230 | ], 231 | 'why' => [ 232 | 'title' => 'O que aconteceu?', 233 | 'description' => 'O erro 502 indica que um servidor de rede (gateway ou proxy) recebeu uma resposta inválida do servidor upstream que acessou para cumprir o pedido.', 234 | ], 235 | 'what_do' => [ 236 | 'title' => 'O que posso fazer?', 237 | 'visitor' => [ 238 | 'title' => 'Se você é um visitante do site', 239 | 'description' => 'Verificar se este site está offline para todos ou apenas para você.', 240 | ], 241 | 'owner' => [ 242 | 'title' => 'Se você é o proprietário do site', 243 | 'description' => 'Limpar o cache do seu navegador e atualizar a página pode resolver este problema. Se o problema persistir você e precisar de assistência imediata, por favor entre em contato.', 244 | ], 245 | ], 246 | ], 247 | '503' => [ 248 | 'title' => '503 Service Unavailable', 249 | 'description' => 'O servidor está retornando um inesperado erro temporário para :domain.', 250 | 'icon' => 'fa fa-exclamation-triangle orange', 251 | 'button' => [ 252 | 'name' => 'Tente esta página novamente', 253 | 'link_to' => 'reload', 254 | ], 255 | 'why' => [ 256 | 'title' => 'O que aconteceu?', 257 | 'description' => 'O erro 503 indica que esta é uma condição temporária por sobrecarga ou manutenção no servidor. Este erro é normalmente um interrupção temporária.', 258 | ], 259 | 'what_do' => [ 260 | 'title' => 'O que posso fazer?', 261 | 'visitor' => [ 262 | 'title' => 'Se você é um visitante do site', 263 | 'description' => 'Se você precisar de assistência imediata, por favor entre em contato.', 264 | ], 265 | 'owner' => [ 266 | 'title' => 'Se você é o proprietário do site', 267 | 'description' => 'Este erro ocorre de forma breve, o melhor a fazer é esperar alguns minutos que tudo deve voltar funcionar normalmente.', 268 | ], 269 | ], 270 | ], 271 | '504' => [ 272 | 'title' => '504 Gateway Timeout', 273 | 'description' => 'O servidor está retornando um erro de rede inesperado para :domain.', 274 | 'icon' => 'fa fa-clock-o orange', 275 | 'button' => [ 276 | 'name' => 'Tente esta página novamente', 277 | 'link_to' => 'reload', 278 | ], 279 | 'why' => [ 280 | 'title' => 'O que aconteceu?', 281 | 'description' => 'O erro 504 indica que a comunicação lenta do IP entre os servidores do back-end para cumprir o pedido.', 282 | ], 283 | 'what_do' => [ 284 | 'title' => 'O que posso fazer?', 285 | 'visitor' => [ 286 | 'title' => 'Se você é um visitante do site', 287 | 'description' => 'Verificar se este site está offline para todos ou apenas para você.
Limpar o cache do seu navegador e atualizar a página pode resolver este problema. Se o problema persistir você e precisar de assistência imediata, por favor entre em contato.', 288 | ], 289 | 'owner' => [ 290 | 'title' => 'Se você é o proprietário do site', 291 | 'description' => 'Limpar o cache do seu navegador e atualizar a página pode resolver este problema. Se o problema persistir você e precisar de assistência imediata, por favor entre em contato.', 292 | ], 293 | ], 294 | ], 295 | 'maintenance' => [ 296 | 'title' => 'Manutenção Temporária', 297 | 'description' => 'O servidor do site :domain está nesse momento em manutenção.', 298 | 'icon' => 'fa fa-cogs green', 299 | 'button' => [ 300 | 'name' => 'Tente esta página novamente', 301 | 'link_to' => 'reload', 302 | ], 303 | 'why' => [ 304 | 'title' => 'O que aconteceu?', 305 | 'description' => 'Servidores e sites, assim como os carros, precisam regularmente de manutenção para continuarem funcionando.', 306 | ], 307 | 'what_do' => [ 308 | 'title' => 'O que posso fazer?', 309 | 'visitor' => [ 310 | 'title' => 'Se você é um visitante do site', 311 | 'description' => 'Se você precisar de assistência imediata, por favor entre em contato. Nos desculpamos pelo inconveniente.', 312 | ], 313 | 'owner' => [ 314 | 'title' => 'Se você é o proprietário do site', 315 | 'description' => 'Geralmente a manutenção ocorre de forma rápida, o melhor a fazer é esperar alguns minutos e tentar novamente.', 316 | ], 317 | ], 318 | ], 319 | ]; 320 | -------------------------------------------------------------------------------- /src/Resources/views/errors/400.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/401.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/403.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/404.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/405.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/408.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/419.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/429.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/500.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/502.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/503.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/504.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/errors/maintenance.blade.php: -------------------------------------------------------------------------------- 1 | @include('server-error-pages::template', compact($exception)) -------------------------------------------------------------------------------- /src/Resources/views/template/template.blade.php: -------------------------------------------------------------------------------- 1 | isDownForMaintenance() ? 'maintenance' : $exception->getStatusCode(); 3 | ?> 4 | 5 | 6 |
7 | 8 | 9 | request()->getHost()]) !!}"> 10 |{!! config('app.env') === 'production' ? trans("server-error-pages::server-error-pages.$code.description", ['domain'=> request()->getHost()]) : $exception->getMessage() ?? trans("server-error-pages::server-error-pages.$code.description", ['domain'=> request()->getHost()]) !!}
54 | 59 |{!! trans("server-error-pages::server-error-pages.$code.why.description") !!}
67 |{!! trans("server-error-pages::server-error-pages.$code.what_do.visitor.title") !!}
71 |{!! trans("server-error-pages::server-error-pages.$code.what_do.visitor.description", ['domain'=> request()->getHost()]) !!}
72 |{!! trans("server-error-pages::server-error-pages.$code.what_do.owner.title") !!}
73 |{!! trans("server-error-pages::server-error-pages.$code.what_do.owner.description") !!}
74 |