This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » eZ Publish 5 Platform » Strange error when performing...
expandshrink

Strange error when performing Installation using GIT and Composer

Strange error when performing Installation using GIT and Composer

Wednesday 28 May 2014 9:53:03 am - 3 replies

Hello,

I'm currently stuck on my second try to install eZ properly, this time cloning it directly from GIT and trying to install using Composer.

When I run

php -d memory_limit=-1 composer.phar update --prefer-dist

, everything works fine at first, downloading some things, but after it wanted me to reset the default setup in parameters.yml (I left everything default), I get the following error, either when running the install command or if I try to access the website using my browser:

"Fatal error: Class 'eZ\Bundle\EzPublishCoreBundle\Kernel' not found in C:\xampp\htdocs\ezpublish\ezpublish-community\ezpublish\EzPublishKernel.php on line 37"

I have absolutely no Idea what this could be again... sad.gif Emoticon

Modified on Wednesday 28 May 2014 11:42:00 am by Thibaud Bloomfield

Wednesday 28 May 2014 11:01:58 am

Hi Thibaud

It seems that for some reason Composer didn't install ezpublish-kernel. Are you sure it's present in your composer.json ? If so, remove composer.lock and the whole vendor directory, and try again.

Wednesday 28 May 2014 1:15:37 pm

Hey Jérôme, thanks for your support!

Deleting the vendor directory did not help directly, but I was able to get further with a complete deletion of the git-created folder and a second cloning. I think the kernel components had some problems at the initial download thad didn't occur at the second try.

But now I have another problem. The installer continues and clears all cahce, but then I get the following error:

"The symlink() function is not available on your system. You need to install the assets without the --symlink option."

Is it safe to continue and manually execute the symlink commands stated here: https://github.com/ezsystems/ezpublish-community/blob/master/INSTALL.md ?

Thursday 29 May 2014 12:48:16 am

So, you run a old windows server something?

You can get further by using the copy option. use --help on the commands and you can usually get some info on these options and alternatives. But in this case you can just drop the --symlink parameter and it will afaik copy.
However (if it works for all the scripts) it is better if you just edit composer.json and change:

"symfony-assets-install": "relative",
to

 

"symfony-assets-install": "hard",

 

Or remove the line might be more correct, as I'm by now unsure if hard means hardlink (does not exists on windows afaik) or a copy.

Modified on Thursday 29 May 2014 12:48:55 am by André R

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from