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

@extends('backpack::layout') #32

Closed
FarhadMohammadi opened this issue Jun 13, 2016 · 7 comments
Closed

@extends('backpack::layout') #32

FarhadMohammadi opened this issue Jun 13, 2016 · 7 comments
Milestone

Comments

@FarhadMohammadi
Copy link

This is my Error
How to fix this.. Please help me

No hint path defined for [backpack]. (View: C:\wamp\www\partner\resources\views\vendor\elfinder\elfinder.blade.php)

@tabacitu
Copy link
Member

Please make sure you've run all the installation steps properly in Backpack/CRUD: https://laravel-backpack.readme.io/docs/installation-todo#3-install-backpackcrud-optional

Pay special attention to publishing the assets (step 4).

@tobyrgb
Copy link

tobyrgb commented Jun 15, 2016

I had the same problem, but I got 2 error messages as follow�s.
I reinstall the package, but still not work.
Did I miss something or steps? Anybody have idea?

ErrorException in FileViewFinder.php line 112:
No hint path defined for [backpack]. (View: .../vendor/backpack/crud/src/resources/views/list.blade.php)

in FileViewFinder.php line 112
at CompilerEngine->handleViewException(object(InvalidArgumentException), '1') in PhpEngine.php line 44
at PhpEngine->evaluatePath('/Users/toby/ruijia/storage/framework/views/4486284da53be161250ac1713b7eb7f52249cc33.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'entries' => object(Collection), 'crud' => object(Crud), 'title' => 'Products')) in CompilerEngine.php line 59
at CompilerEngine->get('/Users/toby/ruijia/vendor/backpack/crud/src/resources/views/list.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'entries' => object(Collection), 'crud' => object(Crud), 'title' => 'Products')) in View.php line 149

InvalidArgumentException in FileViewFinder.php line 112:
No hint path defined for [backpack].

in FileViewFinder.php line 112
at FileViewFinder->getNamespaceSegments('backpack::layout') in FileViewFinder.php line 90
at FileViewFinder->findNamedPathView('backpack::layout') in FileViewFinder.php line 76
at FileViewFinder->find('backpack::layout') in Factory.php line 165
at Factory->make('backpack::layout', array('obLevel' => '1', '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'entries' => object(Collection), 'crud' => object(Crud), 'title' => 'Products', 'column' => array('name' => 'model_no', 'label' => 'Model_no', 'type' => 'text'))) in 4486284da53be161250ac1713b7eb7f52249cc33.php line 274
at include('/Users/toby/ruijia/storage/framework/views/4486284da53be161250ac1713b7eb7f52249cc33.php') in PhpEngine.php line 42
at PhpEngine->evaluatePath('/Users/toby/ruijia/storage/framework/views/4486284da53be161250ac1713b7eb7f52249cc33.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'entries' => object(Collection), 'crud' => object(Crud), 'title' => 'Products')) in CompilerEngine.php line 59
at CompilerEngine->get('/Users/toby/ruijia/vendor/backpack/crud/src/resources/views/list.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'entries' => object(Collection), 'crud' => object(Crud), 'title' => 'Products')) in View.php line 149

@tabacitu
Copy link
Member

I've tried installing it over and over again, still not getting the same error. Any error, actually.

  1. What PHP & server are you running?
  2. Does the error persist if you publish the views?
php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="views"

@FarhadMohammadi
Copy link
Author

Dear tabacitu

First Thank's so match for your attention and your guidelines, I'm using Laravel Faramwork V5.1 or 5.2 and my PHP Version >= 5.5, but i think this because of bad instalation or on of step maybe had conflict or not completed...

I'm trying and i sure this will work for me :):)

Tnx again

👍 👍 👍

@tabacitu
Copy link
Member

Ok, let me know if you solve it or not. Cheers!

@FarhadMohammadi
Copy link
Author

Dear @tabacitu

Thank you so match, your are ammazing, you're best, this package is very wonderful and make jobs so easy, I'm really thank you, in laravel 5.2 it work's very good,
but can you tell me your guidelines about installation on laravel 5.1 and how i made that?
and how make that packeges view RTL?
please any tell me needing staffs

Thank's and Cheers !

@tabacitu
Copy link
Member

Hi @FarhadMohammadi,

I haven't actually given any thought to making it work on Laravel 5.1, since I believe the LTS tag is BS - I have projects with 5.1 bugs that still have not been fixed, though reported, but upgrading to Laravel 5.2 fixes them.

I guess the only difference to make it work on 5.1 would be Middleware Groups.

I personally have no need for Backpack to work on Laravel 5.1, so there's no immediate plan to support it, but if someone puts in the effort, I'm more than happy to help and merge it. I'll open a new issue for this: #49.

Cheers!

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

3 participants