Jump to content

<questions>About the error "round mode error" in the PS1.3.0.1


Guest JoshQiu

Recommended Posts

  • 4 months later...

That's probably what is going wrong! I made a new database when I installed it locally >> completely new install local. So I thought everything went ok. Maybe something went wrong with the database after all...

Is there a way to upgrade my database to 1.3? The rest of the shop is now even updated to 1.3.1 . Only the database is still wrong...

Link to comment
Share on other sites

You should run the installer and choose the "Update" option to upgrade your database. The upgrade will fail if your database was previously partially upgraded from a failed upgrade though. You should restore a backup of your PrestaShop v1.2.5 database, then make sure there are no duplicate rows in your database tables, then retry the upgrade.

Link to comment
Share on other sites

It did not work...I cleaned up the database. now there are no duplicate rows, but it says it updates, and then it just doesn't...

Probably I have to re-install the webshop, so that I start with a clean database and with 1.3.1

:-(

Link to comment
Share on other sites

  • 7 months later...

This bug appear because prestashop can't read defines for Round mode, and change values to wrong type.

The solution:
in file /admin/tabs/AdminPreferences.php
after line include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php');
add
include(PS_ADMIN_DIR.'/../config/defines.inc.php');

Link to comment
Share on other sites

×
×
  • Create New...