Posts by Michel Diniz • 141 points
17 posts
-
2
votes1
answer83
viewsA: Migration in more than one bank
I managed to solve! For those who need follow the solution: Schema::connection('bookmateriais')->create('locais', function (Blueprint $table) { $table->bigIncrements('id');…
-
1
votes1
answer83
viewsQ: Migration in more than one bank
I need to turn the remote php artisan migrate and each Migration go to your respective database, I have the following code on .env: DB_CONNECTION=mysql DB_HOST=163.25.138.18 DB_PORT=3306…
-
0
votes0
answers59
viewsQ: Web Browser does not load link by Navigate win form c#
Good afternoon, I am doing a test to create a Webscraping in c#, but does not load the page in the web form, presenting the javascript error Can anyone help with this mistake?…
-
2
votes3
answers1024
viewsQ: ERROR: No application Encryption key has been specified
Good morning, I’m trying to download a template on this link: https://itsolutionstuff.com/post/php-laravel-57-create-admin-panel-exampleexample.html But at the time of the command : php Artisan…
-
1
votes1
answer226
viewsQ: Query problem using DB Where/orWhere Laravel
Good afternoon friends, I’m having problems with a query using DB in the Windows, I put a clause Where and another orWhere and a whereBetween, but it is not going through the between, and when…
-
0
votes1
answer505
viewsQ: Check if date is valid in Mysql database
Good afternoon programmers, I have a problem in the trial where I need to print all the dates of the month, I created a loop until the day 31, but there is month that is less days that gives error,…
-
1
votes1
answer441
viewsA: Laravel design error 5.7
I managed to solve it, in case someone has this kind of problem, I always used php 7.2, then another programmer came and installed php 7.0 to run another project, when I returned php 7.2 on my…
-
0
votes1
answer441
viewsQ: Laravel design error 5.7
My project started presenting the error below when I run any command php artisan ...: $ php artisan --version PHP Fatal error: Uncaught ReflectionException: Class config does not exist in…
-
2
votes2
answers1849
viewsQ: Create Controller in a specific folder in Laravel?
I’m with a little doubt that came to me, I’m learning Laravel, and so far to create a controller I used the command php artisan make:controller, he leaves the controller in the briefcase Controller…
-
1
votes0
answers55
viewsQ: Import code in React Enable windows for Mac
I’m having a question with React Native. If I develop in the environment Windows, how do I pass this code on Mac to distribute the project to Android and IOS?…
-
1
votes1
answer56
viewsQ: Check whether multiple inserts have been successfully completed in Aravel
Good morning programmers, I have an application that has a report with several insertions, I need to know if all were executed successfully, I’m using the DB library: DB::insert('insert into…
-
0
votes0
answers38
viewsQ: Problem with file upload with ajax/jquey and Laravel 5.7
Good morning friends, I need to make a request in ajax with Aravel 5.7, but for some reason ajax is only processing and does not return a response, follow the code: Ajax: jQuery.ajax({ url: "{{…
-
0
votes2
answers108
viewsA: Loop form on the Laravel
Good afternoon friends, just passing to inform that I found a simple solution to this problem, I used the javascript session, because the object was simple, send information from one page to…
-
0
votes2
answers108
viewsQ: Loop form on the Laravel
Good morning, I’m trying to make a form in a loop for each row of the table, when the user clicks the button on a row, picks up the data from that row and loads on another page, but for some reason…
-
1
votes1
answer1193
viewsA: Pass parameter for route in javascript in Laravel
I managed to solve, follow the code in case someone is with this same problem: $(document).ready(function () { fetch_customer_data(); function fetch_customer_data(query = '') { $.ajax({ url:"{{…
-
0
votes1
answer1193
viewsQ: Pass parameter for route in javascript in Laravel
Good afternoon, I have a question about parameters in laravel that I didn’t find on the site, I have a route like this: Route::get('busca/{id}', 'MatriculasController@busca'); passing a parameter to…
-
-3
votes1
answer256
viewsQ: Crud with Eloquent Laravel
I’m trying to do a CRUD with Eloquent Laravel in 2 tables with FK AND PK, but I’m not succeeding, already have the models just missing the CRUD function even, someone can help me? This is model with…