Jump to content

Presta currency problems after moving


Recommended Posts

I recently moved a site built on presta 1.7.6.1  to 1.7.6.5

I did fresh install and migrated data. Now i have a problem with my currencies.

I start to get errors like

Price Specification not found for currency: ""

on customer page (when i click on an order on customer service)

and some notifications like these on order page

Notice on line 548 in file **/modules/explorercash/explorercash.php
[8] Trying to get property 'unit' of non-object

Notice on line 841 in file */classes/Tools.php
[8] Object of class Currency could not be converted to int

It seems like all is connected and its about the currencies table.

I checked the tables. They looked OK to me. But it's very first time im using presta so i don't know what expect

+-------------+------+----------+------------------+-----------+-----------------+---------+--------+
| id_currency | name | iso_code | numeric_iso_code | precision | conversion_rate | deleted | active |
+-------------+------+----------+------------------+-----------+-----------------+---------+--------+
|           1 |      | USD      | 840              |         2 |    1.0000000000 |       0 |      1 |
|           2 |      | GBP      | 826              |         2 |    0.7950040000 |       0 |      1 |
|           3 |      | EUR      | 978              |         2 |    0.9137190000 |       0 |      1 |
|           4 |      | BTC      |                  |         0 |    0.0001410000 |       0 |      1 |
|           5 |      | XRP      |                  |         0 |    1.0000000000 |       0 |      1 |
|           6 |      | BCH      |                  |         0 |    1.0000000000 |       0 |      1 |
|           7 |      | LTC      |                  |         0 |    1.0000000000 |       0 |      1 |
|           8 |      | ETH      |                  |         0 |    1.0000000000 |       0 |      1 |
 

Also i checked conversation rate and id_currency columns in ps_orders seems fine.

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More