Questions tagged as 'laravel'

0
answers

Insert order detail in laravel

Good evening I'm working with laravel 5.4 the problem is that I have two tables an order and detail of order I made a shopping cart is all good with session to what I'm going is that when I want to insert the order table and order detail does no...
asked by 24.07.2018 / 03:49
1
answer

Do not update me Ajax Json

in the select that shows a list from an api in json <select id="Select"></select> He goes to the js function getData(){ $.ajax({ type: "GET", url: 'http://localhost:8000/api/api', dataType: "json", success:...
asked by 17.07.2018 / 21:54
1
answer

Error 500 when uploading my project in Laravel to shared server

Do a project with Laravel 5.6 and I'm trying to upload it to a shared server (000webhost.com), but I do not understand why I get 500 error, my version of PHP is 7.1, and the folder storage and all folders They have 777 permits. Can someon...
asked by 18.07.2018 / 17:04
0
answers

I have a web services, invoice, invoice_details, product of which I do not enter product

while ($i < count($detalles)) { //------------------Producto----------------// $id_producto = 0; $this->container['logger']->info("entro del while");...
asked by 15.07.2018 / 18:42
1
answer

Switch from HTTP to HTTPS except two URLs with .htaccess made in Laravel

I have a page made in laravel, it already has the SSL permission to be HTTPS. Let's say it's https://www.mipagina.com but I want the paths www.mipagina.com/dondeesta and the folders that are inside " empresa " www.mipag...
asked by 17.07.2018 / 05:28
0
answers

I already opened the template processor and made the changes that I need but I need help with the code that allows me to download the template already edited

$sheet = \PhpOffice\PhpSpreadsheet\IOFactory::load(Storage_path('baja_tension.xlsx')); //Seleccionamos la hoja $sheet->setActiveSheetIndex(0); //Obtenemos sus datos $activeSheet = $sheet->getActiveSheet(); $p=14;...
asked by 11.07.2018 / 17:30
0
answers

Use the datatables buttons?

I want to add the button to export to Excel with DataTables, but it generates the following error Uncaught TypeError: $(...).DataTable is not a function as I investigate the error is due to load the datatables script first before the jque...
asked by 11.07.2018 / 17:43
0
answers

Problem with migrations in Heroku-Laravel 5

I am doing deploy of an app made in laravel but I have problems when executing migrations, estpy using postgresql heroku as BD but in local use Xampp in my file database.php I have: $host = env('DB_HOST', '127.0.0.1'); $database = env('DB_DATA...
asked by 13.07.2018 / 15:27
1
answer

Laravel- No 'Access-Control-Allow-Origin' header is present on the requested resource

Display my app in heroku and some icons do not load, I get this error ... Access to Font at ' link ' from origin ' link 'has been blocked by CORS policy: No' Access-Control-Allow-Origin 'header is present on the requested resource. Origin '...
asked by 10.07.2018 / 03:11
0
answers

Reset password does not work

I have just started a new laravel project, and the problem I have is that after making the php artisan make:auth command the login, the registration and the user recovery form are generated, all perfect. I configure the mail and everyt...
asked by 09.07.2018 / 11:00