skara Posted September 5, 2020 Share Posted September 5, 2020 (edited) Hi, I have just upgraded from PS 1.6.20 (yes I know a big jump ...😉) to PS 1.7.6.7. I receive HTTP ERROR 500 for both BO and shop (http://bbhands/test) remark: PHP version is 7.2.33 (inherited), althouth in PHP info I see 7.0.33 Enabling debug mode receive: Warning: rename(/tmp/class_index.phplWTFjw,/home/bbhand5/public_html/test/var/cache/dev/class_index.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Warning: rename(/tmp/class_stub.php78OhmF,/home/bbhand5/public_html/test/var/cache/dev/class_stub.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Warning: rename(/tmp/namespaced_class_stub.phpGyMToO,/home/bbhand5/public_html/test/var/cache/dev/namespaced_class_stub.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Warning: rename(/tmp/class_index.phpQRbEqY,/home/bbhand5/public_html/test/var/cache/dev/class_index.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Warning: rename(/tmp/class_stub.phpSo9is8,/home/bbhand5/public_html/test/var/cache/dev/class_stub.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Warning: rename(/tmp/namespaced_class_stub.phpSk9Vti,/home/bbhand5/public_html/test/var/cache/dev/namespaced_class_stub.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Warning: rename(/tmp/class_index.php9sGcvt,/home/bbhand5/public_html/test/var/cache/dev/class_index.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Warning: rename(/tmp/class_stub.php48rrwE,/home/bbhand5/public_html/test/var/cache/dev/class_stub.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Warning: rename(/tmp/namespaced_class_stub.phpXi4VxP,/home/bbhand5/public_html/test/var/cache/dev/namespaced_class_stub.php): No such file or directory in /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php on line 264 Fatal error: Uncaught Error: Class 'Db' not found in /home/bbhand5/public_html/test/config/alias.php:47 Stack trace: #0 /home/bbhand5/public_html/test/config/alias.php(52): pSQL('configuration') #1 /home/bbhand5/public_html/test/classes/Configuration.php(155): bqSQL('configuration') #2 /home/bbhand5/public_html/test/classes/Configuration.php(209): ConfigurationCore::loadConfiguration() #3 /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php(171): ConfigurationCore::get('PS_DISABLE_OVER...') #4 /home/bbhand5/public_html/test/classes/PrestaShopAutoload.php(130): PrestaShopAutoload->generateIndex() #5 [internal function]: PrestaShopAutoload->load('Db') #6 /home/bbhand5/public_html/test/config/alias.php(47): spl_autoload_call('Db') #7 /home/bbhand5/public_html/test/config/alias.php(52): pSQL('configuration') #8 /home/bbhand5/public_html/test/classes/Configuration.php(155): bqSQL('configuration') #9 /home/bbhand5/public_html/test/classes/Configuration.php(209): ConfigurationCore::loadConfiguration() #10 /home/bbhand5/ in /home/bbhand5/public_html/test/config/alias.php on line 47 Any help is much appreciated ... Thank you. Regards Pierangelo Edited September 5, 2020 by skara added tags (see edit history) Link to comment Share on other sites More sharing options...
skara Posted September 7, 2020 Author Share Posted September 7, 2020 Hi everybody, any idea about this issue? Thank you in advance. Link to comment Share on other sites More sharing options...
skara Posted September 14, 2020 Author Share Posted September 14, 2020 no ideas at all? Link to comment Share on other sites More sharing options...
Jibax Posted September 30, 2020 Share Posted September 30, 2020 Same problem here after using 1-Click Upgrade from 1.7.1. to 1.7.6.8 Link to comment Share on other sites More sharing options...
musicmaster Posted September 30, 2020 Share Posted September 30, 2020 Class not found errors are sometimes caused because the class file is missing or has size zero. This was in PS 1.6. For 1.7 there may be other problem places but I still know its file labyrinth insufficiently to be sure about other locations. The fix: Make a fresh PS installation of the same version and copy the classes and controllers directories. Link to comment Share on other sites More sharing options...
skara Posted November 13, 2020 Author Share Posted November 13, 2020 Hi, Thank you for your reply but I've copied from a fresh installation the 2 directorier (/classes and /controllers). Same error ... Link to comment Share on other sites More sharing options...
musicmaster Posted November 14, 2020 Share Posted November 14, 2020 You might consider copying the /src and /vendor directory too. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now