It is only one of the way. If you want to convert field to another type, you can fix it with changing values length in the database, according to your changes length.
вторник, 21 июня 2016 г.
понедельник, 20 июня 2016 г.
Change CKeditor height in Symfony
add theres rows in \egeloen\ckeditor-bundle\Resources\views\Form\ckeditor_widget.html.twig:
<script type='text/javascript'> CKEDITOR.config.height = 700; </script>And don't forget to php app/console assets:install --symlink && php app/console assetic:dump && php app/console cache:clear
суббота, 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)
[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
пятница, 29 апреля 2016 г.
'lexik\Bundle\TranslationBundle\LexikTranslationBundle' not found
It solves by changing from 4.0 version to 2.0 by the string in "composer.json":
"lexik/translation-bundle": "~2.0"
Подписаться на:
Сообщения (Atom)