Star plugins for Symfony - php

I use Symfony 1.4.12 .
If i install http://www.symfony-project.org/plugins/sfWidgetFormJqueryRatingPlugin or http://www.symfony-project.org/plugins/mpStarRatingPlugin
i have error:
You try to install a symfony 1.0 plugin.
Please read the help message of this task to know how to install a plugin for the current version of symfony.
previously without a problem i installed sfGuardDoctrinePlugin. How can i fix it?

It seems that the package was not updated. Did you tried to use the svn trunk version?

Related

Symfony 2.8 TinyMCE install bundle error

i am on symfony 2.8, and my php version is 5.5.9.
i'm trying to install TINYMCE bundle from composer. I used this command line:
php composer.phar require stfalcon/tinymce-bundle='1.0'
i had this message error:
i tried with v2.0 but same problem.
Have you an idea ?
Thank's a lot for your help.
It would seem that in your composer.json's config section you have platform requirements that conflict with the bundle.
https://getcomposer.org/doc/06-config.md#platform
You could try installing the requirements using the option --ignore-platform-reqs:
composer require stfalcon/tinymce-bundle --ignore-platform-reqs
composer install --ignore-platform-reqs
This will momentarily lift the specified platform requirements. Obviously if they are in place, because they are actually needed - and since they were put there deliberately, at least at some point they were - this might break things on production. So be careful and look at the above option first (updating or removing the platform requirements).
Have you tried either of these two commands:
composer.phar require stfalcon/tinymce-bundle='1.0'
composer require stfalcon/tinymce-bundle='1.0'
I'm not sure if it will make a difference, but it might.

How upgrade propel 1.6 to 1.7?

I have a project with Symfony 2.6.4 and Propel 1.6.6-dev. I want upgrade propel to 1.7, How I do? In the official documentation I don't see how upgrade it.
I am using Composer.
I am getting this error when I run composer update:
The .git directory is missing from /vendor/pkpass/pkpass, see getcomposer.org/commit-deps for more information
git clone git://github.com/propelorm/Propel lib/propel

symfony 2 sylius bundle lost (TranslationBundle )

I try to install Sylius ResourceBundle on my project but when i run my symfony project, i get this error :
Class 'Sylius\Bundle\TranslationBundle\DependencyInjection\AbstractTranslationExtension' not found
I can't find Sylius TranslationBundle .
How can i fix it ?
There is a bug in version 0.13. You probably want to use version 0.12 until the new one is more stable. Otherwise install the edge version (replace "~0.13.*" with "dev-master" in your composer.json file) and hope for the best.
This is fixed in the 0.14#dev.

Is it possible to install Doctrine without PEAR or Composer? If so, how?

My hosting provider doesn't allow using Composer or PEAR. Doctrine manual doesn't mention any other way of installing it.
How do I install Doctrine without using PEAR or Composer?
You can visit this page https://github.com/doctrine/doctrine2 and then Download ZIP at the right side of the page. Additional Doctrine related stuff can be found here https://github.com/doctrine and here https://github.com/l3pp4rd/DoctrineExtensions
EDIT: you can also install your vendors with composer locally and upload your vendor folder with your app when you have a production ready version.
You can use PEAR to install the packages locally and then ftp/scp it up to your host: http://pear.php.net/manual/en/installation.shared.php
This way you can use PEAR locally and don't need it on your server.

How to install SonataAdminBundle on Wamp?

I am try to install Sonata Admin Bundle on WAMP . To begin, add the dependent bundles to the vendor/bundles directory. Add the following lines to the file deps.
[SonatajQueryBundle]
git=http://github.com/sonata-project/SonatajQueryBundle.git
target=/bundles/Sonata/jQueryBundle
[SonataUserBundle]
git=http://github.com/sonata-project/SonataUserBundle.git
target=/bundles/Sonata/UserBundle
[SonataAdminBundle]
git=http://github.com/sonata-project/SonataAdminBundle.git
target=/bundles/Sonata/AdminBundle
[KnpMenuBundle]
git=https://github.com/KnpLabs/KnpMenuBundle.git
target=/bundles/Knp/Bundle/MenuBundle
[KnpMenu]
git=https://github.com/KnpLabs/KnpMenu.git
target=/knp/menu
[SonataDoctrineORMAdminBundle]
git=http://github.com/sonata-project/SonataDoctrineORMAdminBundle.git
target=/bundles/Sonata/DoctrineORMAdminBundle
Now problem in install these bundle in vendor. I run this commend php bin/vendors install but it's show Try to run ./bin/vendors install --reinstall
Is there something wrong with my Bundle. I am really not sure what to do about this. Please help.
I appreciate all the help.
Thanks!
You might be using incompatible versions of Symfony and SonataAdminBundle.
Also, you might be missing SonataBlockBundle and SonataCacheBundle which are required with the latest versions of SonataAdminBundle (have a look at the SonataAdmin installation reference). Symfony, SonataAdminBundle and Doctrine2 only work together in specific combinations.
Suggestion: Try the relevant instructions in this tutorial, or better yet, clone this repository and configure it according to the instructions.
You'll have a working install, to which you can then add your existing bundle.

Categories