hello
mysite.com/admin page is not loading
i get this error maseg please help me to understand what i can do
[27-Apr-2023 14:31:33 UTC] PHP Warning: require_once(/home/m81fe09h6nfi/public_html/admin/system/startup.php): failed to open stream: No such file or directory in /home/m81fe09h6nfi/public_html/admin/index.php on line 17
[27-Apr-2023 14:31:33 UTC] PHP Fatal error: require_once(): Failed opening required '/home/m81fe09h6nfi/public_html/admin/system/startup.php' (include_path='.:/opt/alt/php73/usr/share/pear') in /home/m81fe09h6nfi/public_html/admin/index.php on line 17
mysite.com/admin page is not loading
i get this error maseg please help me to understand what i can do
[27-Apr-2023 14:31:33 UTC] PHP Warning: require_once(/home/m81fe09h6nfi/public_html/admin/system/startup.php): failed to open stream: No such file or directory in /home/m81fe09h6nfi/public_html/admin/index.php on line 17
[27-Apr-2023 14:31:33 UTC] PHP Fatal error: require_once(): Failed opening required '/home/m81fe09h6nfi/public_html/admin/system/startup.php' (include_path='.:/opt/alt/php73/usr/share/pear') in /home/m81fe09h6nfi/public_html/admin/index.php on line 17
If the front end of the site is working but the admin is broken, you might check your config.php file in the admin folder. Double check that the paths are correct.
Try this...
Create a file in the admin directory called path.php. In it, place this code...
Then call the file from your browser. https://www.yoursite.com/admin/path.php
Compare the path that PHP is showing with what you have in your config.php file within the admin directory.
Remove the file once you're done troubleshooting.
Create a file in the admin directory called path.php. In it, place this code...
Code: Select all
<?php
echo __DIR__;
?>
Compare the path that PHP is showing with what you have in your config.php file within the admin directory.
Remove the file once you're done troubleshooting.
FIRST THANK YOU VERY MUCH FOR YOUR HELP !
i did it when i go to the link :
http://mywebsite.com/admin/path.php
this is what i got : /home/m81fe09h6nfi/public_html/admin
and this is copy of my admin/config :
<?php
// HTTP
define('HTTP_SERVER', 'http://mywebsite.com/admin/');
define('HTTP_CATALOG', 'http://mywebsite.com/');
// HTTPS
define('HTTPS_SERVER', 'http://mywebsite.com/admin/');
define('HTTPS_CATALOG', 'http://mywebsite.com/');
// DIR
define('DIR_APPLICATION', '/home/m81fe09h6nfi/public_html/admin/');
define('DIR_SYSTEM', '/home/m81fe09h6nfi/public_html/admin/system/');
define('DIR_IMAGE', '/home/m81fe09h6nfi/public_html/admin/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storagewatolbouvo0m/');
define('DIR_CATALOG', '/home/m81fe09h6nfi/public_html/admin/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
its look ok ??
i did it when i go to the link :
http://mywebsite.com/admin/path.php
this is what i got : /home/m81fe09h6nfi/public_html/admin
and this is copy of my admin/config :
<?php
// HTTP
define('HTTP_SERVER', 'http://mywebsite.com/admin/');
define('HTTP_CATALOG', 'http://mywebsite.com/');
// HTTPS
define('HTTPS_SERVER', 'http://mywebsite.com/admin/');
define('HTTPS_CATALOG', 'http://mywebsite.com/');
// DIR
define('DIR_APPLICATION', '/home/m81fe09h6nfi/public_html/admin/');
define('DIR_SYSTEM', '/home/m81fe09h6nfi/public_html/admin/system/');
define('DIR_IMAGE', '/home/m81fe09h6nfi/public_html/admin/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storagewatolbouvo0m/');
define('DIR_CATALOG', '/home/m81fe09h6nfi/public_html/admin/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
its look ok ??
Which specific version of OC are you using? 3.0.3.8 or something else?
If version 3, did you change the name of the admin dir to something else? Those changes need to be reflected in the config.php.
If version 3, did you change the name of the admin dir to something else? Those changes need to be reflected in the config.php.
Index.php show this:
<?php
// Version
define('VERSION', '3.0.3.6');
// Configuration
if (is_file('config.php')) {
require_once('config.php');
}
// Install
if (!defined('DIR_APPLICATION')) {
header('Location: install/index.php');
exit;
}
// Startup
require_once(DIR_SYSTEM . 'startup.php');
start('catalog');
so its 3.0.3.6 right ?
<?php
// Version
define('VERSION', '3.0.3.6');
// Configuration
if (is_file('config.php')) {
require_once('config.php');
}
// Install
if (!defined('DIR_APPLICATION')) {
header('Location: install/index.php');
exit;
}
// Startup
require_once(DIR_SYSTEM . 'startup.php');
start('catalog');
so its 3.0.3.6 right ?
No such file or directory:
/home/m81fe09h6nfi/public_html/admin/system/startup.php
Does it exist?
/home/m81fe09h6nfi/public_html/admin/system/startup.php
Does it exist?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
No, it doesn't look OK! It should be more like this:smokelight wrote: ↑Fri Apr 28, 2023 1:20 amFIRST THANK YOU VERY MUCH FOR YOUR HELP !
i did it when i go to the link :
http://mywebsite.com/admin/path.php
this is what i got : /home/m81fe09h6nfi/public_html/admin
and this is copy of my admin/config :
<?php
// HTTP
define('HTTP_SERVER', 'http://mywebsite.com/admin/');
define('HTTP_CATALOG', 'http://mywebsite.com/');
// HTTPS
define('HTTPS_SERVER', 'http://mywebsite.com/admin/');
define('HTTPS_CATALOG', 'http://mywebsite.com/');
// DIR
define('DIR_APPLICATION', '/home/m81fe09h6nfi/public_html/admin/');
define('DIR_SYSTEM', '/home/m81fe09h6nfi/public_html/admin/system/');
define('DIR_IMAGE', '/home/m81fe09h6nfi/public_html/admin/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storagewatolbouvo0m/');
define('DIR_CATALOG', '/home/m81fe09h6nfi/public_html/admin/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
its look ok ??
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://mywebsite.com/admin/');
define('HTTP_CATALOG', 'https://mywebsite.com/');
// HTTPS
define('HTTPS_SERVER', 'https://mywebsite.com/admin/');
define('HTTPS_CATALOG', 'https://mywebsite.com/');
// DIR
define('DIR_APPLICATION', '/home/m81fe09h6nfi/public_html/admin/');
define('DIR_SYSTEM', '/home/m81fe09h6nfi/public_html/system/');
define('DIR_IMAGE', '/home/m81fe09h6nfi/public_html/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_CATALOG', '/home/m81fe09h6nfi/public_html/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
.....
?>
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
As pointed out, this looks odd...
define('DIR_STORAGE', DIR_SYSTEM . 'storagewatolbouvo0m/');
define('DIR_STORAGE', DIR_SYSTEM . 'storagewatolbouvo0m/');
What does your updated config.php look like? Make sure you REMOVE your database and other sensitive info when posting.
-
Backup and learn how to recover before you make any changes!
/home/m81fe09h6nfi/public_html/admin/index.php
Check your admin folder
index.php is missing or wrong directory path
Check your admin folder
index.php is missing or wrong directory path
View all extensions | Request custom work | Pricing | Contact Me
Well what exactly did you try?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Who is online
Users browsing this forum: Bing [Bot] and 26 guests