If truffle compile or truffle migrate hangs, try to run rm -rf build/ in your project directory, or in Windows delete "build" directory manually.
четверг, 27 декабря 2018 г.
четверг, 20 декабря 2018 г.
[Payum] GetHttpRequest is empty fix
It because you call it wrong:
$details = $this->gateway->execute(new GetHttpRequest());
you should do it correctly as below:$this->gateway->execute($details = new GetHttpRequest());
среда, 19 декабря 2018 г.
invalid user: ‘vagrant:vagrant’ fix
This means you don't have such user in guest OS. Check also `override.ssh.username` in machine Vagrantfile
вторник, 18 декабря 2018 г.
PHP + Mongodb Invalid type specified "object" how to fix
Add to your bundle class in build() method: Type::addType('object', 'Payum\Bridge\Doctrine\Types\ObjectType');
For example:
For example:
<?php namespace Acme\PaymentBundle; use Doctrine\ODM\MongoDB\Types\Type; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; class AcmePaymentBundle extends Bundle { public function build(ContainerBuilder $container) { Type::addType('object', 'Payum\Bridge\Doctrine\Types\ObjectType'); } }This error also occurs if you trying to add mongodb token storage to Payum payment system.
понедельник, 17 декабря 2018 г.
How to copy class FQCN in Phpstorm
To copy name full name, set cursor to class declaration and press Ctrl-Shift-Alt-C.
вторник, 11 декабря 2018 г.
How to install omnipay-bridge & omnipay-neteller to payum
If you have problems with installing omnipay bridge to symfony 3.4, try these aliases in root composer.json in 'require' scope:
"omnipay/common": "3.0.2 as 2.5.2",
"payum/omnipay-bridge": "1.2.5 as 1.2.4"
"omnipay/common": "3.0.2 as 2.5.2",
"payum/omnipay-bridge": "1.2.5 as 1.2.4"
среда, 5 декабря 2018 г.
[KDE] numpad digits not working how to fix
Find in launcher for "Keyboard" control window, in tab "advanced" in "moscellaneous compatibity options" group set ticks for "default numeric keypad keys" and "Num Lock on: digits; Shift for arrow keys. Num Lock off: arrow keys (as in Windows)".
If it doesn't work, find "Mouse" control window, in tab "keyboard navigation" remove checkbox for "move pointer with keyboard".
KDE plasma version 5.12.6, Kubuntu 18.04
If it doesn't work, find "Mouse" control window, in tab "keyboard navigation" remove checkbox for "move pointer with keyboard".
KDE plasma version 5.12.6, Kubuntu 18.04
воскресенье, 2 декабря 2018 г.
AWS after destroying instance creates it again fix
When you cannot stop and destroy instance and something creates them again, remove autoscaling group/configuration from menu on the left.
The issue appears after using ecs-cli utility and creating EC2 clusters.
The issue appears after using ecs-cli utility and creating EC2 clusters.
Подписаться на:
Сообщения (Atom)