Sunday, 8 September 2013

Godaddy Laravel 4 deployment errors

Godaddy Laravel 4 deployment errors

Ok I finished my laravel application and uploaded onto my godaddy shared
hosting account.
The very first error I got was:
syntax error, unexpected '['
and it points at these bits:
Route::get("/", [
"uses" => "HomeController@showWelcome"
]);
Does it have anything to do with the version of php? I was developing the
app using 5.4.1 and tried to deploy it using PHP Version 5.3.24

No comments:

Post a Comment