MAJ from 2.6.4 to 3.1.1

  • Posts: 22
  • Thank you received: 0
7 years 4 months ago #274089

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.7.3
-- PHP version -- : 7.0.17

Hello,

I got some difficulties to get my joomla to 3.7.3 but now everything is ok but my hikashop version is still at 2.6.4 I was wondering can I do the update from 2.6.4 to 3.1.1 directly or should I do some intermediate update ?

Will everything will work ? because I have notice some problem with my hikashop like the ip order is weird
before I used to have one Ip like 31.32.240.47 but now I have two ip like 10.107.14.83, 127.0.0.1
how explain that ? Is the update going to solved that problem ?

Thanks in advance for your help

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 4 months ago #274091

Hi,

You can do it directly.
However, it's a big update and many things changed in the 3.x series. And you might have problems, especially if you've customized the CSS/views of HikaShop.
So the best is to first do a copy of the website and test the update on the copy to check that everything is still working fine.

Regarding the order IP, HikaShop stores the list of IPs given by either HTTP_X_FORWARDED_FOR or HTTP_CLIENT_IP or REMOTE_ADDR.
It's possible that several IP addresses are provided when the customer uses a proxy or if your server is behind one.
So it's not a cause for concern.

Please Log in or Create an account to join the conversation.

  • Posts: 22
  • Thank you received: 0
7 years 4 months ago #274171

Thank you Nicolas for your answer.
I will definitively test the update on a copy before apllying it online

I have another question : I notice as well that the log file (media/com_hikashop/upload/safe/logs/) for the paiement are not written everytime an order is validate. The last time something was written was like a year ago!!! Is that normal ? I have daily orders!

Beside, regarding to the Ip order since I noticed the double Ip I noticed as well that I can not find them in my server log. Before I could check exactly when the client had download his order now I can't because the Ip doesn't appear on the server log file! How come ? Is the new update will correct that and everything will come back as it was ?

Thank in advance for your answers

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 4 months ago #274177

Hi,

The payment log is only filled when you have the "debug" setting of your payment method activated and that a payment notification is received for it.
So don't worry, that's normal.

If there is a proxy involved, it's possible that the IP in the server log and the IP for the order are different. It is not linked to HikaShop so updating won't help on that. HikaShop just stores the IP data of the customers as given by PHP.
If you want to have a download history so that you can track the IP addresses for the downloads, we've made recently a plugin you can add to HikaShop which does that:
www.hikashop.com/marketplace/product/212-download-history.html
That way, the IP you'll get in the order and the IP you'll get for the download will come from the same source and you'll be able to match them easily.

The following user(s) said Thank You: Ves

Please Log in or Create an account to join the conversation.

  • Posts: 22
  • Thank you received: 0
7 years 4 months ago #274425

Hello,

I just applied the update from 2.6.4 to 3.1.1 on a copy of my website and I notice an error on the Data base :
when I go to hikashop setup parameter there is a button to check the database. So I did it and as you can see on the file attach everything is ok except for this

Error The order status `` is not found but orders with that status exist
What does that means ? What should I do to correct it ?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 4 months ago #274429

Hi,

That means that you have one or several orders with an empty status.
HikaShop doesn't do that by default. That means that there is a problem with these orders.
They should have one of the statuses listed in the menu System>Order statuses.
But that's not a problem. It's probably just old test orders that you had and didn't clean.
You can ignore that message.

The following user(s) said Thank You: Ves

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum