Posts by Matheus Ilário • 361 points
14 posts
-
0
votes1
answer199
viewsA: Using Apache2 Virtual Hosts with Vagrant
in windows hosts file 'C: Windows System32 drivers etc ' add the IP you configured in Vagrant file and the domain you want. In Apache you configure this domain to access the folder of your project.…
-
1
votes0
answers202
viewsQ: Moodle files do not load
Good evening, I uploaded Moodle that worked on wamp for a lodging and when I try to access the course materials they do not carry. PDF files show the following error 'Error: Bad end offset: 475840'…
moodleasked Matheus Ilário 361 -
1
votes1
answer686
viewsQ: Laravel 5 authentication shows no errors
Good afternoon, I am using Laravel 5 to redo a system and on the login screen when authentication is not made the user is redirected to the form again but I can not return any error. Model User…
laravelasked Matheus Ilário 361 -
2
votes3
answers309
viewsA: Postgres SQLSTATE[42725]: Ambiguous Function
I am using Laravel 5 and my query was: DB::update("UPDATE bemed_produto.categoria_departamento SET left_categoria = (left_categoria + ?) WHERE left_categoria >= (CASE WHEN ? > ? THEN ? - ?…
-
4
votes3
answers309
viewsQ: Postgres SQLSTATE[42725]: Ambiguous Function
I am trying to perform the update to follow using Postgres but I am coming across the following message. Does anyone know a way to resolve? "SQLSTATE[42725]: Ambiguous Function: 7 ERROR: operator is…
-
0
votes1
answer372
viewsA: display posts in multiple columns sorted by categories
I use it as follows: <?php $args = array( 'post_type' => 'noticia', 'posts_per_page' => 3, //Número de posts 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' =>…
-
7
votes1
answer1843
viewsQ: Multiple schemas in Laravel 5 database
Good afternoon guys, I am redoing a system and adopted the Laravel 5. In this system I have several schemas in the database and the solution I found was to work with a connection for each schema, as…
-
0
votes2
answers620
viewsA: Page with even post_type wordpress Slug
Good morning, I had a similar problem once. The page and the Custom Post Type had the same Lug and to solve I always used singular name for Custom Post Type, in your case it would be product instead…
wordpressanswered Matheus Ilário 361 -
2
votes4
answers930
viewsQ: Optimize loading of images
Good morning, I have a Bootstrap Carousel that occupies the entire screen. I would like to know the methods used to optimize the loading of the images of this Carousel and the page as a whole. I am…
-
0
votes0
answers30
viewsQ: Send Xmlhttprequest() to a class method
Got some way of doing request.open('post', 'server.php'); call a direct php class method instead of calling a file?
-
3
votes1
answer1058
viewsQ: Catch Return Xmlhttprequest send
Good afternoon, I am using the following code to upload images: function uploadImage($form){ $form.find('.progress-bar') .removeClass('progress-bar-success') .removeClass('progress-bar-danger'); var…
-
0
votes1
answer564
viewsA: How to Create Custom Homepage in Wordpress
Good afternoon, try creating another header.php file for the main page, for example header-home.php following the documentation http://codex.wordpress.org/Function_Reference/get_header…
wordpressanswered Matheus Ilário 361 -
1
votes2
answers1274
viewsA: Bootstrap News Slider
Try using the . clearfix class on the slider, take a look at the documentation http://getbootstrap.com/css/#helper-classes-clearfix…
-
0
votes2
answers90
viewsA: Bootstrap Responsive Wordpress
Good morning, I saw that you set width for .sidebar.col-Md-4 and .conteudo.col-lg-8. The classes "col-*" already have size defined by Bootstrap, it would be right for you to follow this part of the…