Questions tagged as 'laravel'

0
answers

No such file or directory (SQL: select * from 'companies')' laravel

I'm trying to make my first API with Laravel / PHP. I'm trying to test with php artisan tinker : var_dump( App\Company::all() ); However, I get:    Illuminate / Database / QueryException with message 'SQLSTATE [HY000]   [2002] No suc...
asked by 18.08.2018 / 22:34
1
answer

Relationship counting in Laravel 4

In Laravel 4, we do not have the method present in Laravel 5.2 > = called withCount . This withCount is responsible for adding to the SELECT the count of items related to the current entity. For example: $u = Usuari...
asked by 09.08.2018 / 14:22
1
answer

Architecture Laravel

I am doing a system in Laravel, however this system will serve several users, and these users could register their clients. The big question is, in order not to be all in one database, I thought every time the user registered in the applicatio...
asked by 10.09.2018 / 07:16
1
answer

Popular Select with Laravel database records 5.6

Good afternoon. I'm having difficulty popping a select with records from my database. I have an employee table that relates to 3 other tables (Cargo, Sector and Department). Currently I can only select select if the registry is in the view...
asked by 08.09.2018 / 22:28
0
answers

Logical Doubt Generation of rounds Laravel

I have a championship management system in Laravel. The system works perfectly, but I am having problems generating rounds, I need that regardless of the number of groups registered, the system can generate the championship rounds, I am doing th...
asked by 19.07.2018 / 14:53
0
answers

Fullcalendar can not make the call

Good evening everyone is using the template limtless in my application laravel but I can not use the part of Fullcalendar I'm trying to use this calendar: Internationalization but I can not call it in code type: var calen = new fullcalenda...
asked by 18.07.2018 / 03:48
0
answers

The requested URL was not found on this server laravel

My .htacces <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(...
asked by 29.06.2018 / 00:27
1
answer

Laravel - view does not work [closed]

I'm having problems: I'm editing a site and the Laravel view is only working in / and when I put another type http://localhost/blog/public/Termos it gives as it had not found codig routes: Route::get('/', 'SiteController@index');...
asked by 21.06.2018 / 20:55
0
answers

API when online, returns: 'Route [login] not defined'

I'm testing an API that I'm developing, in localhost I'm able to do a particular request and it returns everything to me 'ok'. When doing the same test on a server, it is returning a ' Route [login] not defined. ' Being that I am not associa...
asked by 21.06.2018 / 02:06
0
answers

Problem using Route :: resource on production server

I'm making a system using Laravel 5.6 Upload to a server I have and access it externally But I'm having problems when the route uses resouce, for example: Route::resource('materiais', 'MaterialController'); The routes that I created...
asked by 22.06.2018 / 21:32