Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Tommy001's avatar

Laravel does not find File Manager after move to webserver

I have installed CKEditor and Laravel file manager, wich works fine locally. But after moving the project to a test subfolder in my shared hosting, I get the error message Object not found. I can see that the path to the application is wrong, but where do I change it (to add those extra folders in the path)?

I have tried to change base_directory in the lfm.php file and also the url_prefix in that same file, without luck.

Anyone?

EDITED: Reading my question again I can see that it was not very clear. The difference between local and production servers is that in the latter the Laravel application lives in a subfolder 2 levels down from the web root. The error message above shows when I try to use the image upload function in CKeditor, which is using Laravel Filemanager.

So somewhere I need to add those extra folders in the path to LFM application. But I can't figure out where.

0 likes
2 replies
Tommy001's avatar

Thanks for your answer. I already had that symbolic link in place, so for example images can be fetched with the helper function asset('storage/images/whatnot.jpg'). But what I need now, if I haven't misunderstood something, is to alter the path to the actual application Laravel Filemanager.

Please or to participate in this conversation.