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

404 Page not found. for "Employee" CRUD #205

Closed
UncleCom opened this issue Oct 26, 2016 · 4 comments
Closed

404 Page not found. for "Employee" CRUD #205

UncleCom opened this issue Oct 26, 2016 · 4 comments

Comments

@UncleCom
Copy link

I've created a full CRUD for "Employee" and add this Route:
"CRUD::resource('Employee', 'EmployeeController');"
To web.php.and added it to Sidebar,When I click "Manage Employees" it results me this error:
Error:"404
Page not found.
Please return to our homepage."

@tabacitu
Copy link
Member

Are you sure it's called EmployeeController and not EmployeeCrudController? If you've generated it using the generators package that's what it should be called.

Also, please check if your route is inside the "Admin" namespace closure, if your controller is in App\Http\Controllers\Admin\.

Cheers!

@UncleCom
Copy link
Author

I checked and modified it to 'EmployeeCrudController' but still same error. Am I missing something?
Side note:I used backpack with laravel 5.2 (months ago), and the generator was working smoothly the same way I did with 5.3 project. ( I don't want to use something outdated if possible)

@UncleCom
Copy link
Author

Notation: Try to do the steps in 5.2 installation, there are many commands that doesn't work anymore. it's almost unusable..
Error#1(in 3.1 after excuting composer require backpack/crud ):
long error on comptiblity.
Solution#1:(2.0.X need to be added at the end of the command)

Error#2 (in 3.3 after excuting php..elfinder:publish):
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "elfinder" namespace.
Solution#2: None..

@tabacitu
Copy link
Member

Hi @UncleCom ,

If backpack/base 0.6.x has been installed on a Laravel 5.2 instance, the CRUD installation should go fine (no need for specifying 2.0.x). You should follow the steps in the 5.2 installation guide.

That being said, the Laravel 5.2 version should work out of the box, but it's deprecated and I can no longer help out with it. My recommendation is to upgrade to Laravel 5.3 and latest backpack, if you can. Any small-medium app can be upgraded in 1 hour and you'd have all the new features of both laravel and backpack.

If you're still having this issue, try posting on stackoverflow with the backpack-for-laravel tag. Someone there could still run L5.2 instances and may be able to help.

Cheers!

This was referenced Apr 2, 2020
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

2 participants