Posts by Ruama • 297 points
32 posts
-
0
votes1
answer126
viewsA: Attributeerror: str Object has no attribute 'Train'
Hello, I was able to correct this error with the following changes in the code for epoch in range(training_epochs): avg_cost = 0. dataSet = tf.train.list_variables(mnist) total_batch = int(dataSet /…
-
0
votes1
answer126
viewsQ: Attributeerror: str Object has no attribute 'Train'
Context I’m replicating an algorithm of neural network of the kind Single Layer Perceptron (simpler neural network model). I used the library Tensorflow and wrote the code based on the documentation…
-
-2
votes2
answers3366
viewsQ: How to fix error: String data, right truncated: 1406
Hello, follow my question: I am trying to save the Protocol Checklist data, but the following error is occurring: SQLSTATE[22001]: String data, right truncated: 1406 Data Too long for column 'item'…
-
0
votes1
answer220
viewsQ: How do I resolve the "call to Undefined method Parameterbag::save() " error?
I am trying to save Checklist data from protocol, but the following error is occurring at the time of saving: Call to Undefined method Symfony Component Httpfoundation Parameterbag::save() The…
-
0
votes1
answer1069
viewsQ: How to take data from a dynamic HTML table to register?
I have the following situation: I’m trying to log the data from Protocol checklist, but this data is inside a dynamic HTML table, as shown in the following image: When trying to save this data, only…
-
0
votes1
answer210
viewsQ: How to use "break" in Blade template?
I’m developing a Checklist modal where the new protocol data will be registered. Each item attribute will be informed by the user and this information will be recorded in the table…
-
0
votes1
answer47
viewsA: How to clear the combo box field with AXIOS?
I used the following function in the file that contains Axios (project-generating Checklist.js) jQuery("#comboItens"). Empty(); Code: jQuery("#idModelo").change(function() { let idModelo = $(…
-
0
votes1
answer47
viewsQ: How to clear the combo box field with AXIOS?
Context Items are loaded from the selected template, but items are accumulating when a new template is selected. Doubt How to clear combo box data when another model is selected? Because item data…
-
2
votes0
answers174
viewsQ: How to load the data from the selected item?
Context: How do I load data from a selected template? Do I need to use Javascript? In positive case the code must be in an external file or in the same code? When the template is selected the…
-
0
votes1
answer391
viewsQ: How to recover data from checkbox as "checked"?
Context: I’m creating the method of "Update Structure", depending on the selected model the items must be marked in the Checkbox. But for some reason it is not working. How to solve this problem?…
-
0
votes2
answers164
viewsQ: How to filter Combobox data using Laravel Framework?
Context: I want to carry the models of Template Checklist in the combo, but only those that are not in the database table checklist_structure. In this case, only the Catu model would be loaded,…
-
1
votes1
answer69
viewsQ: How to create programming logic to disable a button after an action?
Context: The approval data will only be saved if there is a saved amendment, initially the button of 'salvage' should stay disabled. When saving the seam the button 'salvage' is disabled and the…
-
3
votes2
answers339
viewsQ: How to validate integrity when trying to save duplicate data to the database?
Context: When trying to register the object Structure checklist the following error occurred: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '6-5' for key…
-
0
votes2
answers462
viewsQ: How to format numerical data extracted from the database for monetary values?
I’m using the library jquery.maskMoney.js to format the system’s monetary data. But when data is saved in the database and returned to the system screen formatting is lost. How to resolve this…
-
0
votes0
answers373
viewsQ: Error: mb_strpos() expects Parameter 1 to be string, Object Given
Context: When trying to delete the object Structure checklist the following error occurred: mb_strpos() expects parameter 1 to be string, object given How to solve this problem? Information from Dev…
-
0
votes1
answer898
viewsA: Translation error on adminLTE template buttons
Usually happens because in the configuration file config/app.php the language (language) is with characters other than the translation folder name. If you have en alternate to en and vice versa.…
-
-1
votes1
answer898
viewsQ: Translation error on adminLTE template buttons
I developed a project that uses the adminLTE template and the Laravel Framework. But when migrating the project to the production server the template buttons were disfigured. I need your help to…
-
1
votes0
answers1042
viewsQ: Multi-level Treeview Menu does not work in Adminlte
Problem: I’m using the template Adminlte 2 (very good template! ) in the project that uses the Framework Laravel. I was able to include all the files and configure the layout to be displayed on…
-
2
votes1
answer1789
viewsA: Error: Method Illuminate Database Eloquent Collection::save does not exist
The solution was to use the $checklistItem = new Checklistitem; in the method of register() instead of $checklistItem = Checklistitem::all();…
-
2
votes1
answer1789
viewsQ: Error: Method Illuminate Database Eloquent Collection::save does not exist
Good afternoon guys. I’m developing an application that uses the Framework. I have the error below when trying to save Checklist items. The error occurs in the second save() of the registration…
-
0
votes1
answer1294
viewsQ: Error saving monetary data: A non well Formed Numeric value encountered
Contextualization: I’m using the library *Jquery-maskMoney to format monetary data. But when saving this data the following error occurs: A non well Formed Numeric value encountered Jquery library:…
-
0
votes0
answers363
viewsQ: How to fix "delay" when loading the datatable?
When loading the page containing the data into the datatable the following failure occurs: first all data is loaded into the datatable and is visible to the user; after a few seconds this data is…
-
1
votes0
answers66
viewsQ: Request data is coming null
Contextualization When deleting a record from the errata history occurs the error 404 that the object was not found; the object is coming empty. How to solve this problem? The requisition is coming…
-
2
votes2
answers109
viewsQ: Ajax parameters are coming as Undefined
I would like to say that I searched the forum and found some similar questions, but no answer solved my problem. Follow my own doubt: Doubt: I am trying to delete a notification by ajax, but the…
-
1
votes1
answer1925
viewsA: Call to a Member Function alterar() on null
The return of Project::find($request->get('numProjeto')) era null soon I modified for the code $project = Project::find($request->get('id')). Follows the class update method…
-
1
votes1
answer1925
viewsQ: Call to a Member Function alterar() on null
Context: I am trying to update project data in edit mode, but this error is occurring. How to troubleshoot this problem? Mistakes: Class Projectocontroller.php: method updates <?php namespace…
-
1
votes0
answers134
viewsQ: How to validate select Multiple?
Context I need to validate the multiple checkbox. It is necessary to validate the second checkbox. Doubt Where and how do these validations? In php or Java? Logic of Validation Codes: Locality…
-
0
votes1
answer632
views -
-1
votes1
answer632
views -
0
votes2
answers217
viewsA: In AJAX only "Fail" is executed, how to solve this problem?
The password comparison should be done with the encryption function. It follows the method authorization class Projectocontroller.php updated. That’s why I was running the function fail ajax,…
-
0
votes2
answers217
viewsQ: In AJAX only "Fail" is executed, how to solve this problem?
Contextualization When the user presses the button Authorize Documentation the modal will be displayed Authorization that will ask to select the user and enter the password, as shown in the…
-
1
votes0
answers671
viewsQ: How to change the value of a php variable using Javascript or Ajax?
Contextualization When registering a project by default (default) Status of Documentation is pending as a result of this configuration project tabs are not visible. If the user changes the Status of…