Comments (12)
Not tried this yet as I am no PHP expert, but does this fix it:
rm -rf vendor && composer update -v
https://stackoverflow.com/questions/22088751/laravel-illuminate-fatal-error
from lanager.
Sadly no. Composer gives no errors and any requests still give various php fatal errors. I've done a totally clean install again now and am getting this:
[Tue Sep 16 17:39:51 2014] [warn] [client 10.12.0.1] mod_fcgid: stderr: PHP Fatal error: include(): Cannot redeclare class illuminate\\support\\classloader in /path/lanager/vendor/composer/ClassLoader.php on line 382
from lanager.
Wonder if lanager requires a specific earlier version of Composer.
from lanager.
I've been wondering if it was an issue like that. I've tried pushing back to laravel 4.2.7 and I do get different errors... but still similar.
from lanager.
Tried a new clean install in WAMP2 and I'm getting this. I think dependencies are definably an issue here.
ErrorException thrown with message "Declaration of Krucas\Notification\Collection::contains() should be compatible with Illuminate\Support\Collection::contains($value) (View: D:\Development\lanager\app\views\layouts\default\content.blade.php) (View: D:\Development\lanager\app\views\layouts\default\content.blade.php) (View: D:\Development\lanager\app\views\layouts\default\content.blade.php)
Stacktrace:
48 ErrorException in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\Collection.php:7 47 Illuminate\View\Engines\CompilerEngine:handleViewException in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php:41 46 ErrorException in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\Collection.php:7 45 Illuminate\View\Engines\CompilerEngine:handleViewException in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php:41 44 ErrorException in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\Collection.php:7 43 Illuminate\View\Engines\CompilerEngine:handleViewException in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php:41 42 ErrorException in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\Collection.php:7 41 Illuminate\Exception\Handler:handleError in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\Collection.php:7 40 include in D:\Development\lanager\vendor\composer\ClassLoader.php:382 39 Composer\Autoload\includeFile in D:\Development\lanager\vendor\composer\ClassLoader.php:274 38 Composer\Autoload\ClassLoader:loadClass in <unknown>:0 37 spl_autoload_call in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\NotificationsBag.php:92 36 Krucas\Notification\NotificationsBag:__construct in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\Notification.php:178 35 Krucas\Notification\Notification:addContainer in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\Notification.php:211 34 Krucas\Notification\Notification:container in D:\Development\lanager\vendor\edvinaskrucas\notification\src\Krucas\Notification\Notification.php:293 33 Krucas\Notification\Notification:__call in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:217 32 Krucas\Notification\Notification:group in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:217 31 Illuminate\Support\Facades\Facade:__callStatic in D:\Development\lanager\app\storage\views\f15242643798084f0042cb38e4300f07:3 30 Krucas\Notification\Facades\Notification:group in D:\Development\lanager\app\storage\views\f15242643798084f0042cb38e4300f07:3 29 include in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php:37 28 Illuminate\View\Engines\PhpEngine:evaluatePath in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\CompilerEngine.php:56 27 Illuminate\View\Engines\CompilerEngine:get in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:134 26 Illuminate\View\View:getContents in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:102 25 Illuminate\View\View:renderContents in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:76 24 Illuminate\View\View:render in D:\Development\lanager\app\storage\views\e30fcb5faa9f4efd32391354c177cf0a:3 23 include in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php:37 22 Illuminate\View\Engines\PhpEngine:evaluatePath in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\CompilerEngine.php:56 21 Illuminate\View\Engines\CompilerEngine:get in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:134 20 Illuminate\View\View:getContents in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:102 19 Illuminate\View\View:renderContents in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:76 18 Illuminate\View\View:render in D:\Development\lanager\app\storage\views\00bdfa729903d90e6317e51dc04b7fe2:8 17 include in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php:37 16 Illuminate\View\Engines\PhpEngine:evaluatePath in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\Engines\CompilerEngine.php:56 15 Illuminate\View\Engines\CompilerEngine:get in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:134 14 Illuminate\View\View:getContents in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:102 13 Illuminate\View\View:renderContents in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\View\View.php:76 12 Illuminate\View\View:render in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Http\Response.php:43 11 Illuminate\Http\Response:setContent in D:\Development\lanager\vendor\symfony\http-foundation\Symfony\Component\HttpFoundation\Response.php:202 10 Symfony\Component\HttpFoundation\Response:__construct in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Routing\Router.php:1498 9 Illuminate\Routing\Router:prepareResponse in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Routing\Router.php:1031 8 Illuminate\Routing\Router:dispatchToRoute in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Routing\Router.php:996 7 Illuminate\Routing\Router:dispatch in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:777 6 Illuminate\Foundation\Application:dispatch in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:747 5 Illuminate\Foundation\Application:handle in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Session\Middleware.php:72 4 Illuminate\Session\Middleware:handle in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Cookie\Queue.php:47 3 Illuminate\Cookie\Queue:handle in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Cookie\Guard.php:51 2 Illuminate\Cookie\Guard:handle in D:\Development\lanager\vendor\stack\builder\src\Stack\StackedHttpKernel.php:23 1 Stack\StackedHttpKernel:handle in D:\Development\lanager\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:643 0 Illuminate\Foundation\Application:run in D:\Development\lanager\public\index.php:49
from lanager.
So setting laravel/framework in composer.json to "4.2.6" on windows works... though in linux it's still coming up with exceptions :/
from lanager.
Since you are doing this in Windows as well try this at step 3, from CMD in the lanager folder run in order:
set "COMPOSER_PROCESS_TIMEOUT=6000"
composer update
from https://stackoverflow.com/questions/24950813/how-to-use-composer-process-timeout
I noticed an error that something wasn't downloaded, extending the time out seemed to resolve that. It did need to be a separate command in that console session though, couldn't do it all on one line.
from lanager.
I get the same result with that. On windows and linux I don't get any errors from the composer command. It goes through fine.
from lanager.
Was seeing the krucas errors as well.
edit line 16 in lanager\composer.json
"edvinaskrucas/notification": "2.",
to read:
"edvinaskrucas/notification": "3.",
then CMD prompt in lanager folder
set "COMPOSER_PROCESS_TIMEOUT=6000"
composer update
I do suggest the timeout adjustment, it took me way longer than 5 minute default to finish.
Thank you for all the info in both threads, wouldn't have got this fired up without your help.
from lanager.
Update usable krucas lib in requirements file: change from 2.* to 3.* There were some bugs on Krucas 2.* versions. With versions 3.* it runs great
from lanager.
Composer.phar file i gues... Dont rememver exactly
from lanager.
Thanks everyone - this is now fixed as of d423fad
from lanager.
Related Issues (20)
- Install Lanager HOT 2
- How do you edit or modify links? HOT 1
- Log an error when no Steam states have been imported for 5 minutes HOT 1
- Error 500 - Signup for non-admin users HOT 2
- Info dropdown redirects to local host HOT 1
- Docs for schema? HOT 1
- Trying to get property 'type' of non-object HOT 2
- mysql problem? HOT 2
- Can't use Steam OpenID login, throwing "error" with no reason from Steam HOT 10
- Date Field Format Error HOT 1
- SQLSTATE[22003]: Numeric value out of range: 1264 HOT 2
- Class 'Barryvdh\Debugbar\ServiceProvider' not found HOT 1
- No Dashboard? HOT 1
- Internal Server Error on return from Steam login HOT 1
- Target class [Database\\Seeders\\DatabaseSeeder] does not exist. HOT 1
- can't initialise database
- Using without Google API Key HOT 1
- Slides not showing complete schedule HOT 3
- suggest: add custom home page HOT 1
- Feature Request: Themes & Additional Pages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lanager.