Questions tagged as 'zend-framework-2'

0
answers

Error "The requested URL could not be matched by routing" using Apigility

I created my API with Apigility, did the deploy and everything was working well until I uploaded the files to my server (hosting). Once I uploaded the files and accessed the Apigility project path on my server I encountered the following error:...
asked by 10.11.2015 / 21:10
0
answers

PDO - Uncaught exception 'PDOException' with message 'could not find driver'

Hey people! I'm trying to set up a project in a Yosemite Mac environment. The project I plan to run works normally on an Ubuntu. I installed the PDO drive. In phpinfo it looks like this: PDO PDO support => enabled PDO drivers => my...
asked by 03.12.2015 / 13:34
0
answers

Zend framework 2 cpanel

I just did a zend framework 2 course and I have a project ready, all the folders are inside the "skeleton-application", but when I went up everything in the public folder the following error:    Internal Server Error   The server encountered...
asked by 27.11.2015 / 11:23
1
answer

Error instantiating 2 objects with doctrine entities (setter)

I can not do the 2 entities relationship and the following error is appearing: Catchable fatal error: Argument 1 passed to Clientes\Entity\Clientes::setEstado() must be an instance of Estados, instance of Clientes\Entity\Estados given, called...
asked by 26.08.2015 / 22:44
1
answer

Problem in the Return of JsonModel

I'm developing an App using Zend Framework 2 and Angular.js. I have an API Rest module and I also use a standard module returning JsonModel from more specific things (the problem lives there). In my module.config.php, I set up my view_mana...
asked by 13.07.2015 / 13:24
2
answers

return query as zend string

I have the following code where I need to save $ error_itens the complete query with the parameters to analyze what is happening, my question is, how do I show this query? $sql = new Sql($this->adapter); $query = $sql->in...
asked by 16.06.2016 / 05:59
1
answer

TEF communication

I need to integrate the TEF into my system. Does anyone have any idea how I can start this? Is there any open source software to do this integration? I found some information on the internet that talked about PayGo , would this be a viable opti...
asked by 22.08.2017 / 02:44
1
answer

Change default project directory made in Zend 2

Hello everyone, this is my first post: D I'm new to Zend framework and I'm using Zend 2 + PHP 5.5 + MySql + Apache I have the system on my server running through link and I am not using Apache Virtual Host, I am only using rewrite mode a...
asked by 28.10.2016 / 22:20
1
answer

Save in Multiple Tables Zend Framework 2

I'm new to PHP and Zend Framework 2, I'm going through a project written in C # ASP.NET for PHP using Zend and I came across the following problem. I have 2 tables: user and public place. In the user table I have: id, name, email, password...
asked by 19.10.2015 / 13:58
1
answer

Records being inserted into two tables between Entities with (doctrine - Foreign Key)

I have two tables, one States and another Customers . When inserting the records in the two tables, an error is occurring, instead of inserting the state reference in the foreign key of the Clients table, you are inserting the new status re...
asked by 27.08.2015 / 18:56