Questions tagged as 'phalcon'

0
answers

error 500 by postman when connecting phalcon with mongodb

I am trying to connect the phalcon framework with the non-relational database mongo DB, by making the configurations shown on the phalcon page and some forums, I still can not make the connection and every time I want to make a query or any inte...
asked by 04.12.2018 / 17:50
0
answers

function to do consecutive

good day I have a problem in which I have to perform a function that helps me accommodate some values and perform a consecutive. I explain. I have a related table named def_cliente with a field that is called no_sport. the other table i...
asked by 05.12.2018 / 00:00
1
answer

consecutive in a php function

Hello, I have a problem that I urgently need to solve, I hope you can help me. I have 2 related tables the ones in a call def_client clients are added and they have a field called no_portage that indicates a range of the client in the othe...
asked by 06.12.2018 / 15:51
0
answers

User roles for micro app in Phalcon with ACL

I would like to know if anyone can guide me on how I can use the ACL (Access Control Lists) for managing permissions depending on the role of the user in Phalcon. The problem I have is that in my development I have the back and fronted in dif...
asked by 19.04.2018 / 15:04
1
answer

PUT method with vue.js and phalcon

I would like to know if someone can explain to me how to send a form pr media of x-www-urlencoded en vue.js? since the enctype attribute is not working for me, and if I send the form with formData () it arrives empty to the API. I would g...
asked by 05.03.2018 / 16:13
1
answer

phalcon valid fields so they do not repeat themselves?

Good morning. My question is about whether phalcon does the validation of a field by default so that it does not duplicate when creating a user, specifically so that it does not allow to duplicate the identification number. Thank you very...
asked by 30.01.2018 / 14:10
0
answers

ERROR syntax error, unexpected '& quot; pr_employees.doctype_id, pr_e' (T_CONSTANT_ENCAPSED_STRING)

Good evening I have the following query in phalcon and I get this error: Parse error: syntax error, unexpected '"pr_employees.doctype_id, pr_e' (T_CONSTANT_ENCAPSED_STRING) in /var/www/html/apiabacus/app/controllers/EmployeesController.php on...
asked by 23.01.2018 / 05:21
0
answers

Complex query in Phalcon (INNER JOIN) of 6 tables

Good morning. My question is about how to pass a query made in SQL to Phalcon . This is my query: SELECT pr_employees.doctype_id, pr_employees.id, pr_employees.last_name, pr_employees.last_name2, pr_employees.name, pr_employees.bod, pr_em...
asked by 22.01.2018 / 17:28
1
answer

Wrong number of parameters

I am using prepares statements to improve a query I am making, but it generates the error:    Wrong number of parameters The code is as follows: $start = new DateTime('first monday of January 2016'); $end = new DateTime('last day of D...
asked by 08.02.2017 / 03:17