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)
Related
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 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.
I have just installed plone on debian squeeze without problems. I am trying to start with "plone /usr/local/Plone/zeocluster/bin/plonectl start" and I receive Command not found.
Are there any paths I need to export? "which plone" gives me nothing.
Did I miss something?
You don't need the "plone" at the beginning of your command, but you probably do need "sudo".
Try sudo /usr/local/Plone/zeocluster/bin/plonectl start
Because Plone is a server built with Python, there is no special plone command.
Presumably you used the Plone Unified installer, creating a ZEO installation. Because it was installed in /user/local/Plone I am also assuming you installed it as root.
Information on how to run Plone after installation is found on the Installation Quick Guide (under "Last steps"); you simply run the command ./bin/plonectl start, or, with your full path: /usr/local/Plone/zeocluster/bin/plonectl start.
If you are not logged in as root still, you'll need to run that command with sudo; the server will automatically switch to the dedicated plone user installed by the Unified Installer.
I am new to Plone and I am having trouble understanding how to install addons. I have read the documentation provided on their site, but I am still a bit confused.
The addon that I am trying to install is http://plone.org/products/uwosh.timeslot.
In the documentation, I see them using a something like cmd.exe, but I am not really sure what it is. Is it the python.exe located in the python folder?
Also, I am not clear if the addon that I wish to install is in an "egg" form.
Could someone please provide me with a detailed process for installation?
Thank you.
http://plone.org/documentation/kb/installing-add-ons-quick-how-to
Find, then edit your buildout.cfg file per instructions above to add the uwosh.timeslot egg.
Re-run bin/buildout (or bin\buildout on windows) from the main plone directory on the command-line (do not run from the bin directory as your current working directory).
Answering your other questions:
Yes, packages listed on PyPI.python.org are "eggs" in the sense that you install them as eggs in buildout, not classic "Products".
cmd.exe is MS Windows command-line, assuming you are using Windows, not Unix.
This is only useful if you know where your Plone installation is located on disk -- you should.
After awhile of consideration of choosing framework I started up with Symfony.While installation I try to fix of all t he recommended request until it left with ..
Welcome to your new Symfony project.
This script will guide you through the
basic configuration of your project.
You can also do the same by editing
the ‘app/config/parameters.ini’ file
directly.
Links at below
Configure your Symfony Application online
Bypass configuration and go to the Welcome
page Re-check configuration
So I try to choose "Bypass configuration and go to the Welcome page" and I get ugly page with all errors. With all "Notice require() bla bla" What should I do ??
require() notices are usually either missing files or file permission errors. Make sure you downloaded Symfony2 with vendors if this is your first time.
Try running the app/check.php script to make sure that all the requirements that Symfony2 has are set up correctly. Common problems:
app/cache and app/logs need to be writeable by the web server user. The simple (and bad) way to deal with this is to run chmod -R a+rwX app/cache app/logs
Symfony2 requires the intl PHP extension. You can usually install it with something like apt-get install php5-intl or yum install php5-intl
You must be running PHP 5.3.4 or newer