Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: A quick question  (Read 4047 times)

Offline everchanging

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +9/-0
    • View Profile
    • Ancient Greece Reloaded
A quick question
« on: October 08, 2024, 08:50:24 PM »
Hi guys, a quick question.

Currently I am running on AbanteCart 1.2.16 with no issues whatsoever; so I am fine with it.

Here is the question:

When I go to my WHM (from my server) and change the PHP version from 7.1 (which I am currently on) to php version 7.3 or 7.4 - although the site runs fine there is a small problem.

As I was checking everything and no apparent issues appeared, I discovered that when someone tries to write a review, he cannot do it.

For example, you add the name, you write the review, and to complete the process you click on reCaptcha (version 2) and submit the review.

But the moment you click on the submit button nothing happens or it does not accept the review (stating that an error occurred or something).

So, currently I reverted back to php 7.1 and everything works fine again.

Any ideas why that is the case or how to solve it?

I am puzzled because I have never encountered such a case before.

I am looking forward to your reply.


PS: if I read the error report correctly this is what it states:

Code: [Select]


warning: AbanteCart core v.1.2.16 Use of undefined constant total_data - assumed 'total_data' (this will throw an Error in a future version of PHP) in <b>/home/................./extensions/favicon_cart/storefront/view/default/template/common/footer.post.tpl</b> on line <b>18</b>

warning: AbanteCart core v.1.2.16 Use of undefined constant text - assumed 'text' (this will throw an Error in a future version of PHP) in <b>/home/.............../extensions/favicon_cart/storefront/view/default/template/common/footer.post.tpl</b> on line <b>20</b>


"I know one thing; that I know nothing"

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6100
  • Karma: +284/-2
    • View Profile
Re: A quick question
« Reply #1 on: October 09, 2024, 10:02:32 AM »
Hello.
AbanteCart 1.2.16 is outdated however the recommended PHP version is 7.0

Offline everchanging

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +9/-0
    • View Profile
    • Ancient Greece Reloaded
Re: A quick question
« Reply #2 on: October 09, 2024, 01:30:12 PM »
Hi Basara...

So, in essence I would have to upgrade it to a 1.3 version to be able to run in at a version of PhP 7.3 or 7.4?

***
Also, a couple other questions:

which version of the 1.3 should I go for?

And let us say that I go for the 1.3.4 version would I have to upgrade it step by step like: 1.3.2 -> 1.3.3 -> 1.3.4 or just in one go?

Finally, the databases etc from version 1.2.16 do work on 1.3.4 correct? (because I read on a post somewhere in the forum that database from 1.2.16 would not work on 1.4 something)?


Sincerely

« Last Edit: October 09, 2024, 02:38:18 PM by everchanging »
"I know one thing; that I know nothing"

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6100
  • Karma: +284/-2
    • View Profile
Re: A quick question
« Reply #3 on: October 10, 2024, 04:52:36 AM »
Hello.
The recommended PHP version for 1.3.4 is 8.1 note that the latest AbanteCart version 1.4.0 works on PHP 8.3 https://abantecart.atlassian.net/wiki/spaces/AD/pages/3768390/AbanteCart+System+Requirements

When you run an upgrade the database is automatically upgraded by the upgrade script. Please make sure to backup your database and files before upgrading.
https://abantecart.atlassian.net/wiki/spaces/AD/pages/4980799/AbanteCart+Upgrade


Offline everchanging

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +9/-0
    • View Profile
    • Ancient Greece Reloaded
Re: A quick question
« Reply #4 on: October 10, 2024, 06:13:54 PM »
Hi Basara and thanks for all the guidance.

Two final questions:

1)

can I directly upgrade from 1.2.16 to 1.3.4 for example

or should I do the upgrade step by step like: 1.2.16 -> 1.3 -> 1.3.1 -> 1.3.2 -> 1.3.3 etc?


2)

I have a couple of extensions running on 1.2.16.

I just checked and saw that they are compatible with the 1.3 and 1.4 versions.

How do I go about it?

Do I first upgrade Abantecart and then the extensions or are they automatically "upgraded" to be compatible with the new version of abantecart?

My apologies for the many questions and thank you in advance for your reply.
"I know one thing; that I know nothing"

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6100
  • Karma: +284/-2
    • View Profile
Re: A quick question
« Reply #5 on: October 11, 2024, 04:28:07 AM »
Hello,

The upgrade process should be done step by step, like this: 1.2.16 -> 1.3 -> 1.3.1 -> 1.3.2 -> 1.3.3, and so on.

Ensure that all extensions are compatible at each step. First, upgrade to the latest available version for 1.2.16. Then, upgrade the cart to 1.3 and check if any extension versions are compatible with 1.3 as well as switch to more compatible PHP version. Continue this process for each subsequent version. You may need to contact the extension authors for compatibility details.

Offline everchanging

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +9/-0
    • View Profile
    • Ancient Greece Reloaded
Re: A quick question
« Reply #6 on: October 11, 2024, 11:52:41 PM »
Hi Basara,
thank you for all your replies and clarifications.

I highly appreciate it; thank you!  :)
"I know one thing; that I know nothing"

 

Powered by SMFPacks Social Login Mod