Git Product home page Git Product logo

Comments (6)

bobdenotter avatar bobdenotter commented on August 24, 2024

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.

CarsonF avatar CarsonF commented on August 24, 2024

Yeah that's intentional. Change it to bolt_assets://img/default_notfound.png.

from thumbs.

bobdenotter avatar bobdenotter commented on August 24, 2024

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.

CarsonF avatar CarsonF commented on August 24, 2024

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.

bobdenotter avatar bobdenotter commented on August 24, 2024

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.

CarsonF avatar CarsonF commented on August 24, 2024

Yeah it would be, but you're right that it's a BC break.

from thumbs.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.