0

I have a Laravel 5.3 app that i work on windows xampp locally. I just move it on a live centos 7 server. What i've done so far:

  • I created a virtual host on the live server
  • I changed .env file with new database credentials
  • I changed storage folder permissions to 777
  • I cleared the cache (cache:clear)

The issue is that some of the routes work just fine and other don't. e.g. This route Route::resource('admin/permissions', 'PermissionsController'); works fine But this route Route::resource('admin/users', 'UsersController'); doesn't

I followed this answer Laravel returning a blank page only on certain routes but had no luck

EDIT: *It is not duplicate-The error came from another reason

Community
  • 1
  • 1
dip
  • 189
  • 6
  • 18

1 Answers1

0

For anyone else that might have the same issue while moving from Windows xampp to Centos 7 server: The problem was that on Centos in a few models the table name had the first letter capitalized. This is no issue for windows but it is for Centos.

dip
  • 189
  • 6
  • 18