Questions tagged as 'laravel-5'

0
answers

Problems with Laravel 5.5 and the htaccess on the server

I have a roll my project works locally to the hair, but when uploading it to the server it throws 404 from the main route and it goes there. This is my .htaccess file on the server inside the public / folder <IfModule mod_rewrite.c>...
asked by 17.11.2017 / 21:48
1
answer

I have problems ordering from top to bottom my join with query builder

I have problems ordering the query from highest to lowest by the date "created_at" it does not throw error and if it shows me the data of the query but only it does not order them you are the code $listado = DB::table('lotes')->join('produc...
asked by 22.11.2017 / 20:30
1
answer

Can you import data from an "Excel" to multiple tables? (Related tables)

I have a question, I want to upload an excel file and that this amount the information obtained. I upload it, but I do not know the form or the method (If it exists) to upload the file in several tables (It is a giant format, but it is normalize...
asked by 06.11.2017 / 16:17
1
answer

Laravel 5.1 - Error creating / using custom facade

Create a class, add the Service Provider and try calling a method, for example, "test ()" and it works. Next I create a facade in "app / Facades / MyClass.php": <?php namespace App\Facades; use Illuminate\Support\Facades\Facade; class...
asked by 30.10.2017 / 12:05
0
answers

How to edit and delete in One to Many relationships with eloquent in laravel 5.1?

I have a 3 tables which have the following relationships: Events Table: public function modalitys() { return $this->hasMany('Deportes\Models\Modality', 'events_id'); } Modality Table: public function disc...
asked by 29.10.2017 / 13:13
1
answer

How to read files of EDB / PST mail copies from PHP / Laravel?

I am trying to read from the framework "Laravel 5.5" and / or directly PHP (it would even be worth something that happened to MySQL or a database manager to later deal with it) backups of 1TB in total, distributed in files 100GB, 200GB (size is...
asked by 26.10.2017 / 13:55
1
answer

File js on vpn server

I have a dilemma, I'm working a char with sokect.io this is my .js let express = require('express') let app = express(); let http = require('http'); let server = http.Server(app); let socketIO = require('socket.io'); let io = socketIO(server...
asked by 03.11.2017 / 16:23
1
answer

Call constant attributes of a class from laravel blade?

Hello, I have the next class namespace App\Repository\Constants\Models; class InstanceModelContant { const ALREADY_DEMO = "Usted ya posee un demo."; const ALREADY_INSTANCE = "Ya tiene un servidor con estas caracteristicas."; const...
asked by 25.10.2017 / 19:39
1
answer

Modify connection to SQL Server from Laravel 5.5 to manipulate dates

According to what Taylor says here in this commentary: link    You probably need to override the database link in the IoC and inject a custom ConnectionFactory implementation into the database administrator. Who can help me to do this?...
asked by 27.10.2017 / 00:44
1
answer

Create custom view for Error Exception in Laravel 5.4

I would like to create custom error views, I have created the locations in Handler.php but when I have an error: ERROR_EXCEPTION is not redirected to the error view: 500 Should I create some extra view for this error? my code is: publ...
asked by 23.10.2017 / 02:04