Page 1 of 1

Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 16, 2022 8:09 pm
by IT-Me-Up.co.uk
Can anyone assist with the error below:
Warning: require_once(/home/u148625395/storage/vendor/aws/aws-sdk-php/src/functions.php): Failed to open stream: No such file or directory in /home/u148625395/public_html/system/vendor.php on line 11

Fatal error: Uncaught Error: Failed opening required '/home/u148625395/storage/vendor/aws/aws-sdk-php/src/functions.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u148625395/public_html/system/vendor.php:11 Stack trace: #0 /home/u148625395/public_html/system/framework.php(8): require_once() #1 /home/u148625395/public_html/system/startup.php(66): require_once('/home/u14862539...') #2 /home/u148625395/public_html/index.php(17): require_once('/home/u14862539...') #3 {main} thrown in /home/u148625395/public_html/system/vendor.php on line 11
Website is on PHP 8.1 but can drop to 8.0 if that's better
Also Admin login no longer works, just shows error_login in a little red box
Site: https://www.IT-Me-Up.co.uk/

Re: Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 16, 2022 8:16 pm
by IT-Me-Up.co.uk
I have renamed my old storage folder to "storage.old" and created a new "storage"folder but that's not even populating with new folders / files.

Re: Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 16, 2022 8:24 pm
by straightlight
IT-Me-Up.co.uk wrote:
Thu Jun 16, 2022 8:16 pm
I have renamed my old storage folder to "storage.old" and created a new "storage"folder but that's not even populating with new folders / files.
Did you also moved it out of your public_html folder and edited both DIR_STORAGE from both config.php files then cleared your storage/cache files in your folder (except index.html file) afterwards?

Re: Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 16, 2022 8:33 pm
by IT-Me-Up.co.uk
straightlight wrote:
Thu Jun 16, 2022 8:24 pm
IT-Me-Up.co.uk wrote:
Thu Jun 16, 2022 8:16 pm
I have renamed my old storage folder to "storage.old" and created a new "storage"folder but that's not even populating with new folders / files.
Did you also moved it out of your public_html folder and edited both DIR_STORAGE from both config.php files then cleared your storage/cache files in your folder (except index.html file) afterwards?
Yes, the storage folder sits outside of public_home

The config.php file is like this (which is unchanged from my previous install):

define('DIR_STORAGE', '/home/u148625395/storage/');
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_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

Re: Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 16, 2022 8:59 pm
by straightlight
On your file server, does this location and file exist: /home/u148625395/storage/vendor/aws/aws-sdk-php/src/functions.php ?

Re: Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 16, 2022 9:43 pm
by IT-Me-Up.co.uk
straightlight wrote:
Thu Jun 16, 2022 8:59 pm
On your file server, does this location and file exist: /home/u148625395/storage/vendor/aws/aws-sdk-php/src/functions.php ?
No this does not exist

Re: Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 16, 2022 9:53 pm
by straightlight
IT-Me-Up.co.uk wrote:
Thu Jun 16, 2022 9:43 pm
straightlight wrote:
Thu Jun 16, 2022 8:59 pm
On your file server, does this location and file exist: /home/u148625395/storage/vendor/aws/aws-sdk-php/src/functions.php ?
No this does not exist
Then, your files were uploaded partially from FTP due to upload errors during the process.

Re: Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 30, 2022 9:12 pm
by IT-Me-Up.co.uk
I've rebuilt my site back on v3 for now

Re: ... why did I try to install OC4 ???

Posted: Thu Jun 30, 2022 9:38 pm
by IP_CAM
by reading around here about OC v.4.x first, you could have avoided to play Prototype Tester ... :laugh:

Re: Website dead, no admin login... why did I try to install OC4 ???

Posted: Thu Jun 30, 2022 9:47 pm
by JNeuhoff
Yeah, OpenCart 4.0.0.0 is not suitable for live sites. There are still daily bugfixes being applied to it from what what I can on github.com/opencart .