News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

A quick question

Started by everchanging, October 08, 2024, 08:50:24 PM

Previous topic - Next topic

everchanging

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:




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"

Basara

Hello.
AbanteCart 1.2.16 is outdated however the recommended PHP version is 7.0

everchanging

#2
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

"I know one thing; that I know nothing"

Basara

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


everchanging

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"

Basara

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.

everchanging

Hi Basara,
thank you for all your replies and clarifications.

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

Forum Rules Code of conduct
AbanteCart.com 2010 -