# Filemanager display "No Way"

**URL:** <https://forum.mautic.org/t/filemanager-display-no-way/3514>\
**Category:** Product Support\
**Created:** [April 14, 2016, 12:21pm UTC](https://forum.mautic.org/t/filemanager-display-no-way/3514 "2016-04-14T12:21:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixman](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@pixman](https://forum.mautic.org/u/pixman)\
**Post date:** [April 14, 2016, 12:21pm UTC](https://forum.mautic.org/t/filemanager-display-no-way/3514/1 "2016-04-14T12:21:36Z")

</div>

Hello, i have migrate mautic on another server, with new php and apache config.  
  
  
  
All working fine but the filemanager show “no way”.  
  
The images folder is at the same path and pictures already loaded in email are correctly displayed in the emails.  
  
  
  
I dont have error, just “no way”  
  
PS: i have patched mu maitic install with fix #1499  
  
[https://github.com/alanhartless/mautic/commit/e916f8deaff48ffada8582ad78f53192902ae757](https://github.com/alanhartless/mautic/commit/e916f8deaff48ffada8582ad78f53192902ae757)  
  
  
  
thank for your help

---

<div class="post-metadata">

**Author:** ![pixman](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@pixman](https://forum.mautic.org/u/pixman)\
**Post date:** [April 14, 2016, 12:21pm UTC](https://forum.mautic.org/t/filemanager-display-no-way/3514/2 "2016-04-14T12:21:36Z")

</div>

Hello, i have migrate mautic on another server, with new php and apache config.

All working fine but the filemanager show “no way”.  
The images folder is at the same path and pictures already loaded in email are correctly displayed in the emails.

I dont have error, just “no way”  
PS: i have patched mu maitic install with fix #1499  
[https://github.com/alanhartless/mautic/commit/e916f8deaff48ffada8582ad78f53192902ae757](https://github.com/alanhartless/mautic/commit/e916f8deaff48ffada8582ad78f53192902ae757)

thank for your help

---

<div class="post-metadata">

**Author:** ![pixman](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@pixman](https://forum.mautic.org/u/pixman)\
**Post date:** [April 15, 2016, 6:25am UTC](https://forum.mautic.org/t/filemanager-display-no-way/3514/3 "2016-04-15T06:25:02Z")

</div>

Sorry, it’s not work, i want to activate the mautic debug mode but i don’t find the config value.

---

<div class="post-metadata">

**Author:** ![pixman](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@pixman](https://forum.mautic.org/u/pixman)\
**Post date:** [April 20, 2016, 2:29pm UTC](https://forum.mautic.org/t/filemanager-display-no-way/3514/4 "2016-04-20T14:29:01Z")

</div>

hello,  
i have find the the bug in file : /app/bundles/CoreBundle/Assets/js/libraries/ckeditor/filemanager/connectors/php/filemanager.class.php  
the private function is\_valid\_path($path) ( line 1280 )  
compare the $path, with the realPath on server.  
My webserver is a debian 8 manage with ISPconfig, and the path send to this function is like :  
/war/www/mywebsite.com/web/media/images

and the realpath found by the function is /war/www/clients/client4/site2/web/media/images

the function return substr(realpath($path).DIRECTORY\_SEPARATOR, 0, strlen($this-\>path\_to\_files)-1) == (realpath($this-\>path\_to\_files).DIRECTORY\_SEPARATOR);

don’t match, and the filemanager show " No Way"

it’s a configuration problem or i have found a bug ?

tempoary i have replaced  
substr(realpath($path).DIRECTORY\_SEPARATOR, 0, strlen($this-\>path\_to\_files)-1) == (realpath($this-\>path\_to\_files).DIRECTORY\_SEPARATOR);

by  
return file\_exists($path);

i have open an issue on gitHub : [https://github.com/mautic/mautic/issues/1620](https://github.com/mautic/mautic/issues/1620)

thanks
