Post by elsaidy » Sun Jul 24, 2022 7:11 pm

Hi,
I used to upgrade my opencart v3.x store to 4.0
Upgrade process goes success, and it told me to delete the install folder, after that I was trying to access the admin panel I got the following error.

Code: Select all

Warning: require_once(/home/yummycou/public_html/storage/vendor/aws/aws-sdk-php/src/functions.php): Failed to open stream: No such file or directory in /home/yummycou/public_html/system/vendor.php on line 11

Fatal error: Uncaught Error: Failed opening required '/home/yummycou/public_html/storage/vendor/aws/aws-sdk-php/src/functions.php' (include_path='.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php') in /home/yummycou/public_html/system/vendor.php:11 Stack trace: #0 /home/yummycou/public_html/system/framework.php(8): require_once() #1 /home/yummycou/public_html/system/startup.php(66): require_once('/home/yummycou/...') #2 /home/yummycou/public_html/admin/index.php(20): require_once('/home/yummycou/...') #3 {main} thrown in /home/yummycou/public_html/system/vendor.php on line 11
Kindly help me to sort this problem out.

Thanks.

Newbie

Posts

Joined
Sun Oct 17, 2021 6:27 pm

Post by straightlight » Mon Jul 25, 2022 9:17 am

Your storage folder needs to be located outside of your public_html folder as both config.php files, DIR_STORAGE path, must be edited accordingly. Once your storage folder has been moved from FTP without error messages, you need to set your CHMOD settings to 0755 recursively on your folders. Files do not need to be modified.

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 JNeuhoff » Mon Jul 25, 2022 6:18 pm

On a more general note: Don't upgrade from a stable OpenCart 3.0.x.x to OpenCart 4.0.0.0. Seriously, is nobody reading the forum here? OpenCart 4.0.0.0 is not suitable for a live site, it's more like a beta release, with still a number of needed outstanding bugfixes.

And do backups of you old website before doing any big changes or updates. It's surprising to see how so many users don't do these common sense approaches.

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


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: gunownergear, khnaz35 and 6 guests