All Questions

1
answer

Help in SQL statement to update

I was creating a procedure but I came across an error in doing it. create procedure actualizar (in id int, in nom varchar(45), in corr varchar(45)) begin update dpersona set nombre=nom, correo=corr where idpersona=id; end In the part of 'i...
asked on 07.05.2017 / 19:11
1
answer

Problem by immutable string ... python

Good, I'm doing a code and I have encountered a problem because of the immutability of a string and can not avoid it. I put the code and explained: def muevecoche(letramov,nveles,guarda): elemento = nvles[guarda] for poyito in range...
asked on 24.03.2017 / 19:42
1
answer

404 errors in Asp.net MVC application

I have a page, that although it works correctly, when entering the crome debugger (ctrl + shift + P) it marks me errors of resource not found 404 However, the folders and resources are available and well addressed. What can this erro...
asked on 25.03.2017 / 00:02
1
answer

How to reset or indetermine a bootstrapswitch?

I have a checkbox with bootstrap-switch style, when I run the view it creates it with the value "indeterminate", if I execute state I can change the value to true or false , but I can not put it in "indeterminate" as in the...
asked on 08.05.2017 / 19:16
1
answer

Create canvas with ID according to array

I have the following code and then in a function out of all these functions I want to do a getElementById, but the created canvases do not have ID, they told me that I should add it to id inside the function per, but I'm disoriented, if someone...
asked on 04.05.2017 / 13:31
1
answer

I do not believe the PHP session

I have a problem with this code .. I receive the cookies correctly but when I want to assign those values to the sessions I do not believe them and I do not know why, any ideas ?? if (isset($_COOKIE["idusuario"]) && isset($_COOKIE["mar...
asked on 07.05.2017 / 17:47
2
answers

PHP Artisan migrate: Class Schema not found

I am studying Laravel 5.4 and I have the following problem: When performing a migration, in the console of Windows I execute the command: php artisan migrate When executing this command, it shows me the following error:...
asked on 04.05.2017 / 21:40
1
answer

Problem with the permissions in phpMyAdmin

I am using phpMyAdmin as a database manager on my Centos server, despite having access to all of them, in the phpMyAdmin.conf . I have SELinux turned off. When trying to enter from my browser I get the following error:    Forbidden:...
asked on 07.05.2017 / 09:21
2
answers

Problems with query in django

In the database I have these values INSERT INTO 'principal_ingresos' ('id', 'instalacion_id', 'natural', 'juridico', 'fecha') VALUES (1, 1, 1066, 0, '2017-01-04'), (2, 1, 754, 0, '2017-02-08'), (3, 1, 1253, 0, '2017-03-09'), (4, 2, 2504, 0, '2...
asked on 03.05.2017 / 13:48
1
answer

How to group data from a related table in Laravel?

I want to group the records that have more than one related record. Example: I have a table called assignments and another table called sales, so an assignment can have a lot of sales. In the table assignments I have 2 records and in sales I...
asked on 08.03.2017 / 13:38