-
Posts
114 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Posts posted by Pilou
-
-
Yes, thank you.
It was wrong..
-
Hi datakick,
Thanks a lot, it finaly works.
I made a test order and the result in my BO and in the customer account is "Awaiting payment by bank check" in place of Payment accepted or something like that.
Where can I correct this please ?
Kind regards,
Pilou -
Hi,
I tried to migrate a Ps 1.6.24 to Tb 1.4 Bleeding Edge
The migration worked perfectly.
Now, I wanted to install Mollie module payment.
Install ok, first config ok and then if I choose to configure it again, I have a 500 error
With Debug mode ON, I have this
Error Class 'AttributeCore' not found in file /home/*****/public_html/_thirtybees/modules/mollie/src/Builder/FormBuilder.php at line 420 Source file: /home/*****/public_html/_thirtybees/modules/mollie/src/Builder/FormBuilder.php 401: $input[] = [ 402: 'type' => 'mollie-methods', 403: 'name' => Config::METHODS_CONFIG, 404: 'paymentMethods' => $molliePaymentMethods, 405: 'countries' => $this->countryService->getActiveCountriesList(), 406: 'tab' => $generalSettings, 407: 'onlyOrderMethods' => array_merge(Config::KLARNA_PAYMENTS, ['voucher']), 408: 'displayErrors' => Configuration::get(Config::MOLLIE_DISPLAY_ERRORS), 409: 'methodDescription' => TagsUtility::ppTags( 410: $this->module->l('Click [1]here[/1] to read more about the differences between the Payment and Orders API.', self::FILE_NAME), 411: [ 412: $this->module->display($this->module->getPathUri(), 'views/templates/admin/mollie_method_info.tpl'), 413: ] 414: ), 415: 'showCustomLogo' => Configuration::get(Config::MOLLIE_SHOW_CUSTOM_LOGO), 416: 'customLogoUrl' => $this->creditCardLogoProvider->getLogoPathUri() . "?{$dateStamp}", 417: 'customLogoExist' => $this->creditCardLogoProvider->logoExists(), 418: 'voucherCategory' => Configuration::get(Config::MOLLIE_VOUCHER_CATEGORY), 419: 'categoryList' => \Category::getCategories($this->module->getContext()->language->id, true, false), 420: 'productAttributes' => Attribute::getAttributes($this->module->getContext()->language->id), 421: 'klarnaPayments' => Config::KLARNA_PAYMENTS, 422: 'klarnaStatuses' => [Config::MOLLIE_STATUS_KLARNA_AUTHORIZED, Config::MOLLIE_STATUS_KLARNA_SHIPPED], 423: ]; 424: 425: return $input; 426: } 427: 428: protected function getAdvancedSettingsSection() 429: { 430: $advancedSettings = 'advanced_settings';
Line 419 is in red..
Have an idea how to correct this please ?
Kind regards,
Pilou -
Yes.
I continue the testing. -
Hi toplakd,
Thank you for your answser, it was easy to fix it.
-
I did again the backup of my ps site.
Installed it in a sub folder thirtybees, make it operationnal (good db parameters, .htaccess).
And migrated it again.
Error message:
SQL 2.1.0.8 1064 in INSERT INTO `ps_configuration`(`name`, `value`, `date_add`, `date_upd`) SELECT 'TB_MAIL_SUBJECT_TEMPLATE', '[{shop_name}] {subject}', NOW(), NOW() WHERE ( SELECT COUNT(*) FROM `ps_configuration` WHERE `name` = 'TB_MAIL_SUBJECT_TEMPLATE' ) = 0: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE ( SELECT COUNT(*) FROM `ps_configuration` WHERE `name` = 'T...' at line 3
I activated the Debug mode and It displayed an error message:
Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV
Does anyone have an idea ?
Kind regards,
Pilou -
Hi Wartin,
Thanks for your answer.
I installed the module override check but there was no overrides.
-
Hi @yaniv14
Thanks for your answer.
Pack.php file exist.
And classes folder seems to be the same as the one in the repository.
-
Hello,
I just try to migrate fron Ps 1.6.1.26 (it's a community version with Php 7.4 support).
The migration worked fine, no error message.In FO, the home page is displayed correctly.
But when I wanted to see a product page, I have the error messsage "500 Server error"With Debug mode activated, the message is :
What is this error please ?
Can you help me please ?Kind regards,
Pilou -
Hi datakick,
Thanks for your answer, I just reported it !
-
Hi all,
I received a mail from Paygreen which tell me to upgrade the module to last version (v2.7.1)
In BO, all seems ok, I can save product modification.
But in front, when I click 'next' after choosing the delivery option, I have this error message:
Argument 1 passed to PGDomainServicesManagersProductManager::isEligibleProduct() must be an instance of PGDomainInterfacesEntitiesProductInterface, null given, called in /home/mandcdhp/public_html/gigapc/modules/paygreen/bundles/PGDomain/Services/Managers/ButtonManager.php on line 128 in file modules/paygreen/bundles/PGDomain/Services/Managers/ProductManager.php at line 43 Source file: modules/paygreen/bundles/PGDomain/Services/Managers/ProductManager.php 24: * @package PGDomain\Services\Managers 25: * @method PGDomainInterfacesRepositoriesProductRepositoryInterface getRepository() 26: */ 27:class PGDomainServicesManagersProductManager extends PGFrameworkFoundationsAbstractManager 28:{ 29: /** 30: * @param int $id 31: * @return PGDomainInterfacesEntitiesProductInterface|null 32: */ 33: public function getByPrimary($id) 34: { 35: return $this->getRepository()->findByPrimary($id); 36: } 37: 38: /** 39: * @param PGDomainInterfacesEntitiesProductInterface $product 40: * @package string $type 41: * @return bool 42: */ 43: public function isEligibleProduct(PGDomainInterfacesEntitiesProductInterface $product, $type) 44: { 45: /** @var PGDomainServicesManagersCategoryHasPaymentTypeManager $categoryPaymentManager */ 46: $categoryPaymentManager = $this->getService('manager.category_has_payment_type'); 47: 48: /** @var PGDomainInterfacesEntitiesCategoryInterface[] $categories */ 49: $categories = $product->getCategories(); 50: 51: $is_eligible = false; 52: 53: /** @var PGDomainInterfacesEntitiesCategoryInterface $category */
Of course, if I uninstall the Paygreen module, I can go next to payment option.
What can I do please ?
Kind regards,
Pilou -
Once again, you are the best !
Thanks you Petr 😉 -
Hey @datakick
Paygreen updated their module to v2.6.3 and the same problem came back... (can't save product modification).
I modified the file /modules/paygreen/bundles/PGFramework/Services/Autoloader.php as you mentionned before and it works.
But I hope I do not make mistakes, so I attached the module to this post.
If you have time to take a look at it 😉
Kind regards -
YES ! It seems to work.
You're great Petr, thanks a lot. 🙂 -
Hi Petr,
Thank you very much for your professional opinion.
Not being able to solve this bug alone, I will wait patiently for the reaction of Paygreen. -
-
Ok, quickly find...
After installing Tb, it was ok, I can save products.
Same after installing my theme.
Then installed payment modules, first Mollie, Ok, I can save products.
Second was Paygreen module (Ps module v2.5.5), once installed, impossible to save products...
I disabled it, no change.
I uninstalled it, then I can save products.
I reinstalled it, and ... impossible to save products.In Chrome console, I can see that: https://i.imgur.com/XQ9nntH.jpg
If I try to click on error lines and open it in another tab, it display the page but without admin theme (as old html page).If a good guy have an idea, I will be very happy
-
Thanks Slick_303, I wiill do backups 😉
-
15 hours ago, Mark said:
PS/ TB is complex and trying to do something large, so Ive tried to cut slack, but I always get this "its your server" nonsense and there it ends, without any clue as to what this apparent issue with my server is. Things dont work when they did just days before with no server changes so I am pretty sure its an excuse to get rid of the complainant. I have a list of about 30 things that are frustrating, although there is a work around for most. However this one is terminal.
Ive also put things into github that started out promisingly but never got done properly and all issues I have reported still remain.
You're right.
I'm going to test a fresh install of Tb, install the theme I use and at last install the few modules I use, and may be I can reproduce the problem.
-
5 hours ago, Mark said:
I came to thirtybees because the attitude was stated as NOT being like Prestashop, that there was a commitment to fixing things.
Hello Mark,
I thought like you, but I see that many founders have already left the ship.
I am still in the testing phase, but I hesitate more and more to take the step... -
-
-
On Ps, I think it was customer favorite products.
-
Hi,
Has anyone ever tested the app PresMobic ?
It seems to be a module that create an web app for mobile access to your shop.
Ok, it's for Ps but I think it can also work with Tb.
Mollie module cause an error 500
in Module help
Posted
Hello,
I have another error with the Mollie module..
ThirtyBeesException Property OrderState->name is empty in file /home/***/public_html/_thirtybees/classes/ObjectModel.php at line 1143 Source file: /home/***/public_html/_thirtybees/classes/ObjectModel.php 1124: 1125: // If the object has not been loaded in multilanguage, then the value is the one for the current language of the object 1126: if (!is_array($values)) { 1127: $values = [$this->id_lang => $values]; 1128: } 1129: 1130: // The value for the default must always be set, so we put an empty string if it does not exists 1131: if (!isset($values[$idLangDefault])) { 1132: $values[$idLangDefault] = ''; 1133: } 1134: 1135: foreach ($values as $idLang => $value) { 1136: if (is_array($this->update_fields) && empty($this->update_fields[$field][$idLang])) { 1137: continue; 1138: } 1139: 1140: $message = $this->validateField($field, $value, $idLang); 1141: if ($message !== true) { 1142: if ($die) { 1143: throw new PrestaShopException($message); 1144: } 1145: 1146: return $errorReturn ? $message : false; 1147: } 1148: } 1149: } 1150: 1151: return true; 1152: } 1153: Stack trace 1. classes/ObjectModel.php:424 source ObjectModelCore->validateFieldsLang() 2. classes/ObjectModel.php:854 source ObjectModelCore->getFieldsLang() 3. modules/mollie/src/Service/SettingsSaveService.php:329 source ObjectModelCore->update() 4. modules/mollie/src/Service/SettingsSaveService.php:321 source Mollie\Service\SettingsSaveService->updateKlarnaStatuses(arguments) 5. modules/mollie/src/Service/SettingsSaveService.php:217 source Mollie\Service\SettingsSaveService->handleKlarnaInvoiceStatus() 6. modules/mollie/mollie.php:254 source Mollie\Service\SettingsSaveService->saveSettings(arguments) 7. controllers/admin/AdminModulesController.php:1660 source Mollie->getContent() 8. controllers/admin/AdminModulesController.php:1523 source AdminModulesControllerCore->postProcessCallback() 9. classes/controller/Controller.php:204 source AdminModulesControllerCore->postProcess() 10. classes/Dispatcher.php:861 source ControllerCore->run() 11. admin312vvy24f/index.php:58 source DispatcherCore->dispatch()
Can you help me once more please ?
Kind regards,
Pilou