Posts by William • 730 points
74 posts
-
1
votes1
answer37
viewsA: would like to know how to position list with links next to images with html and css
Your question was not very clear, but I think you want to leave the social network links horizontal along with your name and each respective link. Your Html <ul class="links"> <li> <a…
-
0
votes1
answer28
viewsA: Return three different values between two tables that have no relationship in Mysql
Your case is solved with a simple INNER JOIN, has tried to do the following select: SELECT pessoa.nome, pessoa.data, cartao.numero FROM pessoas AS pessoa INNER JOIN contas AS conta ON conta.id_conta…
-
0
votes1
answer32
viewsA: MVC switch from partial view with select control
I think it is easier to render all view partitals and control their visibility through Dropdown by Jquery. For example: ( https://jsfiddle.net/1mL94qu7/ ) Your code would look something like this:…
-
1
votes1
answer167
viewsA: Axios instance does not return in nodejs export
The solution was to export the entire Axios instance itself, and make modifications before exporting it: var axios = require('axios'); axios.defaults.baseURL =…
-
1
votes1
answer167
viewsQ: Axios instance does not return in nodejs export
I’m trying to return the instance created through the module.exports, but when I try to use it it gives me that mistake: http(...). get is not a Function My http-common.js file var axios =…
-
0
votes0
answers190
viewsQ: Parse error while uploading images from Xios
I’m trying to send images via POST method in Xios, but when I run the script, it gives me this error: error: { code: 500, error_id: 'server_error', description: 'Error parsing request into form…
-
0
votes1
answer45
viewsA: My form does not save the data in the database
Your form has none url to be directed, put this in your form so that it is directed to your controller and he will be able to collect the data. {{ Form::open(['url' => 'sua-rota-aqui']) }}…
-
1
votes1
answer271
viewsA: return data from a select in the modal
Instead of doing this: $('select[name="dependencia"]').val(data.Dependencia); You’d have to do it $('select[name="dependencia"]').val(data.DependenciaId); so he can find the one option within your…
-
4
votes1
answer98
viewsQ: Bug to popular a Data Gridview in Window Forms
To popular my grid the values are not aligned correctly, as the image below. This is my Load Form code: DatabaseRepository db = new DatabaseRepository(); var colunas = db.GetColumnsName(); var…
-
0
votes1
answer34
viewsA: Problem iterating an array in php
The problem was solved by taking out the second for and iterate in just one loop $array = array(1, 2, 3); $arr1 = array(3, 4, 5); $data = []; for($i = 0; $i < count($array); $i++){ $data["ser"] =…
-
0
votes3
answers210
viewsA: clear field if only html tags exist in text field
I suggest you use Regex to check if there are characters inside the tags. Regex regex = new Regex("[a-z]"); var html = "<p></p>"; Match match = regex.Match(html); if…
-
0
votes1
answer33
viewsA: Error in automatic filling
So Fabrício believe that in its function is missing the return of it, through the array $valores past office json_encode() function retorna($id, $conn){ $result_aluno = "SELECT * FROM serialnumbers2…
-
0
votes1
answer57
viewsA: Datatable bootstrap Options
Try to use the retrieve of Datatable <script> $(document).ready(function () { $('#tableClientes').DataTable({ retrieve: true, "scrollY": false, "scrollX": true }); }); </script> There is…
-
1
votes1
answer34
viewsA: How to concatenate js into php function
In your case, as your function lies within your controller responsible for its requests and you’re using the architecture MVC, the correct would be through the javascript you call that your function…
-
0
votes0
answers40
viewsQ: Automapper mapping returns Zeroed values
I have the following problem, when executing a query of a procedure, its response to being mapped returns the values of the properties with null value. My Datareader with Automapper Mapping public…
-
0
votes1
answer167
viewsA: Error When Mapping Idatareader with Automapper
The problem was solved by configuring the Automapper so that it dynamically changes the object, through the CreateMissingTypeMaps. Follows the Code: public List<T> DataReader<T>(string…
-
0
votes1
answer167
viewsQ: Error When Mapping Idatareader with Automapper
I have this typing error when trying to map a Sqldatareader coming from a previous, mapping with Automapper Error An unhandled Exception of type 'Automapper.Automappermappingexception' occurred in…
-
1
votes0
answers45
viewsQ: Mongoclient returns empty when selecting a Collection
I’m using the Mongodb Atlas with bank,and the Mongodbdriver to make the connection, but when selecting my Collection it returns empty instead of returning the collection data. My connection: class…
-
1
votes1
answer624
views -
1
votes1
answer36
viewsQ: Sort 2 arrays with different sizes in jQuery
I have the following problem, in my scenario I am capturing the Ids of a checkbox, I have a list of JSON objects where I need to compare these Ids with the Ids from the list of JSON objects. The…
-
1
votes2
answers601
views -
1
votes2
answers601
views -
0
votes1
answer62
viewsA: Error deploying to Azure Service Apps
Because it is a server IIS, just create the file web config. inside the briefcase public of its application with that content: web config. <?xml version="1.0" encoding="utf-8"?>…
-
0
votes1
answer62
viewsQ: Error deploying to Azure Service Apps
I am having the following problem, I am using the deploy service of Azure, I am trying to upload an application in Lumen ( php ). I can even go up but when I make a request inside the application…
-
-1
votes2
answers76
viewsA: Problem with PHP Search Engine
In case you are really managing to do the search and it is returning you the results, what is missing is you display them. Inside the loop while replace with this: while($rows_sql =…
-
0
votes0
answers82
viewsQ: Unauthorized Text to Speech Watson IBM
I have a problem trying to make a request through the text-to-Speech api, when trying to make the request it gives the following error: { "code": 401, "error": "Unauthorized" } My JS code $(function…
-
0
votes1
answer70
viewsQ: Error while escaping an express js url from a middleware
I’m having a problem escaping a Url of the validation of Token. I’m using the lib jwt (jsonwebtoken) to restrict accesses to my api request, but I want to leave the url /imagem/:parametro without…
-
1
votes2
answers454
viewsA: How do I pass an id through the url using Codeigniter?
Your route archive must have two routes: One to list all products and one to list a specific product by product id. Routes.php //Lista produto $route['produto'] = 'produto/index'; //Lista produto…
-
-2
votes1
answer935
viewsA: Trying to get Property 'email' of non-object
I never used the E-mail Trigger, but this one worked for me $dados = array('email' => 'destinatário', 'assunto' => 'assunto do email', 'from' => remetente' );…
-
0
votes2
answers433
views -
0
votes1
answer57
viewsQ: Error creating custom ASPNET MVC validation ( Client Side )
I’m having a problem creating a custom validation using dataannotations by aspnet mvc. My Model: public class Usuario { public string Nome { get; set; } [Idade(18)] public string Senha { get; set; }…
-
1
votes1
answer224
viewsA: Error building with Jenkins and Msbuild
Well, given a little research I realized that Nuget has to be installed. So I installed it and put it in the root directory of my machine "C:". There in the build JOB settings I added in a new step…
-
1
votes1
answer224
viewsQ: Error building with Jenkins and Msbuild
I’m trying to create a build job in Jenkins, I’ve already set up the folder where he searches the Msbuild.exe and also the plugin however at the time I put it to run gives this error: ` C: Program…
-
2
votes1
answer182
viewsA: How to cover this connection and code with DB for PDO with charset utf-8?
The PDO connection is simple, to leave it as utf8 just use the code below. <?php //export.php if(isset($_POST["export"])) { try { $host = "localhost"; $user = "root"; $pass = "root"; $dbname =…
-
0
votes0
answers337
viewsQ: Inner Join problems on Dapper
I have the following problem, when I make a Inner Join in 3 tables the Dapper does not bring me all the columns of the 3 tables but only the one of my father table Inner Join ( or is the first table…
-
0
votes1
answer271
viewsQ: Problems traversing nested json
I have a sponse in json I’m having a problem walking through it, the first is that I can only get to a part of the json and not at the value I want, the second that is conseguente of the first is…
-
0
votes0
answers73
viewsQ: Error setting coordinates in google maps with Vue js
I’m having a problem setting the points (Makers) of the javascript api google maps. When I get the coordinates of the variable, and Seto in my map it restarts the component and erases the value of…
-
1
votes0
answers37
viewsQ: How to take "x_" from Html tags in outlook with ASPNET
I am having the following problem when sending an email with my application, at the time of opening the email, the Outlook provider modifies the template tags by putting the "x_" at the beginning of…
-
0
votes0
answers440
viewsQ: Error executing a Trigger ORA-04092: not possible on a trigger
I have the following problem: - I’m not able to perform a job (Scheduling) after an Insert rescued by Trigger. Row 2: ORA-04092: not possible on an ORA-06512 trigger: in "SYS.DBMS_ISCHED", line 135…
-
0
votes0
answers238
viewsQ: Error connecting Codeigniter with Oracle
I am trying to connect the codeigniter with oracle and is giving this error: Fatal error: Call to undefined function oci_connect() in C:\Apache24\htdocs\system\database\drivers\oci8\oci8_driver.php…
-
0
votes1
answer34
viewsQ: Problem iterating an array in php
I have the following code. $array = array(1,2,3); $arr1 = array(3, 4, 5); $data = []; for($i = 0; $i < count($array); $i++){ $data["ca"] = $array[$i]; for($k = 0; $k < count($arr1); $k++){…
-
0
votes0
answers221
viewsQ: I’m having trouble connecting the codeigniter on oracle
I’m having two problems configuring the connection with oracle. A PHP Error was encountered Severity: Notice Message: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed…
-
0
votes1
answer114
viewsA: Error loading Codeiginiter library database
In the httpd.conf on the last line I put the PhpIniDir + the path in which php.ini was installed
-
1
votes0
answers300
viewsQ: Error creating virtual host in Apache 2
When I try to create a virtual host in apache I can’t access it I’ve followed the following procedure: Go to the C:\Windows\System32\drivers\etc\hosts and put the 127.1.0.1 meusite.dev Go to the…
-
0
votes1
answer114
viewsQ: Error loading Codeiginiter library database
I have the following error in codeginiter: A PHP Error was encountered Severity: Error Message: Call to Undefined Function mysqli_init() Filename: mysqli/mysqli_driver.php Line Number: 135…
-
0
votes1
answer231
viewsQ: Datatables Jquery does not render column button in Codeigniter
I’m trying to put action buttons on my table through the datatTable plugin. My Javascript code $(document).ready(function(){ var table = $('#dataTable').DataTable( { "processing": true,…
-
1
votes1
answer404
viewsQ: Error creating a table with sequelize "Typeerror: Cannot read Property 'sequelize' of Undefined"
I have the following error when trying to create a table: const Usuario = app.db.sequelize.define('user', { Typeerror: Cannot read Property 'sequelize' of Undefined My folder structure: My…
-
0
votes2
answers214
views -
2
votes1
answer593
views -
3
votes1
answer58
viewsQ: I can’t get value from date-Object
There is the following problem I have several inputs listed with the same css class, but I need to take a data-attribute from each one by clicking on the respective input to get its attribute value:…