суббота, 28 мая 2016 г.

Windows 10 Mail with Zoho.com gets 0x80072726 error

You should use IMAP with receiving server imappro.zoho.com instead of poppro.zoho.com

понедельник, 9 мая 2016 г.

undefined method named "setFormTheme" in SonataAdminBundle

Your class needs to be extended like this:

class CategoryAdmin extends Admin{

}

четверг, 5 мая 2016 г.

Symfony {urn:oasis:names:tc:xliff:documen t:1.2}br not expected

You can get the same error like me:
[Symfony\Component\Translation\Exception\InvalidResourceException]
  Invalid resource provided: "1.2"; Errors: [ERROR 1871] Element '{urn:oasis:names:tc:xliff:documen
  t:1.2}br': This element is not expected. Expected is one of ( {urn:oasis:names:tc:xliff:document:
  1.2}g, {urn:oasis:names:tc:xliff:document:1.2}bpt, {urn:oasis:names:tc:xliff:document:1.2}ept, {u
  rn:oasis:names:tc:xliff:document:1.2}ph, {urn:oasis:names:tc:xliff:document:1.2}it, {urn:oasis:na
  mes:tc:xliff:document:1.2}mrk, {urn:oasis:names:tc:xliff:document:1.2}x, {urn:oasis:names:tc:xlif
  f:document:1.2}bx, {urn:oasis:names:tc:xliff:document:1.2}ex ). (in /var/www/rgk.lv/rgk-symfony/
  - line 12, column 0)
It solves by adding string in composer.json:
"geschke/translator-gui-bundle": "dev-master"

And doing composer update

понедельник, 2 мая 2016 г.

RouteNotFoundException "lexik_translation_new" as such route does not exist

Do not forget make changes in files:
  • *.html.twig
  • Config/routing/routing.yml
  • Config/routing/app.yml

Especially in the second, do not forget to add there these lines:

lexik_translation_edition:    resource: "@LexikTranslationBundle/Resources/config/routing.yml"    prefix: /translations/grid