People category not working.
Hello guys,
if I try to open the People Category (http://
Thank you!
ErrorException Class 'Chumper\Datatable\Facades\DatatableFacade' not found
- ErrorException …/vendor/laravel/framework/src/Illuminate/Foundation/AliasLoader.php64
- Illuminate\Exception\Handler handleError <#unknown>0
- class_alias …/vendor/laravel/framework/src/Illuminate/Foundation/AliasLoader.php64
- Illuminate\Foundation\AliasLoader load <#unknown>0
- spl_autoload_call …/app/storage/views/4f9c33148dd3050b359a8ae60b5a0fd888
- include …/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php38
- Illuminate\View\Engines\PhpEngine evaluatePath …/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php45
- Illuminate\View\Engines\CompilerEngine get …/vendor/laravel/framework/src/Illuminate/View/View.php100
- Illuminate\View\View getContents …/vendor/laravel/framework/src/Illuminate/View/View.php81
- Illuminate\View\View render …/vendor/laravel/framework/src/Illuminate/Http/Response.php70
- Illuminate\Http\Response setContent …/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php141
- Symfony\Component\HttpFoundation\Response __construct …/vendor/laravel/framework/src/Illuminate/Routing/Router.php1414
- Illuminate\Routing\Router prepare …/vendor/laravel/framework/src/Illuminate/Routing/Controllers/Controller.php156
- Illuminate\Routing\Controllers\Controller processResponse …/vendor/laravel/framework/src/Illuminate/Routing/Controllers/Controller.php126
- Illuminate\Routing\Controllers\Controller callAction …/vendor/laravel/framework/src/Illuminate/Routing/Router.php985
- Illuminate\Routing\Router Illuminate\Routing{closure} <#unknown>0
- call_user_func_array …/vendor/laravel/framework/src/Illuminate/Routing/Route.php80
- Illuminate\Routing\Route callCallable …/vendor/laravel/framework/src/Illuminate/Routing/Route.php47
- Illuminate\Routing\Route run …/vendor/laravel/framework/src/Illuminate/Routing/Router.php1016
- Illuminate\Routing\Router dispatch …/vendor/laravel/framework/src/Illuminate/Foundation/Application.php576
- Illuminate\Foundation\Application dispatch …/vendor/laravel/framework/src/Illuminate/Foundation/Application.php552
- Illuminate\Foundation\Application run …/public/index.php49
Can you show me the output of your composer php composer.phar install? Are you able to see any other sections, or is this the only one not working?
$ php composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files Assets published for package: barryvdh/laravel-debugbar
The people section is the only one not working (so far), but I'm able to create new users.
its happening for me too
@rashivkp please provide the answers to the questions I asked the OP. I am not psychic. I'll do what I can to help you, but I need more information.
@snipe sorry, its the same output as FleischKarussel given you. And I don't found anything thats not working except this.
$ compser install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files Assets published for package: barryvdh/laravel-debugbar
@rashivkp can you tell me whether your apache settings allow htaccess directory overrides with mod_rewrite? Also, what are the permissions of your files?
yes, I had put AllowOverride All in configuration,
I have tried using below command to see if its a problem with permission. but the error was there. $ sudo php -S localhost:8005
drwxr-xr-x 12 rashi rashi 4096 Apr 4 10:55 app -rwxr-xr-x 1 rashi rashi 2425 Apr 4 10:55 artisan drwxr-xr-x 2 rashi rashi 4096 Apr 4 11:11 bin drwxr-xr-x 2 rashi rashi 4096 Apr 4 10:55 bootstrap -rwxr-xr-x 1 rashi rashi 930 Apr 4 10:55 composer.json -rw-r--r-- 1 rashi rashi 95952 Apr 4 10:55 composer.lock -rwxr-xr-x 1 rashi rashi 412 Apr 4 10:55 CONTRIBUTING.md -rw-r--r-- 1 rashi rashi 34519 Apr 4 10:55 LICENSE -rwxr-xr-x 1 rashi rashi 566 Apr 4 10:55 phpunit.xml drwxr-xr-x 5 rashi www-data 4096 Apr 4 10:55 public -rw-r--r-- 1 rashi rashi 9811 Apr 22 11:36 README.md -rwxr-xr-x 1 rashi rashi 519 Apr 4 10:55 server.php -rw-r--r-- 1 rashi rashi 196 Apr 4 10:55 travis.yml drwxr-xr-x 24 rashi rashi 4096 Apr 22 11:28 vendor
drwxr-xr-x 2 rashi rashi 4096 Apr 4 10:55 commands drwxr-xr-x 7 rashi rashi 4096 Apr 4 10:55 config drwxr-xr-x 4 rashi rashi 4096 Apr 4 10:55 controllers drwxr-xr-x 4 rashi rashi 4096 Apr 4 10:55 database -rwxr-xr-x 1 rashi rashi 3005 Apr 4 10:55 filters.php drwxr-xr-x 3 rashi rashi 4096 Apr 4 10:55 lang drwxr-xr-x 2 rashi rashi 4096 Apr 4 10:55 models -rwxr-xr-x 1 rashi rashi 13769 Apr 4 10:55 routes.php drwxr-xr-x 2 rashi rashi 4096 Apr 4 10:55 start drwxrwxr-x 7 rashi www-data 4096 Apr 4 10:55 storage drwxr-xr-x 2 rashi rashi 4096 Apr 4 10:55 tests -rw-r--r-- 1 rashi rashi 155 Apr 4 10:55 validators.php drwxr-xr-x 7 rashi rashi 4096 Apr 4 10:55 views
Can you tell me what line 149 of app/config/app.php says?
'Datatable' => 'Chumper\Datatable\Facades\DatatableFacade',
Which package did you download? Clone from master, clone from develop, or did you grab a release? If so, which number?
clone from develop, ad8b95f07c53278316bcc
Hmm... I do see the following note on the Chumper repo: https://github.com/Chumper/Datatable#important
There was a pull request to change that line: https://github.com/snipe/snipe-it/commit/efad5db082d1461ea26556fad2f1671a49dc1480
I'm wondering if for some reason you're grabbing a pre-2.2 version of Datatables.
Can you try changing that line back to to
'Datatable' => 'Chumper\Datatable\Facades\Datatable',
and re-running. That's the only thing I can think of that's changed.
haa,, yes it works now. :dancer:
Interesting... the package.json should be pulling dev-master of Datatables, so I'm not sure why that fix broke things for you.
anyway its not an issue,, I have some problem with composer update
$ composer update Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1 - chumper/datatable dev-master requires orchestra/testbench 2.1.* -> satisfiable by orchestra/testbench[2.1.x-dev, v2.1.0, v2.1.1]. - chumper/datatable dev-master requires orchestra/testbench 2.1.* -> satisfiable by orchestra/testbench[2.1.x-dev, v2.1.0, v2.1.1]. - orchestra/testbench 2.1.x-dev requires laravel/framework 4.1.* -> satisfiable by laravel/framework[4.1.x-dev]. - orchestra/testbench v2.1.0 requires laravel/framework 4.1.* -> satisfiable by laravel/framework[4.1.x-dev]. - orchestra/testbench v2.1.1 requires laravel/framework 4.1.* -> satisfiable by laravel/framework[4.1.x-dev]. - Conclusion: don't install laravel/framework 4.1.x-dev - Installation request for chumper/datatable dev-master -> satisfiable by chumper/datatable[dev-master].
Can report exact same issue, Chumper with change to DatabaseFacade requires new Orchestra version which requires new Laravel version which causes update to puke, since installed Laravel is 4.0.*.
I'll take a look at this tonight, sorry for the hassle guys.
What happens when you bump the lavavel version on composer.json to "laravel/framework": "4.1.*",?
I'm going to try to upgrade the package to Laravel 4.1 tonight, since this seems to be a recurring problem. Hang tight please.
I've updated the package to use Laravel 4.1. Can you all try running:
php composer.phar dump-autoload
and then
php composer.phar update
And let me know if it works for you?
If you run into a weird error like
Error Output: PHP Fatal error: Call to undefined method Illuminate\Foundation\Application::registerCoreContainerAliases() in /var/www/
html/vendor/laravel/framework/src/Illuminate/Foundation/start.php on line 106
Then try removing bootstrap/compiled.php and your vendors dir, and re-running php composer.phar update.
Because of a change in the way environmental variables are handled in 4.1, you'll need to make a change to your start.php to use only hostnames, not URLs, but otherwise everything should go smoothly. (I hope.)
I'm setting up Travis-CI on this tonight as well, even though we don't have any real unit tests yet, just to make sure the setup passes with new pull requests.
Again, apologies for the hassle.
@jakemcgraw - I know you mentioned adding the calendar functionality. The changes I pushed through to master/develop shouldn't monkey with that too much. The upgrade was pretty painless, and affected files you likely wouldn't be modifying.