Yearly Archives > 2016
I had to recently update my version of Laravel 5.2 to Laravel 5.3 along with my php version to 7.1. It was a little bit tricky due to some missing help documentation, but I managed to figure it out. So if you are having the same problems then this should help.
Every Laravel 5.2 and Laravel 5.4 (UPDATE) developer has at some point seen the above default grey ‘TokenMismatchException error page’, which is usually caused when a protected page (which the user needs to be logged in to view) has not been refreshed for a long time and the users login session has timed-out. So the best option is to make the url redirect instead of showing this error message
NOTE: There is a slight difference between laravel 5.2 and 5.4 so I have included both versions of the code – $e and $exception.
So have you been wondering if there is anyway to customise the page or redirect to the default login/home page? Well it’s actually fairly easy to sort with a few changes to some of the default setting and files.
I recently had an issue when running Dreamweaver CC 2015 – with it constantly crashing on my mac when trying to use its ‘Find and Replace‘. The ‘Find and Replace’ popup would not appear and the app would just crash giving me a report error message popup instead! So I looked all across the web and did everything such as deleting several files in the user folder… trying to install it from scratch. But sadly nothing worked and it still kept on crashing.
But then I tried running the app using the ‘root‘ user and it worked fine which gave me the clue where to start looking. So here is my solution.
Okay you would have to be living on a different planet not to be aware of the MVC framework called Laravel, but unlike other MVC’s it not a simple case of download and install. It requires the use of the Mac OS X terminal and it is fairly easy. Here is a step by step ‘how to‘ for using with MAMP.
I have always liked the good old Columbo series repeated most weekends on TV more or less! But there are some episodes I like and some that I don’t. So as a quick reminder of which ones they are, I have placed the episodes with an image of the murderer Columbo has to catch out.
I also can’t take the credit for the descriptions since I just copied them from the official DVD boxset containers.