Posts by Fernando Santana • 71 points
16 posts
-
0
votes2
answers159
viewsA: how do I restore a value of a Session object in the Laravel?
I found the bug, the property written -items is a private array, when the makes public can be accessible by showing as a positive sign.
-
1
votes2
answers159
viewsQ: how do I restore a value of a Session object in the Laravel?
hello, I have this Session object and cannot access the arrays. How do I? Itero? Which loop would you use to have a certain arrays position? Cart {#268 ▼ -items: array:2 [▼ 2 => array:5 [▶] 1…
-
0
votes3
answers220
viewsA: Why "Domcontentloaded" only works after Ctrl+F5
Solved, I added a note and managed to keep the loop, the problem was in loading the list, var list = document.getElementsByClassName( 'morph-button1' ); Follow the example of how it turned out.…
-
1
votes3
answers220
viewsQ: Why "Domcontentloaded" only works after Ctrl+F5
I have some problems with document.addEventListener("DOMContentLoaded" in the following section. I can only get the values of list when I activate the Ctrl+F5. I need to have it when first loaded. I…
-
0
votes0
answers88
viewsQ: How to pass more than one Can middleware in the Aravel?
Hello, I need to pass several defines for a route, for example admin, annual plan, and new-user, when I put can in middleware it only identifies the first parameter. Authserviceprovider.php…
-
1
votes0
answers192
viewsQ: en datepicker does not work in Adminlte 2
Hello, I’m developing a panel and I need the datepicker in Portuguese, I tried to modify the js file itself but the dates disappeared. $('#datepicker').datepicker({ autoclose: true,…
-
0
votes1
answer46
viewsQ: Massassignmentexception in Model.php line 444: users_id
I’m making a listerner to save when the user logs in, and prints the title error in User models. public function accesses() { // Não esqueça de usar a classe Access: use App\Models\Access; return…
laravel-5.6asked Fernando Santana 71 -
0
votes0
answers64
viewsQ: Broken image in Laravel 5.6 [Homestead]
I uploaded an image to my application when using php Artisan serves, today I am using the Homestead, when I went to look the application barred my url and does not let be displayed. <img…
-
1
votes1
answer219
viewsQ: SVG with bottom 0 on footer and still with white space
Good afternoon I have a problem in my layout, svg is in the footer position and I can’t remove the blank at the bottom of the page. I tried on the body I don’t think it’s his property. <svg…
-
0
votes1
answer216
viewsQ: preg_match_all, regular expression in php with variables
Hello I’m having difficulties in mounting the regular expression, and the function returns me 3 positions in the array all empty; preg_match_all('/<a data-role\="sku\"…
-
0
votes1
answer614
viewsQ: mkdir with problem in the permission of the created folder
When I create the folder, it creates but does not create with the correct permission, preventing you from creating the next folder, the chmod in the created folder comes 411.…
-
0
votes1
answer32
viewsA: I have two grouped entries but only one is changed in the update
I resolved with: @mysql_query("SET SQL_SAFE_UPDATES=0;", $conn1);…
-
0
votes1
answer32
viewsQ: I have two grouped entries but only one is changed in the update
I set up an update by grouping the field presenca which should change two arrays in a repeat loop, follows the query: UPDATE acessos AS a JOIN ( SELECT usr_id, presenca FROM acessos GROUP BY…
-
1
votes1
answer64
viewsA: Ajax taking only the first id
[Solved] I put an attribute in the check box and used attr(); Only doubt remains, type='Hidden' cause single effect on gift? $(document).ready(function(){ $('#btn_update').click(function(){ var id =…
-
1
votes1
answer64
viewsQ: Ajax taking only the first id
Hello, I’m updating a list with arrays and php, passing two presence parameters(ckeckbox) that returns true or false and id in Hidden, but id does not proceed in the loop getting the first id in the…
-
1
votes1
answer454
viewsQ: Problems with wp_mail( ); wordpress function
I developed a plugin for Wordpress, already tested on hostgator, worked correctly. When I put in Digital Ocean, the function wp_mail(); passes as true but does not send any email.…
wordpressasked Fernando Santana 71