Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error enabling thumbnails on existing and populated directory #57

Open
nu111 opened this issue Feb 19, 2019 · 0 comments
Open

Error enabling thumbnails on existing and populated directory #57

nu111 opened this issue Feb 19, 2019 · 0 comments

Comments

@nu111
Copy link

nu111 commented Feb 19, 2019

I have a dir with several image files.
I set up RichFilemanager to use this dir as the user storage folder .
I set up RichFilemanager to use thumbnails.
When i run RichFilemanager all images previews are broken images and I see this errors on the PHP Log

[19-Feb-2019 13:31:56 GMT] PHP User Notice - /xxx/tinyMCE_upload/_thumbs/Screenshot_20180608_084612.png, /xxx/composer/vendor/servocoder/richfilemanager-php/src/Repository/Local/ItemModel.php, 689
Uri: /adm/js/RichFilemanager-2.7.6/connectors/php/filemanager.php?path=%2FScreenshot_20180608_084612.png&mode=getimage&thumbnail=true&time=1550583115886
Ip: 127.0.0.1
#0 [internal function]: {closure}(1024, '/xxx...', '/xxx...', 689, Array)
#1 /xxx/composer/vendor/servocoder/richfilemanager-php/src/Repository/Local/ItemModel.php(689): trigger_error('/xxx...')
#2 /xxx/composer/vendor/servocoder/richfilemanager-php/src/Api/LocalApi.php(567): RFM\Repository\Local\ItemModel->checkReadPermission()
#3 /xxx/composer/vendor/servocoder/richfilemanager-php/src/Application.php(338): RFM\Api\LocalApi->actionGetImage(true)
#4 /xxx/adm/js/RichFilemanager-2.7.6/connectors/php/filemanager.php(132): RFM\Application->run()
#5 {main}

The problem gets fixed if I upload through RichFilemanager a new image or if I manually create the dir _thumbs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant