Post by IT-Me-Up.co.uk » Thu Jun 16, 2022 8:09 pm

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/

Please Check Out My Site:
https://www.IT-Me-Up.co.uk/


New member

Posts

Joined
Thu Sep 21, 2017 4:27 pm

Post by IT-Me-Up.co.uk » 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.

Please Check Out My Site:
https://www.IT-Me-Up.co.uk/


New member

Posts

Joined
Thu Sep 21, 2017 4:27 pm

Post by straightlight » 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?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IT-Me-Up.co.uk » Thu Jun 16, 2022 8:33 pm

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/');

Please Check Out My Site:
https://www.IT-Me-Up.co.uk/


New member

Posts

Joined
Thu Sep 21, 2017 4:27 pm

Post by straightlight » 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 ?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IT-Me-Up.co.uk » 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

Please Check Out My Site:
https://www.IT-Me-Up.co.uk/


New member

Posts

Joined
Thu Sep 21, 2017 4:27 pm

Post by straightlight » Thu Jun 16, 2022 9:53 pm

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IT-Me-Up.co.uk » Thu Jun 30, 2022 9:12 pm

I've rebuilt my site back on v3 for now

Please Check Out My Site:
https://www.IT-Me-Up.co.uk/


New member

Posts

Joined
Thu Sep 21, 2017 4:27 pm

Post by IP_CAM » Thu Jun 30, 2022 9:38 pm

by reading around here about OC v.4.x first, you could have avoided to play Prototype Tester ... :laugh:

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by JNeuhoff » Thu Jun 30, 2022 9:47 pm

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 .

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 49 guests