samedi 2 janvier 2016

FatalErrorException in AuthController.php line 5: syntax error, unexpected 'private' (T_PRIVATE)

1 here I got stuck with this error written on the title while doing authentication steps on Laravel by following this guide. http://ift.tt/1NTLsZh

I have done until creating and copy the code into the register.blade.php, but when I get into localhost:8000/auth/login, it will show this error: FatalErrorException in AuthController.php line 5:

syntax error, unexpected 'private' (T_PRIVATE)

http://localhost:8000 works fine and direct to my home page.This is my AuthController codes on line 5: private $redirectTo = '/';

Really needed help here please if anyone know. Thank you very much.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire