Interesting questions
-
0
votes1
answer1506
viewsNot found class in Controller
The model only gives NOT FOUND in a controller that manages News. ERROR: Fatal error: Class 'App Models Site Noticiamodel' not found in C: xampp htdocs Managercontent App Controllers Site…
-
9
votes1
answer285
viewsHow does the LED lightweight encryption algorithm work?
I would like to better understand the functioning of the algorithm LED step by step, mainly the process of substituting and permutation of the blocks and mainly the use of the keys in each round.…
-
1
votes0
answers57
viewsSeveral Updates from a select RAND
UPDATE `tabela` SET `Relacionar_A` = (SELECT `Relacionar_A` FROM `tabela` WHERE `Relacionar_A`='' ORDER BY RAND() LIMIT 2) I can do the update single, only 1 record from the select. What I would…
-
7
votes3
answers2562
viewsSort SQL by 1,2,3 instead of 1,10,2,3
I have a name field in a table that has the following data: 1-Course 2-Course 10-Course When ordering by name it returns 1,10,2. How to make order to bring: 1,2,10 ? Ps: The field is NVARCHAR.…
-
-1
votes1
answer54
viewsProblem-Reading XML with PHP
I have the following XML: <nfeProc xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"> <NFe xmlns="http://www.portalfiscal.inf.br/nfe"> <infNFe…
-
2
votes1
answer299
viewsSave items from a Checklist form in the database - Laravel
I have a Checklist form that is generated dynamically. When saving the array persists in the error message: Array to string Conversion (SQL: update checklist_protocolo set projeto_id = 4, modelo_id…
-
0
votes0
answers61
viewsROLLUP and HAVING in the same consultation
The query below returns the sum of 24 accounts, using the ROLLUP and without the clause HAVING, so far so good, but when I use the clause HAVING shortly after the ROLLUP should return me the sum of…
-
-2
votes2
answers52
viewsCaptcha error with Magento: Call to a Member Function getBlockName
I manage a virtual store, the site is off the air and when I access the administrator gives this error: Call to a Member Function getBlockName() on a non-object in…
-
0
votes1
answer561
viewshow to insert 2 different recipients for sending form
I need the contact form to be sent to 2 different emails, the PHP code is working right, I just need to know where to insert the 2nd destination email: <?php $nome = $_POST['nome']; $idade =…
-
5
votes2
answers22077
viewsGit does not send commits to server. Error: Everything up-to-date
When giving the command: git push origin master git does not send the information and gives the following error: Everything up-to-date I realized that the master of my local repository is not…
-
1
votes0
answers275
viewsHow do I view downloaded images through the URL in a Listview?
The code I have so far is as follows:: import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import…
-
2
votes2
answers3195
viewsError importing data . csv to Rstudio
When I will import and create a file my data to the R it error... I tried the following way: melipona <- paste(system.file(package="dismo"), "/ex/Melipona.csv", sep=";")…
-
2
votes1
answer59
viewsAngular ui router plus PHP
Currently I have an array in php that I convert to JSON using json_encode json and generated smoothly. $array = array('a' => 'Olá mundo', 'b' => 'Olá Marte'); $array = json_encode(array);…
-
14
votes1
answer368
viewsWhat is abstraction and how does it influence the creation of functions?
I was reading a answer about Python user’s @Cool in which he mentions the term abstraction in relation to complexity, functions and object orientation, see: What you can do if you can’t change the…
-
0
votes1
answer239
viewsError Defining Headers-Authorization in Data Return in Axios
I’m trying to set the headers - Authorization after a request via Xios, this request returns the token that is generated on the server, in line 7 of the code below assign the token that is returned…
-
0
votes2
answers112
viewsReactivate form to closure of other
I have a form main and from this form I click on a button and open another form, So when I open this other form I disable the main one, so that’s okay, so I wanted when the user closes the second…
-
2
votes2
answers113
viewsisinstance() does not produce the expected result after a data entry
I made the following example of factorial using function isinstance(). def factory(n): if not isinstance(n,int) or n<0: print('NAO E NUMERO INTEIRO VALIDO:\n') return None if n==0: return 1 else:…
-
0
votes0
answers42
viewsI can’t connect to the database
Hello good night I am studying php, but when it comes time to make connection with the BD, does not connect at all, the names of the bank are correct, the already imported the bank and nothing…
-
1
votes1
answer55
viewsFile is being sent out of the defined folder with the move_uploaded_file method
Hello, I am making a system where I previously create a folder, and later I upload the file (later I will treat whether it is image or video), the problem is that the method move_uploaded_file is…
-
-1
votes1
answer64
viewsFilter with select using Javascript and php
Hi, I’m trying to make a filter according to the option that is chosen in a <select>. I have a button that executes the function created in javascript. I have variables declared in php, and I…