Skip to content
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

V2 installation errors #1591

Closed
gerroon opened this issue Jan 19, 2016 · 4 comments
Closed

V2 installation errors #1591

gerroon opened this issue Jan 19, 2016 · 4 comments

Comments

@gerroon
Copy link

gerroon commented Jan 19, 2016

Hi

I am trying to install this on Debian Wheezy and getting bunch of errors I have no idea about ;(

php ./composer.phar install

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files

Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so: /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default
_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identif
ier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/wallabag_v2/vendor/hoa/core/Parameter.ph
p on line 158
Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so: /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default
_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identif
ier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/wallabag_v2/vendor/hoa/core/Parameter.ph
p on line 158

[Symfony\Component\Debug\Exception\ContextErrorException]

Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting o
r the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled th
e timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so: /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or direct
ory
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_de
fault_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezo
ne identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/wallabag_v2/vendor/hoa/co
re/Parameter.php on line 158

[Symfony\Component\Debug\Exception\ContextErrorException]                                                                                         


Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timez          

one setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most li
kely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

@j0k3r
Copy link
Member

j0k3r commented Jan 19, 2016

The error message say it all:

please set date.timezone to select your timezone.

You have to define the settings date.timezone in your php.ini. See http://php.net/manual/en/datetime.configuration.php#ini.date.timezone

For example, I've set:

date.timezone = "Europe/Paris"

@j0k3r j0k3r closed this as completed Jan 19, 2016
@tcitworld
Copy link
Member

Also, deactivate xdebug in your php.ini or install it.

@gerroon
Copy link
Author

gerroon commented Jan 19, 2016

@j0k3r

I already have timezone set in my php.ini

I also disabled xdebug.

Still getting

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so: /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of th
ose methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /v
ar/www/wallabag_v2/vendor/hoa/core/Parameter.php on line 158

[Symfony\Component\Debug\Exception\ContextErrorException]                                                                                                                                                  


Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.           

In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to s
elect your timezone.

.

@gerroon
Copy link
Author

gerroon commented Jan 19, 2016

ohh well. It looks like the phph.ini for the cli version is different than one run by apache.

Please close the bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants