Comments (13)
What is exactly the error? Can you provide an stacktrace?
from minify.
Stack trace:
#0 /home/user/public/html/vendor/ceesvanegmond/minify/src/CeesVanEgmond/Minify/Minify.php(56): CeesVanEgmond\Minify\Minify->doFilesExistReturnModified()
#1 /home/user/public/html/vendor/ceesvanegmond/minify/src/helpers.php(17): CeesVanEgmond\Minify\Minify->minifyCss(Array)
#2 /home/user/public/html/app/storage/views/ec8857031161b348e513513e449c4c1d(14): stylesheet('css/main.css')
#3 /home/user/public/html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(38): include('/home/jussituom...')
#4 /home/user/public/html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(45): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/jussituom...', Array)
#5 /home/user/public/html/vendor/laravel/framework/src/Illuminate/View/View.php(100): Illuminate\View\Engines\CompilerEngine->get('/home/jussituom...', Array)
#6 /home/user/public/html/vendor/laravel/framework/src/Illuminate/View/View.php(81): Illuminate\View\View->getContents()
#7 /home/user/public/html/app/storage/views/a4ebe18fc4ddba704128aa89c9c54f16(21): Illuminate\View\View->render()
#8 /home/user/public/html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(38): include('/home/jussituom...')
#9 /home/user/public/html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(45): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/jussituom...', Array)
#10 /home/user/public/html/vendor/laravel/framework/src/Illuminate/View/View.php(100): Illuminate\View\Engines\CompilerEngine->get('/home/jussituom...', Array)
#11 /home/user/public/html/vendor/laravel/framework/src/Illuminate/View/View.php(81): Illuminate\View\View->getContents()
#12 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Http/Response.php(70): Illuminate\View\View->render()
#13 /home/user/public/html/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php(141): Illuminate\Http\Response->setContent(Object(Illuminate\View\View))
#14 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1414): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View))
#15 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Routing/Controllers/Controller.php(156): Illuminate\Routing\Router->prepare(Object(Illuminate\View\View), Object(Illuminate\Http\Request))
#16 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Routing/Controllers/Controller.php(126): Illuminate\Routing\Controllers\Controller->processResponse(Object(Illuminate\Routing\Router), 'showIntro', Object(Illuminate\View\View))
#17 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(985): Illuminate\Routing\Controllers\Controller->callAction(Object(Illuminate\Foundation\Application), Object(Illuminate\Routing\Router), 'showIntro', Array)
#18 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#19 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(80): call_user_func_array(Object(Closure), Array)
#20 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(47): Illuminate\Routing\Route->callCallable()
#21 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1016): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#22 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(574): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#23 /home/user/public/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(550): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#24 /home/user/public/html/public/index.php(49): Illuminate\Foundation\Application->run()
#25 {main} [] []
from minify.
And what's exacly is the exception?
from minify.
log.ERROR: exception 'Exception' in /home/user/public/html/vendor/ceesvanegmond/minify/src/CeesVanEgmond/Minify/Minify.php:188
from minify.
Is there any output from the framework function public_path()
? I think you public path
isn't correct, you can verify this by running echo public_path()
. The public path is defined in bootstrap/paths.php
from minify.
got the same error, but my paths are ok
edit:
got it, in my case the problem was the css folder, it was added two times, because i added the files like : css/file.css
from minify.
Is this still a problem?
from minify.
For me not.
from minify.
I have the same problem!!
from minify.
Exactly same problem, but my "paths" file is correct.
My css and js are located in an "assets" folder.
So my config file look like this :
'css_path' => '/assets/css/',
'css_build_path' => 'builds/',
I have this error :
/vendor/ceesvanegmond/minify/src/CeesVanEgmond/Minify/Minify.php183
from minify.
I really cannot find out why this is happening. I cannot reproduce the bug either. Could you guys debug a little and give me more information about this bug?
from minify.
I just open Minify.php:183... its simple, one or more files from array are missing.
@ceesvanegmond it will be good to throw more info with exception on this line :)
from minify.
@escapeboy Thank you, there's an new version on the development branch that throws this exception, I only have tot test it more before merging with master.
from minify.
Related Issues (20)
- Call to a member function withFullUrl() on a non-object HOT 1
- composer failed (satisfiable by natxet/cssmin[3.0.x-dev]) HOT 2
- Abandonned HOT 5
- gzip files HOT 3
- Laravel 5 HOT 2
- Imported css are not included HOT 1
- customize final URL HOT 1
- Path is not currect in the website HOT 2
- base_url Not working ? HOT 1
- Relative img path HOT 2
- Bootstrap glyph icons not working after compression HOT 3
- Config environments not working HOT 1
- How to deal with relative urls for resources? HOT 1
- Getting an error HOT 2
- ErrorException in Minifier.php line 476: Unclosed string at position
- Laravel 5.1
- C-style JavaScript comments without a line break at the end of a file...
- Invalid regular expression: missing /
- duplicate path with option ->withFullUrl()
- Call to undefined method Illuminate\Foundation\Application::share() Laravel 5.4
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 minify.