AbanteCart Community

eCommerce construction => Installation and Configuration => Upgrade => Topic started by: G. O. on May 02, 2025, 01:00:02 PM

Title: upgrading from V.1.4.1 to V. 1.4.2
Post by: G. O. on May 02, 2025, 01:00:02 PM
Hello,

I tired to upgrading from V.1.4.1 to V. 1.4.2 but i couldn't and got next error log and screenshot.


2025-05-02 19:54:07 - Unknown Error: AbanteCart core v.1.4.1 SQL-ERROR: "array (
'error_text' => 'Can\'t DROP INDEX `fuw2_lang_definition_idx`; check that it exists',
'errno' => 1091,
)" in /core/lib/package_manager.php on line 832



What shall I do in my case?
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: perplexed on May 05, 2025, 11:15:07 AM
I am also working through problems with upgrade (1.4.2), permissions, as well as ftp unable to log on etc. Abantecart needs to create a better system for upgrading through hosting sites (A2webhosting) if I find anything substantial I will post again....in the mean-time I am also stuck in the ditch....
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: abolabo on May 06, 2025, 03:32:02 AM
Hello,

I tired to upgrading from V.1.4.1 to V. 1.4.2 but i couldn't and got next error log and screenshot.


2025-05-02 19:54:07 - Unknown Error: AbanteCart core v.1.4.1 SQL-ERROR: "array (
'error_text' => 'Can\'t DROP INDEX `fuw2_lang_definition_idx`; check that it exists',
'errno' => 1091,
)" in /core/lib/package_manager.php on line 832

What shall I do in my case?

this index must be presents in your language_definition table.
See 1.4.1 install.sql script, line 983 https://github.com/abantecart/abantecart-src/blob/1.4.1/public_html/install/abantecart_database.sql#L983

To solve just create it manually via phpMyAdmin and run upgrade again
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: abolabo on May 06, 2025, 03:41:46 AM
I am also working through problems with upgrade (1.4.2), permissions, as well as ftp unable to log on etc. Abantecart needs to create a better system for upgrading through hosting sites (A2webhosting) if I find anything substantial I will post again....in the mean-time I am also stuck in the ditch....

You see all these permissions "issues" because of security reason. AbanteCart thinks how to forbid injections from other hosting providers accounts and other worms.
If we made easy upgrade this mean weak defense. What do you prefer, easy upgrade or weak defense?
Please provide how do you see upgrade process. We'll try to make it better
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: Marklawrence on May 30, 2025, 01:39:40 PM
You may have the same issue I had.

The webserver wouldn't serve index.php as the default index file, so any call to javascript would return 404, which was the wrong file type since it was expecting javascript, and it would get blocked.

The solution was go to the .htaccess file in the root folder of your AbanteCart installation and add this line:
DirectoryIndex index.php
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: abolabo on June 01, 2025, 06:15:39 AM
You may have the same issue I had.

The webserver wouldn't serve index.php as the default index file, so any call to javascript would return 404, which was the wrong file type since it was expecting javascript, and it would get blocked.

The solution was go to the .htaccess file in the root folder of your AbanteCart installation and add this line:
DirectoryIndex index.php
Nope, this it database index related issue, not webserver
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: perplexed on June 10, 2025, 01:09:49 PM
Not all of us are dev's. There are many apps out there that provide both an easy upgrade, and a strong defense. We know because we have used them and upgrades are secure and seamless. These Abantecart upgrades have become intimidating and that should not happen. We just want to have the best products to present to our customers.
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: abolabo on June 11, 2025, 04:30:19 AM
Not all of us are dev's. There are many apps out there that provide both an easy upgrade, and a strong defense. We know because we have used them and upgrades are secure and seamless. These Abantecart upgrades have become intimidating and that should not happen. We just want to have the best products to present to our customers.

 Agree.  Feel free send us donations. This project alive because of you and code is free.
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: perplexed on June 11, 2025, 03:27:47 PM
Thank you,  I had made a significant contribution, however I never received any type of receipt, which is beneficial for my business tracking. If and when receipts are automatically sent to contributors after they contribute,  I will again contribute. Having said that I appreciate all your work and for all of those in the open source world.
Title: Re: upgrading from V.1.4.1 to V. 1.4.2
Post by: Basara on June 12, 2025, 07:19:26 AM
Thank you,  I had made a significant contribution, however I never received any type of receipt, which is beneficial for my business tracking. If and when receipts are automatically sent to contributors after they contribute,  I will again contribute. Having said that I appreciate all your work and for all of those in the open source world.

Thank you very much for your contribution and your kind words of support. We truly appreciate your involvement and recognition of the work put into the AbanteCart project and the broader open-source community.