Support the ongoing development of Laravel.io →
posted 10 years ago
Views
Last updated 2 years ago.
0

I must say recently i have moved my mysql data and htdocs folder to a google drive folder and changed the paths in xampp.

Could this have anything to do with it?

When i output storage_path() i get the right path:

C:\Google Drive\htdocs\laravel4_test2\app\storage

So that must be right. And DIR outputs:

C:\Google Drive\htdocs\laravel4_test2\app\storage\views

How do i check the public folder?

Last updated 2 years ago.
0

Your img src is incorrect, you have

/filemanager1/klanten/Klant28/logo/logo.jpg

but your site is prefixed with /laravel4_test2/public, so you should use

/laravel4_test2/public/filemanager1/klanten/Klant28/logo/logo.jpg

Last updated 2 years ago.
0

Maybe use {{ asset('filemanager1/klanten/'.$companyname.'/logo/logo.jpg') }}, that will generate an absolute url.

Last updated 2 years ago.
0

Sorry barryvdh the answer was supposed to be for you. I thought because you were at the bottom you answered last. But you answered in 21 hours, elite123 answered in 22 hours.

Also your answer also took in account the possiblility i could move my project folder. (generatibg an absolute url.) When i move my folder to an other webserver i won't have any problems with the changing URL.

Thanx guys for your help.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

JeffreyR jeffreyr Joined 11 Feb 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.