This is a weird one - I try to access admin and get a blank page the error code is as follows:
Code: Select all
[06-May-2024 12:50:26 UTC] PHP Warning: require(includes/system/autoloader.php): failed to open stream: No such file or directory in /home/*******/public_html/store/admin/includes/application_top.php on line 18
[06-May-2024 12:50:26 UTC] PHP Fatal error: require(): Failed opening required 'includes/system/autoloader.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/*******/public_html/store/admin/includes/application_top.php on line 18
Code: Select all
if (file_exists('includes/local/configure.php')) { // for developers
include 'includes/local/configure.php';
return;
}
// Set the level of error reporting
error_reporting(E_ALL);
// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
define('HTTP_SERVER', 'https://xpajun.com'); // eg, http://localhost or - https://localhost should not be NULL for production servers
define('COOKIE_OPTIONS', [
'lifetime' => 0,
'domain' => '',
'path' => '',
'samesite' => 'Lax',
]);
define('DIR_FS_DOCUMENT_ROOT', '/home/mudlarki/public_html/store'); // where your pages are located on the server. if $DOCUMENT_ROOT doesn't suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_WS_ADMIN', '/store/admin/');
define('DIR_FS_ADMIN', '/home/*********/public_html/store/admin/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
// leave blank or omit to use MySQL sessions
define('DIR_FS_SESSION', '');
define('HTTP_CATALOG_SERVER', 'https://xpajun.com');
define('DIR_WS_CATALOG', '/store/');
define('DIR_FS_CATALOG', '/home/*******/public_html/store/');
// set default timezone if none exists (PHP 5.3 throws an E_WARNING)
date_default_timezone_set(date_default_timezone_get());