Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 2 years ago.
0

I think this detail article can help you out: http://driesvints.com/blog/laravel-4-on-a-shared-host

Last updated 2 years ago.
0

Its recommended to keep public as the only web-accessible directory.

Last updated 2 years ago.
0

I have done that. Put all files outside public_html and public files inside public_hatml... changed public directory parameter to public_html. In my localhost everything is working (not everything, the Assets are not being loaded, but thats not my main problem), in the server always the class Site not found. Already tried other servers, always the same problem...

in my searchs i found this. http://stackoverflow.com/questions/20705622/laravel-4-class-not-found-after-doployment-to-production/23808948#23808948

it's exactly my problem, only I can't solve it because I am trying a shared host and i can't run composer install on server. I have developed on a windows server and I am trying to publish on a linux server.

How can I do this?

Last updated 2 years ago.
0

grrrrrr.... sorry to bother you guys, but I guess it was my mistake in this line of code public function site() { return $this->belongsTo('site'); }

there is no class named "site", but there is one named "Site".

Apparently windows doesn't bother about that but linux does :s sorry again

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Drifeter drifeter Joined 12 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.