Filemanager display "No Way"

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



thank for your help

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

thank for your help

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

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

thanks