Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Upgrade failed  (Read 6260 times)

Offline astiling

  • Newbie
  • *
  • Posts: 19
  • Karma: +2/-1
    • View Profile
Upgrade failed
« on: March 04, 2014, 06:17:08 PM »
Hi - I clicked the link to do the site upgrade and now have an error message when I go to the admin page.

page: http://www.stylosports.com/index.php?s=Administrator
error:Fatal error: Call to a member function replaceDescriptions() on a non-object in /home/stylospo/public_html/admin/model/localisation/language_definitions.php on line 50

Do you have an idea what I need to do to get this working again?

Thanks
Adam

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Upgrade failed
« Reply #1 on: March 05, 2014, 04:19:53 AM »
1. download file http://sourceforge.net/projects/abantecart/files/abantecart_1.1.8_upgrade_only.tar.gz/download and unpack.
2. replace your files by files from folder "code"
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline astiling

  • Newbie
  • *
  • Posts: 19
  • Karma: +2/-1
    • View Profile
Re: Upgrade failed
« Reply #2 on: March 05, 2014, 06:30:39 PM »
Hi - thanks.

Files replaced but now the start page on the site www.stylosports.com just displays an AbanteCart error message.

I can log in to the admin page and that seems OK except the "system" tab goes to an error page if clicked but the "sub" System menu options do work.

Any further suggestions appreciated.

Thanks
Adam

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5798
  • Karma: +274/-2
    • View Profile
Re: Upgrade failed
« Reply #3 on: March 06, 2014, 03:38:12 AM »
Hello. Please try to run manual update

Also please check your AbanteCart error log and post last errors here

Offline astiling

  • Newbie
  • *
  • Posts: 19
  • Karma: +2/-1
    • View Profile
Re: Upgrade failed
« Reply #4 on: March 06, 2014, 06:22:35 PM »
OK - some progress :-)

Ran the file copy a few times as it looked like my ftp client was misbehaving.
loaded the SQL after changing the prefix - ran that with no errors - some rows updated and some not so all seemed OK

The admin site now seems fine in all areas aside from 2 extensions which show errors but I don't use those ones.

When I try and load the main site website www.stylosports.com I get an error page:

http://www.stylosports.com/static_pages/index.php

In the log I can see that it looks like a select which includes a field that doesn't exist:

2014-03-06 22:34:57 - database error:  AbanteCart core v.1.1.3 Error: Unknown column 'tr.rate_prefix' in 'field list'<br />Error No: 1054<br />SELECT tr.tax_class_id,
                     tr.rate AS rate, tr.rate_prefix AS rate_prefix,

this is on ab_taxrates which doesn't have a field called rate_prefix

I checked in the upgrade.sql and this field isn't created as part of the install????

Adam

Offline astiling

  • Newbie
  • *
  • Posts: 19
  • Karma: +2/-1
    • View Profile
Re: Upgrade failed
« Reply #5 on: March 06, 2014, 06:55:10 PM »
OK - so I fixed that one but then another DB issue. I guess I must have missed some upgrade versions - surely the auto update would have checked that and told me when I ran it from the website???

So I guess I need to do some DB and file restores to whatever I had then go through each step upgrade....


Offline astiling

  • Newbie
  • *
  • Posts: 19
  • Karma: +2/-1
    • View Profile
Re: Upgrade failed
« Reply #6 on: March 06, 2014, 07:47:21 PM »
OK - all upgrades done manually and site is back up again!

Only issue seems to be that the SW thinks it is still v1.1.3??? as shown on the admin page login screen: 

http://www.stylosports.com/index.php?s=Administrator

Anything I missed or need to do to correct this?

gordontaylor

  • Guest
Re: Upgrade failed
« Reply #7 on: March 06, 2014, 07:51:50 PM »
I see the same thing, the older version, but it is 1.1.8  Don't know why it shows that, probably missed a line of code some where...This is a huge script...the main CSS is over 8,600 lines of code alone! (on my editor)

But, I love the way it's done and I'm sure along the way some housekeeping will be done.

 

Powered by SMFPacks Social Login Mod