All Questions

1
answer

This error is generated by the seed "You requested 1 items but there are only 0 items in the collection"

I'm trying to make a seed with Laravel 5.1 and the problem is that it generates the data from the users table, but from the other 2 it does not. My codes are as follows. ModelFactory $factory->define(Blog\User::class, function (Faker\G...
asked on 23.09.2016 / 03:45
1
answer

show by text in which city I am angular js

I'm doing an app on ionic where I want to show the user where the city is. With this code I locate it but I need to show you something for example:    You are in Barranquilla / Cartagena or something like that Driver: .controller('Ctr...
asked on 25.09.2016 / 20:22
1
answer

I can not launch an "existing mail" alert

I have taken back the code that another developer left unfinished and I have some problems when I want to register a new user. In the validation of the existing mail, I can not overwrite the previous record, but I can not launch an "existing...
asked on 22.09.2016 / 04:18
1
answer

Counter with angular

Greetings. I have an array $scope.mesas = [{ "mesa": "mesa1", "integrantes": [{ "nombre": "Susana Sofia Urrea Sotelo", "mesa": "1", "entradas": "1", "usadas": "0,", "done" : false, }, {...
asked on 24.09.2016 / 13:41
1
answer

Assign a row from one vector to another in c ++

I'm doing a simple program in c ++. I need to sort a vector by a value in a column that I have in each row. The sorting method is simple, but I can not do the row assignment: void PruebaVector2::ordenar() { int i, j; int* temp;...
asked on 07.10.2016 / 02:32
2
answers

error connecting to a Datasource in weblogic

I have a Datasource created in Weblogic but when I invoke it from a class, it generates the error:    javax.naming.NamingException: Lookup failed for 'jdbc / ConexionFV' in   SerialContext [myEnv = {java.naming.provider.url = t3: //127.0.0.1:...
asked on 10.10.2016 / 17:04
1
answer

the poo instructions do not work with apache2

I had installed xampp and my code of a menu worked correctly using Object Oriented Programming, I had to reinstall my system but now install apache2 php5 and mysql. The codes were not modified, and they do not work for me. <nav class=...
asked on 05.10.2016 / 03:07
1
answer

Update data of a form according to a record of an html table

The problem is that when you update the form data, you do it correctly, but the main menu and the navigation bar stops working. I have it like this ... <tbody > <?php while($fila=sqlsrv_fetch_array($consultaVendedores)){ $nu...
asked on 07.10.2016 / 21:45
1
answer

problem with onBackPressed fragment android

I have a Navigation Drawer which instantiates fragments, the problem I have, is that by pressing the back button, the onBackPressed method shows an alertDialog, but when entering one of these fragments, pressing the back button shows me the aler...
asked on 05.10.2016 / 00:44
1
answer

Convert a char into QString as it is done?

Hi I want to convert a char in QString for example I have this: QString s; char a = "cadena" I want to convert a in QString but I do not know how to do it.     
asked on 05.10.2016 / 21:45