Vinelab / cdn

CDN Assets Manager Package for Laravel.
MIT License
214 stars 71 forks source link

ErrorException in AwsS3Provider.php line 132: #78

Closed hiddenl00p closed 9 years ago

hiddenl00p commented 9 years ago

I am getting this error on upgrade to Laravel 5.1, If I remove asset loading throught CDN its working fine.

ErrorException in AwsS3Provider.php line 132:

Undefined index: version (View: /home/vagrant/Code/lawcus-dev/resources/views/layouts/application.blade.php) (View: /home/vagrant/Code/lawcus-dev/resources/views/layouts/application.blade.php)

in AwsS3Provider.php line 132 at CompilerEngine->handleViewException(object(ErrorException), '1') in PhpEngine.php line 44 at PhpEngine->evaluatePath('/home/vagrant/Code/lawcus-dev/storage/framework/views/0cdadda0bcfe1ed91af1794fd7fa0d08', array('env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'currentUser' => object(EloquentUser), 'pusher' => object(Pusher), 'obLevel' => '1')) in CompilerEngine.php line 58 at CompilerEngine->get('/home/vagrant/Code/lawcus-dev/resources/views/layouts/application.blade.php', array('env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'currentUser' => object(EloquentUser), 'pusher' => object(Pusher), 'obLevel' => '1')) in View.php line 138 at View->getContents() in View.php line 107 at View->renderContents() in View.php line 81 at View->render() in e4cc703f2f2f0887b764a48549aeeaa0 line 19

olimorris commented 9 years ago

What about when you set version to 'latest' in the CDN config file?

hiddenl00p commented 9 years ago

Had the old config file. Working now. Thanks!