Small issues in the upgrade process. #2

Closed
opened 2017-04-26 13:35:31 -05:00 by SeeTwoDev · 8 comments
SeeTwoDev commented 2017-04-26 13:35:31 -05:00 (Migrated from github.com)

There's a random 'false' in the logs

And 3 inserts that failed :
[WARNING] SQL 1.0.1
1054 in INSERT INTO tb_hook (hook_name, title) VALUES ('actionRegisterAutoloader', 'actionRegisterAutoloader'): Unknown column 'hook_name' in 'field list'

[WARNING] SQL 1.0.1
1054 in INSERT INTO tb_hook (hook_name, title) VALUES ('actionRegisterErrorHandlers', 'actionRegisterErrorHandlers'): Unknown column 'hook_name' in 'field list'

[WARNING] SQL 1.0.1
1054 in INSERT INTO tb_hook (hook_name, title) VALUES ('actionRetrieveCurrencyRates', 'actionRetrieveCurrencyRates'): Unknown column 'hook_name' in 'field list'

There's a random 'false' in the logs And 3 inserts that failed : [WARNING] SQL 1.0.1 1054 in INSERT INTO `tb_hook` (`hook_name`, `title`) VALUES ('actionRegisterAutoloader', 'actionRegisterAutoloader'): Unknown column 'hook_name' in 'field list' [WARNING] SQL 1.0.1 1054 in INSERT INTO `tb_hook` (`hook_name`, `title`) VALUES ('actionRegisterErrorHandlers', 'actionRegisterErrorHandlers'): Unknown column 'hook_name' in 'field list' [WARNING] SQL 1.0.1 1054 in INSERT INTO `tb_hook` (`hook_name`, `title`) VALUES ('actionRetrieveCurrencyRates', 'actionRetrieveCurrencyRates'): Unknown column 'hook_name' in 'field list'
SeeTwoDev commented 2017-04-26 14:53:21 -05:00 (Migrated from github.com)

Tried adding them manually...successfully

But i'm having this issue while trying to see the module list : [PrestaShop] Fatal error in module file var/www/vdf.c2/public/modules/fixerio/fixerio.php:
Class FixerIo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (CurrencyRateModuleCore::hookActionRetrieveCurrencyRates)

Tried adding them manually...successfully But i'm having this issue while trying to see the module list : [PrestaShop] Fatal error in module file var/www/vdf.c2/public/modules/fixerio/fixerio.php: Class FixerIo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (CurrencyRateModuleCore::hookActionRetrieveCurrencyRates)
firstred commented 2017-04-26 15:07:07 -05:00 (Migrated from github.com)

Hmmz, we had to break compatibility for Currency modules ( see the apologies in the phpdoc comments 😛 ). I think this causes it. We should update the currency module files before upgrading the rest it seems.

Hmmz, we had to break compatibility for Currency modules ( see the apologies in the phpdoc comments :stuck_out_tongue: ). I think this causes it. We should update the currency module files before upgrading the rest it seems.
firstred commented 2017-04-26 15:07:44 -05:00 (Migrated from github.com)

hook_name. That is indeed incorrect. Should be name. Thanks!

`hook_name`. That is indeed incorrect. Should be `name`. Thanks!
SeeTwoDev commented 2017-04-26 15:11:16 -05:00 (Migrated from github.com)

Think it will be fixed by tomorrow?

Think it will be fixed by tomorrow?
firstred commented 2017-04-26 15:12:30 -05:00 (Migrated from github.com)

Both can be fixed by updating the packages that are downloaded from the API, so will be fixed in a minute.

Both can be fixed by updating the packages that are downloaded from the API, so will be fixed in a minute.
firstred commented 2017-04-26 15:13:58 -05:00 (Migrated from github.com)
Here's the repo: https://github.com/thirtybees/patchscripts
SeeTwoDev commented 2017-04-26 15:16:43 -05:00 (Migrated from github.com)

You put hook, title instead of name, title btw

You put `hook`, `title` instead of `name`, `title` btw
firstred commented 2017-04-26 15:21:10 -05:00 (Migrated from github.com)

Yeah, that wouldn't fix it. Thanks!

Yeah, that wouldn't fix it. Thanks!
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-thirtybees/tbupdater#2
No description provided.