I pushed my laravel 5 project online, on production. Everything was working fine on localhost, but now, online, the routes are not working anymore.
The index, is working but when I want to go to an other page of the project, it's returning an internal server error...
Does someone know where this issue could come from ?
Thanks
Related
So I'm just trying to run shell_exec(/opt/plesk/node/12/bin/npm run production) on a plesk server from my laravel php controller after editing some text and css codes through php so the vue files get compiled again and the changes are being displayed but I just can't get it to work no matter what I try. Can't seem to get any error code or anything out of it either, I've just got no clue what to do at this point. Been searching some other posts in this forum or on google but can't really seem to find an answer. Was wondering if anyone here would know how to fix this.
When I run this code on localhost it works just fine, sorry if it's a noob question but I'm new to plesk. Just trying to get my laravel/vue app working online.
I've just started to work on an existing project developped with symfony 3.
And here is the problem :
on my local environment everything is ok when i'm using app.php but something comes wrong when using app_dev.php.
I'm getting some net::ERR_CONNECTION_RESET errors on js files. Sometimes it works, sometimes it doesn't. The files implicated are not allways the same and usually when I refresh my page there's no more error until the next one on the next page or the following one...
I'm using netbeans 8.2, windows 10 on a brandnew laptop.
I got my sources on github, my colleague is working on the same project and doesn't have this issue on her local env...
Any clue ??
This seems to be related to too many debug notices. You should fix those and try again.
I have searched and did research to solve my problem but I could not.
I am working on laravel 5.1 .
I have working project Working project on server and I just copied it in server.
Now, previous project is working fine but newly copied project login isn't working.
I have checked the file permission in project and I have assigned access right to needed file as per my knowledge .
I did composer update.
I googled it hard but couldn't solved it .
I had a completely working project on Laravel 5.3, yesterday I upgraded to Laravel 5.4 locally to check all was working and was very happy so put a plan in place to move it live.
Where I have now deployed the site on my forge.laravel.com managed servers, most of the routes work okay but when trying to log out I get the following error:
I'm not quite sure what the issue actually is. This site works totally fine locally. Can anyone point me in the right direction?
As a quick fix (after emailing Taylor) he suggested that I comment out the \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, middleware inside app\Html\Kernal.php
Tried it and it worked perfectly!
Easy fix when you know how! haha
I had something similar issue, I have tried to increase my limits too. You can't do them on ini file in laravel 5.4 but you can add your customizations on public/.htaccess
https://stackoverflow.com/a/42399301/7596103
I'm booting up a development server for my laravel project with:
php artisan serve --port=3030
The issue is that the response time is way too long (~17 seconds). Chrome dev tools are saying the routing to the index method is the issue but, I'm only attempting to retrieve a basic view.
Does anyone have any advice? This is an issue on all my laravel projects on my work machine.
Appreciate any response,
Sam