Author Topic: critical error  (Read 8234 times)

Offline Karlos

  • Newbie
  • *
  • Posts: 42
  • Karma: +4/-0
    • View Profile
critical error
« on: January 25, 2015, 10:56:14 AM »
Hi,

Just tried to upgrade from 1.1.9 to 1.2.  All seems to be upgrading then this message appears  as below.

"There has been a critical error processing your request."

At this point I have to abandon it and reload a back up version of 1.1.9 to be able to get my site back.

Any ideas why this may happen ?

Thanks.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5814
  • Karma: +274/-2
    • View Profile
Re: critical error
« Reply #1 on: January 26, 2015, 12:24:42 AM »
Hello

Please post last errors from AbanteCart error log

Offline Karlos

  • Newbie
  • *
  • Posts: 42
  • Karma: +4/-0
    • View Profile
Re: critical error
« Reply #2 on: January 26, 2015, 02:11:26 PM »
Hi Basara,

Error report below:

2015-01-26 18:57:53 - database error:  AbanteCart core v.1.1.9 Error: Can't DROP 'ac_languages_index'; check that column/key exists<br />Error No: 1091<br />
ALTER TABLE `tyx_languages`
  DROP INDEX ac_languages_index,
  ADD UNIQUE INDEX ac_languages_idx (language_id,code);
 in <b>/home/twinspec/public_html/sunpools.co.uk/core/database/mysql.php</b> on line <b>114</b>

Does this mean anything to you ?

Thanks

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5814
  • Karma: +274/-2
    • View Profile
Re: critical error
« Reply #3 on: January 27, 2015, 12:18:26 AM »
Hi Basara,

Error report below:

2015-01-26 18:57:53 - database error:  AbanteCart core v.1.1.9 Error: Can't DROP 'ac_languages_index'; check that column/key exists<br />Error No: 1091<br />
ALTER TABLE `tyx_languages`
  DROP INDEX ac_languages_index,
  ADD UNIQUE INDEX ac_languages_idx (language_id,code);
 in <b>/home/twinspec/public_html/sunpools.co.uk/core/database/mysql.php</b> on line <b>114</b>

Does this mean anything to you ?

Thanks

Hi.
Yes this mean something wrong with your database.
Did you modify something in core files?
Anyway please run table repair in phpmyadmin (ask your hosting provider how to do that in your Cpanel)

Offline dls2004

  • Newbie
  • *
  • Posts: 15
  • Karma: +7/-1
    • View Profile
Re: critical error
« Reply #4 on: January 27, 2015, 05:01:18 PM »
Hi Karlos,

Check your index values in MyPHPAdmin (CPanel) for table tyx_languages. It may be that your index for table tyx_languages is not ac_languages_index but might be tyx_languages_index. This would cause that line of the script upgrade.sql to fail.

you may need to rename the index.

Offline Karlos

  • Newbie
  • *
  • Posts: 42
  • Karma: +4/-0
    • View Profile
Re: critical error
« Reply #5 on: January 27, 2015, 05:58:53 PM »
Hi Guys,

Thanks for your help. 

As I have only have a few products on the website at the moment , I have made a copy then deleted AbanteCart. I have now installed a new copy of 1.2  and this has loaded up with no problems.  Just got go through and set it all up again.....

Thanks again

 

Powered by SMFPacks Social Login Mod