Comments (6)
Full trace:
DefaultImageNotFoundException in ThumbnailsServiceProvider.php line 126:
Unable to locate notfound image for thumbnails. Looked for: "view/img/default_notfound.png". Please update "thumbnails/notfound_image" in config.yml.
in ThumbnailsServiceProvider.php line 126
at ThumbnailsServiceProvider->findDefaultImage(object(Application), 'notfound') in ThumbnailsServiceProvider.php line 72
at ThumbnailsServiceProvider->Bolt\Provider\{closure}(object(Application)) in Pimple.php line 126
at Pimple::{closure}(object(Application)) in Pimple.php line 83
at Pimple->offsetGet('thumbnails.default_image') in ServiceProvider.php line 48
at ServiceProvider->Bolt\Thumbs\{closure}(object(Application)) in Pimple.php line 126
at Pimple::{closure}(object(Application)) in Pimple.php line 83
at Pimple->offsetGet('thumbnails.finder') in ServiceProvider.php line 28
at ServiceProvider->Bolt\Thumbs\{closure}(object(Application)) in Pimple.php line 126
at Pimple::{closure}(object(Application)) in Pimple.php line 83
at Pimple->offsetGet('thumbnails') in Controller.php line 134
at Controller->serve(object(Application), object(Request), 'foooooooo.jpg', 'resize', '1000', '800') in Controller.php line 81
at Controller->thumbnail(object(Application), object(Request), 'foooooooo.jpg', 'resize', '1000', '800')
at call_user_func_array(array(object(Controller), 'thumbnail'), array(object(Application), object(Request), 'foooooooo.jpg', 'resize', '1000', '800')) in HttpKernel.php line 144
at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 64
at HttpKernel->handle(object(Request), '1', true) in Application.php line 586
at Application->handle(object(Request)) in Application.php line 563
at Application->run(object(Request)) in Application.php line 96
at Application->run() in index.php line 12
1/2
FileNotFoundException in Matcher.php line 77:
File not found at path: view/img/default_notfound.png
in Matcher.php line 77
at Matcher->getFile('view/img/default_notfound.png') in Matcher.php line 95
at Matcher->getImage('view/img/default_notfound.png') in ThumbnailsServiceProvider.php line 124
at ThumbnailsServiceProvider->findDefaultImage(object(Application), 'notfound') in ThumbnailsServiceProvider.php line 72
at ThumbnailsServiceProvider->Bolt\Provider\{closure}(object(Application)) in Pimple.php line 126
at Pimple::{closure}(object(Application)) in Pimple.php line 83
at Pimple->offsetGet('thumbnails.default_image') in ServiceProvider.php line 48
at ServiceProvider->Bolt\Thumbs\{closure}(object(Application)) in Pimple.php line 126
at Pimple::{closure}(object(Application)) in Pimple.php line 83
at Pimple->offsetGet('thumbnails.finder') in ServiceProvider.php line 28
at ServiceProvider->Bolt\Thumbs\{closure}(object(Application)) in Pimple.php line 126
at Pimple::{closure}(object(Application)) in Pimple.php line 83
at Pimple->offsetGet('thumbnails') in Controller.php line 134
at Controller->serve(object(Application), object(Request), 'foooooooo.jpg', 'resize', '1000', '800') in Controller.php line 81
at Controller->thumbnail(object(Application), object(Request), 'foooooooo.jpg', 'resize', '1000', '800')
at call_user_func_array(array(object(Controller), 'thumbnail'), array(object(Application), object(Request), 'foooooooo.jpg', 'resize', '1000', '800')) in HttpKernel.php line 144
at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 64
at HttpKernel->handle(object(Request), '1', true) in Application.php line 586
at Application->handle(object(Request)) in Application.php line 563
at Application->run(object(Request)) in Application.php line 96
at Application->run() in index.php line 12
from thumbs.
Yeah that's intentional. Change it to bolt_assets://img/default_notfound.png
.
from thumbs.
That means it'll break between 3.2 and 3.3. :-/
We should keep track of this better, so we can put it in a release notes / upgrade type of thing.
from thumbs.
We can check for view/
at the beginning of the path and remove it to fix that exception and trigger a deprecation notice instead, if you want.
The exception is new to fix another problem on 3.2. So this was probably hidden until recently.
from thumbs.
Nah, seems like that'd be just introducing more deprecated things. It should just be documented somewhere, for people who update and/or bump into it.
from thumbs.
Yeah it would be, but you're right that it's a BC break.
from thumbs.
Related Issues (15)
- urldecode HOT 1
- $app->pass() does not exist HOT 1
- [RFC] Add support for retina images. HOT 1
- Passthrough when file is SVG
- bolt thumbnail setting to save files (static) is ignored HOT 1
- Non existing method pass() in 2.x provider HOT 2
- [RFC] Allow Quality and Crop Direction to be configurable HOT 8
- Mount point in path HOT 8
- Thumbnails Error when running inside Docker container HOT 7
- Throw exception if GD isn't installed correctly HOT 2
- Tests on `master` are broken. HOT 3
- ThumbnailResponderTest incompatible with PHP 5.3 HOT 1
- Custom thumbnail paths HOT 5
- Preserve gif animation when creating thumbs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thumbs.