guillermomartinez / filemanager-laravel

FileManager for Laravel integrated with TinyMCE
http://laravel-filemanager.rhcloud.com/
MIT License
89 stars 41 forks source link

Image not be displayed #1

Closed kemalbalaban closed 9 years ago

kemalbalaban commented 9 years ago

Hi,

I checked the correct image directory, but can not be displayed. http://prntscr.com/5rw3v1

guillermomartinez commented 9 years ago

Hello, it may be because the permissions on the folder laravel\public\filemanager\userfiles test: chmod -R 777 laravel\public\filemanager\userfiles recommended: chmod -R 755 laravel\public\filemanager\userfiles

tudor2004 commented 9 years ago

Hi, I had a similar problem but it wasn't a permission issue. My app was running perfectly on local server (homestead and also using MAMP). The issue appeared only after deploying to heroku. I removed the line php_flag engine off from the .htaccess file (public/filemanager/userfiles) and than it worked again. More infos here - StackOverflow

guillermomartinez commented 9 years ago

For security engine must be off in userfiles folder php_flag engine off Config PHP ini.engine