-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal after sylius/console sylius:install --fixtures #32
Comments
+1 |
Do you have |
My locale is "en". Intl isn't installed. php -m [Zend Modules] |
Got the same problem with |
@ekyna: it's likely that your installed ICU version doesn't match the version in the Locale component. This won't be properly fixed until symfony 2.3 which will support multiple ICU data files (not sure how) to match various ICU versions. A quick fix is to go into
NOTE: just use the major and minor version like 4.2 (not 4.2.1) then go into and run:
you can discover your ICU version by running:
|
Thanks @jrobeson - most probably that's the issue. |
i had the same problem and i didn't find any solution, if someone can give me the database generated with the command sylius:install --fixtures (sql file) |
@amitris : i just gave the solution. |
Thank you @jrobeson. |
On OSX I can't have icu-config installed? Any suggestion? brew install icu4c Conflicts; see: https://github.com/mxcl/homebrew/issues/issue/167 Generally there are no consequences of this for you. If you build your
==> Summary No icu-config and still the same error as above |
@antonellopasella This probably isn't the instant fix you're looking for, but on Mac it has made my life much easier to use Vagrant (and automated provisioning if you can find it; I've got a poorly documented Sylius repo you can try: https://github.com/Eponymi/sylius-sys). If nothing else, Vagrant affords you the ability to use a Linux package manager instead of Homebrew, which has caused me all kinds of headaches in the past. |
How great is the requirement for lib-icu? I have had trouble installing Sylius on shared hosting because they don't have icu installed. I know GoDaddy isn't a very good host but I would think someone would want to set up a small store using shared hosting such as GoDaddy. It doesn't have icu installed and doesn't even have make. There might be some way to get it installed but it would not be easy for someone who doesn't have lots of experience with linux. Also I have BlueHost and had to manually install php lib-icu using pecl. It had icu installed but it is only version 4.2.1. I haven't tried the above method to change the version needed yet since at the time I hadn't found this thread. I'm sure the international features are used in tons of places in Sylius and it would be hard to bypass them. Maybe the aim of Sylius is for larger businesses who would have their own servers or use vps hosting but it would be nice to install Sylius on any server and have it work. Is there any way for Sylius to not need lib-icu, especially if there are no plans for creating an international store? I have found it very inconvenient to get it working on shared hosting due to the requirement for lib-icu. Maybe I have not been looking at very good web hosts. What do you guys think and is there any way to address this? Sorry if this is not the best place to ask this but Google Groups and StackOverflow don't seem very active. I know you guys are trying to focus on writing code so feel free to ignore this if it is too specific to address but I would like to be able to use Sylius for some of my projects and would like to see Sylius usable by anyone and not force people to pay for more expensive hosting just for this feature. |
Maybe I started assuming too much. I found http://symfony.com/doc/current/components/intl.html which seems to indicate that you can require a certain version of symfony/icu to deal with servers with icu <= 4.2 and servers without the intl extension installed. Idk if I'm on the right track but I'll try it. |
@OzzieOrca It would be nice to use Symfony (and, by extension, Sylius) on popular shared hosting providers. But that is dependent on the hosts providing the requisite software to run Symfony (many have outdated versions of PHP itself, or, as you've seen, extensions of PHP). Right now, many shared hosts seem hesitant to offer that required software. I'd recommend using a host where you can provision your own servers. You can get an AWS micro EC2 instance for free for a year. Granted, it is not optimal for running Symfony, but you can make it work. After a year, hopefully the principal of your web store will have VPS in their budget. |
I got it to work on Bluehost finally. Here's what I did if anyone has the same problem: But ya you have a valid point about web stores should be generating enough revenue to pay for a good VPS server. |
add check if cart exists without creating a new one
add check if cart exists without creating a new one
I think we can close this. We should be more clear about the ICU/Intl requirement. |
[CJMAX-29] Payment list page integration + Paypal configuration
After sylius/console sylius:install --fixtures
get an error:
...
13:32:52 [file+] /home/andrey/sandbox/sylius.loc/sylius/sylius/../web/assets/compiled/backend_backend_3.css
13:32:52 [file+] /home/andrey/sandbox/sylius.loc/sylius/sylius/../web/js/b7d7eda.js
13:32:52 [file+] /home/andrey/sandbox/sylius.loc/sylius/sylius/../web/js/b7d7eda_sylius-property-choices_1.js
Careful, database will be purged. Do you want to continue Y/N ?Y
After going to hyttp://sylius.loc/ got blank page. Turning on errors_reporing in index.php changes nothing.
andrey@z11:~/sandbox/sylius.loc/sylius$ php -v
PHP 5.4.6-1ubuntu1.2 (cli) (built: Mar 11 2013 14:57:54)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
The text was updated successfully, but these errors were encountered: