Posts by Bruno Duarte • 737 points
30 posts
-
0
votes0
answers21
viewsQ: Error trying to use Magento API SOAP 1.9
I’m trying to consume Magento’s SOAP API through the examples shown in documentation of the People themselves, but I’m getting the following error: Fatal error: Uncaught Soapfault Exception: [WSDL]…
-
0
votes0
answers10
viewsQ: Keyboard opens by clicking on product image in mobile
I am facing a problem of bad behavior of the html elements in the mobile mode of my page. Every time I click on the product image, the keyboard opens before being redirected to the url the link…
-
0
votes2
answers120
viewsA: How to customize user validation rule with multiple access levels?
I was able to find a solution... The idea I had was this: Create a FormRequest Define validation rules for each form field. Create a Rule specific to validate the e-mail. Call this Rule in the…
-
-1
votes2
answers120
viewsQ: How to customize user validation rule with multiple access levels?
I need to do a validation in the user registration where an email can only be validated if in the table users your level of access is not company level. On the table users, there is already a field…
-
2
votes1
answer193
viewsQ: Using $this when it’s not in the context of the object
I am trying to create a PHP class that connects to the Mysql database and am getting the following error: Fatal error: Using $this when not in Object context Connectdb.class.php class ConnectDB {…
-
0
votes1
answer97
viewsQ: Error installing Laravel 5.6 with Docker
I’m trying to set up the laravel 5.6 in the image of Docker, but when executing the command: docker run -it --rm \ -v $(pwd):/app {user_dockerHub}/docker-laravel \ composer create-project…
-
2
votes1
answer1324
viewsQ: What’s the lighting for?
Currently I have ventured into the framework laravel and in some cases I came across a command in the header of my files just below the namespace called illuminate. For example: use…
laravel-5asked Bruno Duarte 737 -
0
votes1
answer31
viewsA: How to get the log record of the `Cakelog::write()`method?
I’ve been researching the log records archive in the documentation of the CakePHPand I found a file called debug.log in the directory at ./app/tmp/logs/ where it shows the records of the actions of…
-
0
votes1
answer31
viewsQ: How to get the log record of the `Cakelog::write()`method?
I’m studying about the logs of cakephp and in my code I added the following line for all actions of INSERT, UPDATE and DELETE of my system of crud. Cakelog::write('debug', 'mensagem de exemplo de…
-
0
votes1
answer640
viewsQ: How to select the records of a high box table in postgres?
I need to select all records from a table where the letters of a given column are in the upper case (Uppercase). Is there a function that does the case/minuscule differentiation in POSTGRES? Here is…
-
0
votes1
answer123
viewsQ: How to find the most updated tuple in postgres?
Amigos. I am having difficulty recovering the most current mileage of a vehicle when it arrives at the company. The identification of the tuple is by the date of arrival of the vehicle in the…
-
0
votes1
answer196
viewsQ: Error declaring an interface to the class in PHP?
I’m having trouble declaring a interface to a classe in the PHP where I’m encapsulating the entire program with namespace. I created a interface calling for Yargle in the directory Cnab\Remessa and…
-
0
votes1
answer4866
viewsQ: I cannot access my project in Laravel 5 using Xampp
I started studying the Laravel 5 and I was able to install the commiserate and the php framework. I did some testing after the installation worked perfectly a wonder, I turned off my machine and the…
-
2
votes2
answers754
viewsQ: How to change the last 100 table records in the Postgresql database?
I need to change a table field in my database to perform some tests, and would like to update only the last 100 table records. I’ve tried that code: UPDATE titulo SET autorizado='S' ORDER BY…
-
0
votes1
answer438
viewsQ: How do I handle data from a Date search in the Where clause in Postgres?
I have a screen where I have a list of a company’s payment titles, and I need to do a dynamic search from the issue date of the title. The idea is that when the user enters the date in a search…
-
3
votes1
answer2293
viewsQ: How do I add a new column between 2 columns in Postgresql?
How do I add a new column between two existing columns in my Postgresql database? In Mysql I use the function AFTER to add one column after another, and in Postgresql? How do I do this? SQL ALTER…
-
6
votes1
answer688
viewsQ: How to print music sheet music in PDF?
I’m developing a website for a church where music scores will be available on a particular part of the website for the orchestra members, and I have no idea how to do that. I was thinking of using…
-
1
votes3
answers16826
viewsA: How to create an array within another array with jQuery
SOLUTION The solution I found was this: https://jsfiddle.net/2p4yvoue/1/
-
6
votes3
answers16826
viewsQ: How to create an array within another array with jQuery
I’m trying to create a array in jQuery using the . push() function where each element should contain another array within it. The structure I need to create is this: array( 'elemento1' => array(…
-
4
votes3
answers2883
viewsA: Insert combobox data into a SELECT
Thiago the HTML is wrong, in the tags <option> change the attribute of idfuncionario for value. JQUERY $(document).ready(function(){ $("#usuario").on("change", function(){ $.ajax({ url :…
-
2
votes1
answer1048
viewsQ: How to show the data of an XML file in an input field with jquery?
I am having to develop a function that reads the information that is in the fields of a file of type . xml in PHP and trying to return this information in the form fields. More so far I can only…
-
2
votes3
answers877
viewsQ: Doubt in Insert, update and delete with Codeigniter Framework?
I have a question related to insertion, alteration and removal of records in the Mysql database. For example, imagine a banknote table, where all the information in that note is recorded, such as…
-
0
votes1
answer764
viewsQ: How to translate codeigniter error messages?
Guys, how do I translate the error messages that codeigniter displays? Where can I download the files and how to set up? Already I am grateful! vlw.
-
0
votes1
answer565
viewsQ: How to make a sliced layout using the codeigniter framework?
I’m trying to create a system CRUD using the basic codeigniter, where the page header and footer remain fixed and the content dynamic, but I have no idea how to do that. Someone can help me?…
-
10
votes5
answers17262
viewsQ: How to use ajax and php to call a function in php?
I’m having difficulty requesting a PHP function via Ajax AJAX code: $.ajax({ url: 'geraSenhaProvisoria.php', type: 'POST', cache: false, data: {geraSenha(6, true, true, true)}, error: function() {…
-
7
votes2
answers1803
viewsQ: How to recover the number of characters via regular expression?
How to know the number of repeated characters (example: Goitobto = 2 letters to), consecutive characters (sequence of letters abc..) and consecutive numbers (example: 12345..) within a word, using…
-
2
votes2
answers62
viewsQ: Error in counting uppercase characters
I’m creating a role in jquery where the user enters his password, this function identifies how many uppercase characters are in this password, to calculate the strength of that password. I even…
-
1
votes1
answer928
viewsQ: Informative input, how to do?
Good afternoon, you guys! I am making an informative form with the Bootstrap Framework, where in some fields should appear an informative balloon on top of the field (type a dialogue balloon),…
-
3
votes1
answer103
viewsQ: Possible bug input number in firefox
I was developing a calculation where I used a number field and a text field, where in the number field the user would inform the amount of an item and the text field would give the value of the…
-
3
votes1
answer573
viewsQ: How to dynamically update a listing
I have a table where I list the amount of items in an order. And in each row I have a number of 01 to 15 sequential where identifies the amount of items. The problem is that when I delete an item,…