support

Author Topic: SQL error when trying to upgrade to 1.4.2.  (Read 2026 times)

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +26/-0
    • View Profile
SQL error when trying to upgrade to 1.4.2.
« on: May 12, 2025, 09:30:26 PM »
Hi core devs,

I get:

Code: [Select]
SQL-ERROR: "array (
'error_text' => 'Can\'t DROP INDEX `abqm_lang_definition_idx`; check that it exists',
'errno' => 1091,
)"  in /home/xxxxx/xxxx/core/lib/package_manager.php on line 832

when try to upgrade to 1.4.2.

Offline G. O.

  • Full Member
  • ***
  • Posts: 189
  • Karma: +12/-1
    • View Profile
Re: SQL error when trying to upgrade to 1.4.2.
« Reply #1 on: May 13, 2025, 12:01:10 AM »
I got same error. to fix it you need to go to your hosting account and login to phpMyAdmin site and locate this (abqm_lang_definition_idx) and rename it correctly as should be then upgrade your cart again.
Thank you...
G.O.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2169
  • Karma: +344/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: SQL error when trying to upgrade to 1.4.2.
« Reply #2 on: May 13, 2025, 04:18:39 AM »
if index does not exists just run this sql and start upgrade process again.

Code: [Select]
CREATE INDEX `ac_lang_definition_idx` ON `ac_language_definitions` (`language_value`(500) ASC);
Do not forget replace ac_ prefix in the names with yours before.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +26/-0
    • View Profile
Re: SQL error when trying to upgrade to 1.4.2.
« Reply #3 on: May 13, 2025, 11:01:26 AM »
Thanks abolabo, i will try it

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2169
  • Karma: +344/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: SQL error when trying to upgrade to 1.4.2.
« Reply #4 on: June 05, 2025, 06:03:14 AM »
probably same issue can be with table settings

Code: [Select]
CREATE INDEX `ac_settings_idx` ON `ac_settings` (`value`(333) ASC);
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod