Posts by Alexandre • 179 points
6 posts
-
0
votes1
answer107
viewsA: Problems using Entrust with Laravel 5.1
You need to put this on aliases of config/app.php: 'Entrust' => 'Zizaco\Entrust\EntrustFacade'
-
1
votes1
answer107
viewsQ: Problems using Entrust with Laravel 5.1
My OS is Linux, I installed Laravel 5.1 and was working correctly. I installed via Artisan the Entrust package and was configuring it following the instructions of…
-
2
votes2
answers253
viewsA: Get counter of objects associated with Laravel 5.x
On your model use class Projeto extends Model { public function pecas() { return $this->hasMany('App\Peca'); } } And to know the quantity use $count = App\Projeto::find(1)->pecas->count();…
-
-3
votes3
answers188
viewsA: How to share an android photo
Try this way: Uri uri = Uri.parse("android.resource://your.package.here/drawable/image_name");
-
1
votes1
answer147
viewsA: Post Too large - Glassfish
Try increasing the maximum Post size on the Glassfish administration screen (Configurations -> Network Config -> Network Listeners -> http-System).
-
0
votes0
answers512
viewsQ: Could not find backup for Factory javax.faces.context.Facescontextfactory
I am creating a project using Spring Boot + Primefaces but when trying to access the page I get the following error: Whitelabel Error Page This application has no Explicit Mapping for /error, so you…