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

upgrading from V.1.4.1 to V. 1.4.2

Started by G. O., May 02, 2025, 01:00:02 PM

Previous topic - Next topic

G. O.

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?
Thank you...
G.O.

perplexed

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....

abolabo

Quote from: 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?

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
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

abolabo

Quote from: 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....

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
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Marklawrence

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

abolabo

Quote from: 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
Nope, this it database index related issue, not webserver
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

perplexed

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.

abolabo

Quote from: 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.

Agree.  Feel free send us donations. This project alive because of you and code is free.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

perplexed

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.

Basara

Quote from: 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.

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.

Forum Rules Code of conduct
AbanteCart.com 2010 -