What happens if you set the timezone in config/app.php?
Feb 25, 2015
15
Level 1
Laravel 5 composer update error on fresh installation
It is a git clone of a clean installation made from another pc with Laravel new, on the other pc works fine.
When I do composer update:
☁ laravel [master] ⚡ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files
PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /Applications/XAMPP/www/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 40
Notice: date_default_timezone_set(): Timezone ID '' is invalid in /Applications/XAMPP/www/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 40
Fatal error: Call to undefined method Illuminate\Foundation\Bootstrap\ConfigureLogging::configureHandler() in /Applications/XAMPP/www/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/ConfigureLogging.php on line 54
PHP Fatal error: Call to undefined method Illuminate\Foundation\Bootstrap\ConfigureLogging::configureHandler() in /Applications/XAMPP/www/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/ConfigureLogging.php on line 54
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
[RuntimeException]
Error Output: PHP Notice: date_default_timezone_set(): Timezone ID '' is i
nvalid in /Applications/XAMPP/www/laravel/vendor/laravel/framework/src/Illu
minate/Foundation/Bootstrap/LoadConfiguration.php on line 40
PHP Fatal error: Call to undefined method Illuminate\Foundation\Bootstrap\
ConfigureLogging::configureHandler() in /Applications/XAMPP/www/laravel/ven
dor/laravel/framework/src/Illuminate/Foundation/Bootstrap/ConfigureLogging.
php on line 54
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]
On the same pc ( imac ) i have some projects with laravel 4 working fine. Any idea? Thanks.
Level 12
What else have you got in your config folder? What's in your config/app.php?
1 like
Please or to participate in this conversation.