I've never had this issue before but i get this error when I try and get my site live. It all works fine on XAMPP locally.
Any help will be greatly appreciated.
Running Laravel 5.5
PHP 7.0 running on server.
I can see it's still trying to look in my xampp folder instead of on the actual server. Any ideas on where to change this
file_put_contents(C:\xampp\htdocs\template\storage\framework/sessions/H88urfV9i5pugcdyiTgmFp02OaIhKQ7FcGFxrJIJ): failed to open stream: No such file or directory
@bashy I haven't defined that path anywhere that I can remember. It is a Linux server yeah, which means the slashes are the wrong way round wherever it's defined right?
Got an hour commute home now, will have a look when I'm home again.
It's not just the slashes, it looks like you've defined an absolute storage path that was valid on your development machine but obviously won't be valid on a linux server.
This might just be a caching issue, if you copy/pasted the project folder directly into your server, try clearing the cache.
getting the same issue and checked storage dir and everything was fine there, getting the issue because of php versions, on xampp its 8.2 and on server its linux server 7.4, so make php versions same and update composer