Request Timeout

Hello -

Been searching for an hour for a solution to this, and none of the answers I found are working. I just uploaded sitecake 2.4.10 and am using php 7.1 on my server.

When I access admin.php, using Chrome, it waits and waits, then gives this message:

Request Timeout

This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’.

l went into cPanel, and changed max_execution_time from 30 to 60. It seems to take longer, but in the end, I still get the same error message.

What should I try now.

Read this post

It says “Basic server configuration needed for Sitecake to run is OK”

Still have the same 500 error, after I received an OK message as I mentioned above. Turned on debug, and the following messages seem to point to an easy fix, for someone who understands php well, which isn’t me.

What do I do to fix this?

{
“file”: “[SITE]/sitecake/2.4.10/src/Sitecake/Log/Formatter/PathReplaceFormatter.php”,
“line”: 27,
“function”: “translateRecord”,
“class”: “Sitecake\Log\Formatter\PathReplaceFormatter”,
“object”: “[object] (Sitecake\Log\Formatter\PathReplaceFormatter: {})”,
“type”: “->”,
“args”: [
{
“level”: 400,
“level_name”: “Sitecake\Resources\Exception\ResourceNotFoundException”,
“function”: “getDefaultPage”,
“class”: “Sitecake\PageManager\SourceFileHandler”,
“type”: “->”,
“file”: “[SITE]/sitecake/2.4.10/src/Sitecake/PageManager/SourceFileHandler.php”,
“line”: 105,
“description”: “Source file resource “(index.html, index.htm, index.php, index.shtml, index.php5)” not found”,
“code”: 500,
“error”: “Sitecake\Resources\Exception\ResourceNotFoundException”,
“extra”: [],
“context”: [],
“message”: “Source file resource “(index.html, index.htm, index.php, index.shtml, index.php5)” not found”,
“datetime”: “2019-12-28 20:22:19”,
“channel”: “Sitecake”
}
]
}
1:
{
“file”: “[SITE]/sitecake/2.4.10/src/Sitecake/Error/ErrorHandler.php”,
“line”: 319,
“function”: “format”,
“class”: “Sitecake\Log\Formatter\PathReplaceFormatter”,
“object”: “[object] (Sitecake\Log\Formatter\PathReplaceFormatter: {})”,
“type”: “->”,
“args”: [
{
“level”: “error”,
“level_name”: “Sitecake\Resources\Exception\ResourceNotFoundException”,
“function”: “getDefaultPage”,
“class”: “Sitecake\PageManager\SourceFileHandler”,
“type”: “->”,
“file”: “[SITE]/sitecake/2.4.10/src/Sitecake/PageManager/SourceFileHandler.php”,
“line”: 105,
“description”: “Source file resource “(index.html, index.htm, index.php, index.shtml, index.php5)” not found”,
“code”: 500,
“error”: “Sitecake\Resources\Exception\ResourceNotFoundException”,
“extra”: [],
“context”: []
}
]
}
2:
{
“file”: “[SITE]/sitecake/2.4.10/src/Sitecake/Error/ErrorHandler.php”,
“line”: 262,
“function”: “format”,
“class”: “Sitecake\Error\ErrorHandler”,
“object”: “[object] (Sitecake\Error\ErrorHandler: {})”,
“type”: “->”,
“args”: [
{
“level”: “error”,
“level_name”: “Sitecake\Resources\Exception\ResourceNotFoundException”,
“function”: “getDefaultPage”,
“class”: “Sitecake\PageManager\SourceFileHandler”,
“type”: “->”,
“file”: “[SITE]/sitecake/2.4.10/src/Sitecake/PageManager/SourceFileHandler.php”,
“line”: 105,
“description”: “Source file resource “(index.html, index.htm, index.php, index.shtml, index.php5)” not found”,
“code”: 500,
“error”: “Sitecake\Resources\Exception\ResourceNotFoundException”,
“extra”: [],
“context”: []
}
]
}
3:
{
“file”: “[SITE]/sitecake/2.4.10/src/Sitecake/Error/ErrorHandler.php”,
“line”: 444,
“function”: “displayError”,
“class”: “Sitecake\Error\ErrorHandler”,
“object”: “[object] (Sitecake\Error\ErrorHandler: {})”,
“type”: “->”,
“args”: [
{
“level”: “error”,
“level_name”: “Sitecake\Resources\Exception\ResourceNotFoundException”,
“function”: “getDefaultPage”,
“class”: “Sitecake\PageManager\SourceFileHandler”,
“type”: “->”,
“file”: “[SITE]/sitecake/2.4.10/src/Sitecake/PageManager/SourceFileHandler.php”,
“line”: 105,
“description”: “Source file resource “(index.html, index.htm, index.php, index.shtml, index.php5)” not found”,
“code”: 500,
“error”: “Sitecake\Resources\Exception\ResourceNotFoundException”,