New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 error after updating 8.0.2 to 8.0.3 #32030
Comments
Hello @milor-nl , I can't reproduce your issue. I'm upgrading from 8.0.2 to 8.0.3 : We use GitHub issues only to discuss about bugs and new features in the PrestaShop project. If you have questions about using PrestaShop or third-party modules, or if you need help with your shop, please consider one of our support plans. Alternatively, you can also ask for help in the community forums or in the public Slack channel. Thank you |
Hello I tried to upgrade from prestashop 8.0.2 to 8.0.3, toward the end of the process when the database had to be upgraded I got this error: CRITICAL [console] Error thrown while running command "prestashop:schema:update-without-foreign --env=prod". Message: "There is no active transaction" ["exception" => PDOException { …},"command" => "prestashop:schema:update-without-foreign --env=prod","message" => "There is no active transaction"] Error during database upgrade. You may need to restore your database. Expected behavior A succesful upgrade, I got the error posted above instead Steps to reproduce Just use 1- click update v4.15.0 PrestaShop version(s) where the bug happened PHP version(s) where the bug happened PHP 8.1 not module related ============ Post update However checking the modules I saw that with the upgrade also the gdpr module ws update to version 2, this caused the database table myprefix_ps_gdpr_log to be renamed into ps_ps_gdpr_log, all works fine apparently, but I suspect that this table's prefix being renamed to ps_ will maybe cause other problems in future when upgrading PS. ============ Further Post update After the upgrade from 8.0.2 to 8.0.3 regenerating the miniatures caused the theme to fall off with an amount of errors of this kind: Warning: Trying to access array offset on value of type null in /home/youruser/public_html/var/cache/dev/smarty/compile/transformerlayouts_layout_full_width_tpl/ab/54/14/ab5414f0e8dc1eaecab89319433546d630a49f30_2.file.layout-both-columns.tpl.php on line 51 desktop_device I can't guess a way to fix this Also I noticed that after the upgrade from 8.0.2 to 8.0.3 and the automatic update to version 2 of the module "Official GDPR compliance" in the database there are both the tables myprefix_ps_gdpr_log and ps_ps_gdpr_log now, of which the latter is empty, so previous records are on the old log table and I guess new records will go on the new one,,,,,,, I have no idea of what happens with the keys between tables in this situation....., however it is a mess..... |
I will follow, perhaps my problems are related. |
Found another bug report "There is no active transaction" #32350 (comment) This will maybe help you #32348 (comment) |
Prerequisites
Describe the bug and add attachments
Hello,
After updating with the current 1-click update( v4.15.0 ) I have an 500 error.
My knowledge is about zero so I hope you can help me.
Fatale fout: Uncaught --> Smarty: Kan sjabloon 'file:.' niet laden. /_partials/.tpl' in 'file:_partials/desktop-header.tpl' <-- thrown in /home/pellets/domains/houtpellets.shop/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 195
I have replaced 8.0.3 with an backup back to 8.0.2 now
Expected behavior
No response
Steps to reproduce
1- click update v4.15.0
after updating ctrl-F5 - empty cache etc.
result: 500 error FATAL FAULT: Uncaught --> Smarty: Kan sjabloon 'file:.' niet laden. /_partials/.tpl' in 'file:_partials/desktop-header.tpl' <-- thrown in /home/pellets/domains/houtpellets.shop/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 195
PrestaShop version(s) where the bug happened
after update from 8.0.2 to 8.0.3
PHP version(s) where the bug happened
PHP 7.4.33
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
De Houtpellet Shop
The text was updated successfully, but these errors were encountered: