I have a project installed on my windows , and today i need to install on a Ubuntu server. The project is saved on an svn sever. so i just use co to check out the project and update all the vendor bundles. all is ok when is get to the web/config.php:
To enhance your Symfony experience, it’s recommended that you fix the following :
Install and enable the intl extension.
Set short_open_tag to off in php.ini*.
* Changes to the php.ini file must be done in "/home/siteadm/common/php/Perso.ini".
so when i click 'go to the welcome page',i got :
AnnotationException: [Semantical Error] The annotation "#EWZ\bundle\RecaptchaBundle\Validator\Constraints\True" in property Acme\...\User::$recaptcha does not exist, or could not be auto-loaded.
in fact it works well on my locale. The userbunle usring recapchaBundle and FOSUserbundle, they all works well on my local windows machine.
i check the /vendor directory: they are 755
Windows is not case sensitive. Linux is.
Maybe you should use
#EWZ\ Bundle \RecaptchaBundle\Validator\Constraints\True
instead of
#EWZ\ bundle \RecaptchaBundle\Validator\Constraints\Tru3
?
It's very common mistake.
Related
Symfony Profiler tell me this deprectation message : Please install the "intl" PHP extension for best performance.
I enabled intl extension in my php.ini file and it appears in phpinfo, but the deprectation message still appears in Symfony.
I'm using XAMPP server on Windows 10.
Any idea to fix this problem ?
I don't understand precisely why but this fixed my problem : i updated the Symfony Intl package (from 5.0.4 to 5.0.7) inside my project and the message disappeared.
I am new in Symfony and dont know how to install Symfony on my Xamp server. In symfony webm, when i want to download it, Through this command c:> php -r "readfile('http://symfony.com/installer');" > symfony`
then Access denied is occur on my cmd.
I am also beginner to symfony and had a same problem.
I think you also need to install composer first to make it working. I download the composer from https://getcomposer.org/download/ and then installed it. After that the symfony installer command worked for me. Try it and Good luck.
I just had a similar problem, it was not allowing me to download the symfony file (and displaying "Access denied") because I had a folder named Symfony. Renaming the folder solved the project problem.
Probably you do not have write access to your c:\ directory - it is default settings on Windows 7, 8, ....
Create some folder (for ex. c:\symfony_project) and try readfile('http://symfony.com/installer');" > symfony in that folder
For those who are still facing the problem, here how I solved mine. First you have to open XAMPP as administrator by clicking right click on XAMPP make sure its closed first after opening it as admin enable Apache and mysql then open shell, then head to htdocs and make sure there is composure installed and then paste the installing of symfony there. I hope it works after that.
I have a problem with symfony2.3, today I have this error message : "PDoException could not find driver" while yesterday everything worked perfectly.
When I run this command line : php app/check.php All is ok :
OK PDO should be installed
OK PDO should have some drivers installed (currently available: sqlite)
In my file parameters.yml all is correctly.
I do not understand why it worked yesterday and today I have this error.
Best regards,
First of all, verify your php.ini file: the extensions (php_pdo_pgsql or php_pdo_mysql) and php_pdo must be enabled. Make sure you apply this changes on php.ini file that your symfony project is using, check this on localhost/path_to_your_project/web/config.php. You know if this extensions are enabled executing the function phpinfo().
This command is also helpfull: php -m. It lists on console all the php modules that are loaded.
Tip: check out you Apache error log, there could be something wrong with the load of your extensions. This file is located according to your server configuration.
I got this message
Site error: the file /home/content/xx/xxxxxxxx/html/admin/application/controllers/DashboardController.class.php requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation."
before and after installing ioncube. I think T've done installation correctly. I use Godaddy with PHP5.3
Any advice?
You will need to install ionCube on your shared hosting account. You can use the Wizard to do so. http://www.ioncube.com/loaders.php
You will need to use the x86 and not the x86_64 versions of the ionCube loader.
Once you have this installed you will need to update your php5.ini file. You will want to use the following format in your php5.ini file:
zend_extension = /var/chroot/home/content/XX/XXXXXXX/html/ioncube/ioncube_loader_lin_5.3.so
The "xx" and "xxxxxxx" will be the same as are shown in your error.
After this change is made you will need to allow some time for the current PHP processes to die and restart before this change will register.
ioncube_loader_lin_5.3.so needs to be installed by the server admin. Contact GoDaddy support.
I'm using Plone 4.1.4. I added the Ploneboard product in my buildout. Everything work as expected, save the translations for Ploneboard; the product is stuck in english, even as everything else is in french. I do see all the .po file in the /buildout-cache/eggs/Products.Ploneboard-3.2-py2.6.egg/Products/Ploneboard/i18n/ directory.
Does the translation system changed in Plone 4.x ? Must we configure something else ?
Best,
Christian
You may have a problem with folder permissions, and Plone may not be able to compile the translations at startup.
You can start your Plone instance in fg mode (./instance fg) and look if there's any WARNING message related to ploneboard i18n folder.
If this is a folder permission issue, try to stop your instance and run this command:
chown -R plone:root <installation_dir>/buildout-cache/eggs
Reference: Fixing common Plone errors (Fix the translation compilation warnings at Zope / Plone start)