Support the ongoing development of →
posted 8 years ago
Last updated 1 year ago.

I'm really not sure but fresh install sounds like write permissions of your storage&vendor folders and a restart of your php server service may also help

(code 500 means Internal Error)

are you able to open the page by using web browser?


When I said a fresh install I meant a successful instal :) Yes permissions are ok. And yes I have a code 200 on the page using a browser.


I have the exact same error, any solutions?


Any errors in the log file?


Yes there is an error about session headers already sent but not sure why this would be:

#[2015-04-16 03:02:56] testing.ERROR: exception 'ErrorException' with message 'session_start(): Cannot send session cookie - headers already sent by (output started at ..\vendor\phpunit\phpunit\src\Util\Printer.php:139)' in ..\storage\framework\views\323c66e73905cec9897f3bb901cee8b0:77 Stack trace: #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'session_start()...', 'C:\xampp\htdocs...', 77, Array) #1 ...\storage\framework\views\323c66e73905cec9897f3bb901cee8b0(77): session_start() #2 ...\vendor\laravel\framework\src\Illuminate\View\Engines\PhpEngine.php(39): include('C:\xampp\htdocs...')

Last updated 8 years ago.

Ok found the problem, my home page template layout had a session_start() called and that was causing issues when trying to get the url in phpunit, removed it and it worked.

The log did show the culprit file, so looking into that helped identify this issue.

Last updated 8 years ago.

Sign in to participate in this thread!


Your banner here too?

jrean jrean Joined 4 Mar 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.