Most voted "zend-framework-2" questions
38 questions
Sort by count of
- 
		6 votes1 answer289 viewsHow to popular a dynamically select or checkbox using Annotations in ZF 2’s Zend Form?I learned to do this with fixed values, example: @Annotation\Type("Zend\Form\Element\Select") @Annotation\Options({"label":"Cidade"}) @Annotation\Attributes({"options":{"1":"São Paulo","2":"Rio de… 
- 
		3 votes1 answer1133 viewsPHP - Banking conciliationI am developing an application that will require bank conciliation functionality. For this, the standard cnab 400 should be used for Banco do Brasil. I need to generate the file-shipment and treat… 
- 
		3 votes1 answer654 viewsAccess-Control-Allow-Origin: * does not work for all my domainsI have four applications that use the same API, and the Access-Control-Allow-Origin: * not all of them, the only application that doesn’t work is the one that I’m using Zend Framework 2 and Symfony,… 
- 
		2 votes1 answer172 viewsUpdate a zf2 view every 1s via jquery/ajaxI have a table as shown below, I need it to update every 1s, but I have no idea how to do. I used an html 5 tag, but it updates everything, I just want to update only the table. My View <?php… 
- 
		1 votes1 answer39 viewsJsonmodel Return ProblemI’m developing an app using Zend Framework 2 and Angular.js. I have a Rest API module and also use a standard module returning Jsonmodel of more specific things (the problem lives there). In my… 
- 
		1 votes0 answers123 views"The requested URL could not be Matched by routing" error using ApigilityI created my API with Apigility, made the deploy and everything was working fine until I uploaded the files to my server (hosting). Once I uploaded the files and acceded to the Apigility project Uta… 
- 
		1 votes2 answers80 viewsreturn the query as the zend stringI have the following code where I need to store inside the $erro_items variable the complete query with the parameters to analyze what is happening, my doubt is, how do I show this query? $sql = new… 
- 
		1 votes1 answer80 viewsInstantiation error 2 objects with Doctrine entities (Setter)I am not managing to make the relationship of 2 entities and the following error is appearing: Catchable fatal error: Argument 1 passed to Clientes\Entity\Clientes::setEstado() must be an instance… 
- 
		1 votes0 answers94 viewsZftool does not work, returns the html of the application [Zend Framework]Hello, I’m trying to use zftools (terminal) to create modules for Zend but contrary to the expectation that it would be an error message or success zf.php prints the application’s HTML on the… 
- 
		1 votes1 answer42 viewsDoubt about Zend FrameworkI developed an application on ZF2 version 2.5, and I came up with a question in case I didn’t update to version ZF3 my application may occur some problem? 
- 
		1 votes1 answer127 viewsZend Framework - Where are the queries?I have an application using Zend Framework, in the structure MVC, I want to know where the queries to the bank are made, I’m a little lost because I never worked with Zend. In my model I urge, for… 
- 
		1 votes0 answers47 viewsZend framework 2 CpanelI just took a course of zend framework 2 and I have a project ready, all folders are inside the "Skeleton-application", but when I went up everything in the public folder of the following error :… 
- 
		1 votes0 answers1487 viewsPDO - Uncaught Exception 'Pdoexception' with message 'could not find driver'Look at us! I am trying to set up a project in a Mac Yosemite environment. The project I intend to run works normally on an Ubuntu. I did the installation of the PDO drive. phpinfo is like this: PDO… 
- 
		1 votes1 answer756 viewsHow does Flash Messages work on ZF 2?I’m working with the Zend Framework 2.0 and I noticed that he has a helper for handling error messages, called "flashMessages", which I didn’t understand straight away is whether he captures this by… 
- 
		1 votes1 answer609 viewsZiparchive: Rename files before extractingNext bunch of you... I have hundreds of files . automatically generated zip. These zip files do not have a "standard" as they are generated from several different systems. Therefore, some have only… 
- 
		1 votes0 answers237 viewsA plugin by the name "getServiceLocator" was not found in the plugin manager Zend Mvc Controller PluginmanagerI recently started learning Zend Framework2 from Angularjs through a course from the School of Net. Considering the year of the course, which if I’m not mistaken is 2013, some things have changed in… 
- 
		1 votes2 answers293 viewsAccentuation in the directoryI have a directory location problem when it involves an accentuated file or folder. Follow the section below where I try to capture the file size: $filepath = "$novocaminho".utf8_encode($arquivo);… php filing-cabinet directory accentuation zend-framework-2asked 8 years, 2 months ago Jonathan de Toni 1,260
- 
		0 votes1 answer364 views"The requested URL could not be Matched by routing" error using ZF2I am using apigility (ZF2). The following error occurs when submitting a request: The requested URL could not be Matched by routing. The error occurs when I try to make a request get through the… 
- 
		0 votes1 answer127 viewsSave to Multiple Tables Zend Framework 2I am new to PHP and Zend Framework 2, I am passing on a project written in C# ASP.NET to PHP using Zend and I came across the following problem. I have 2 tables: user and street. In the user table I… 
- 
		0 votes0 answers55 viewsZf2 and "Doctrine-module" return error: In Metadata Classes to processI’m in trouble when I’m executing the following command on the terminal: vendor/bin/doctrine-module orm:convert-mapping --filter="Category" --from-database annotation… 
- 
		0 votes1 answer350 viewsRecords being inserted in two tables between Entities with (Doctrine - Foreign Key)I have two tables, one States and another Customers. When entering the records in the two tables, an error is occurring, instead of entering the state reference in the foreign key of the table… 
- 
		0 votes1 answer173 viewsZF2 - Runtimeexception: Module (Zfcuserdoctrineorm) could not be initializedI just downloaded the Composer installer. This is what I have in my Composer.json: "require": { "php": ">=5.3.3", "zf-commons/zfc-user": "dev-master", "zendframework/zendframework": "2.3.*",… 
- 
		0 votes1 answer42 viewsFailed to execute git status when updating DoctrineI’m servicing a system, and I need to upload some changes to the production server. Some of these changes involve mapping and adding new entities to the bank. The problem: the file .… 
- 
		0 votes1 answer8 viewsWith large upload, zend2 does not receive postgood morning. I have an app that’s working in parts. Her problem is with a big upload, small upload or no upload, it’s working. With large upload she is not receiving the form post in Controller(?),… 
- 
		0 votes1 answer68 viewsZend 2 "getServiceLocator" was not foundEvery time I need to call the Doctrine ORM I find the error A plugin by the name "getServiceLocator" was not found in the plugin manager Zend Mvc Controller Pluginmanager How do I fix it ?… 
- 
		0 votes1 answer47 viewsPass value by linkI need to send a value through a link to another page: <li><a href="" onclick="getPasta()" id="icons"><?php echo $this->translate('Download');?></a></li> I tried to… 
- 
		0 votes1 answer1063 viewsTEF communicationI need to integrate 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… 
- 
		0 votes0 answers893 viewsThe pgsql driver is not Currently installedI’m using the WampServer with the Postgres installed on my local machine and when I access the application occurs the error below: Fatal error: Uncaught Exception 'Zend_db_adapter_exception' with… 
- 
		0 votes1 answer16 viewsHow to get aws service with aws-sfk-php-zf2 v 2.0. *?I was using aws/aws-sdk-php-zf2 1.2. * and had to update to 2.0. * and now AWS SDK is v3. Before, I called the service with the code: $this->s3 = $serviceLocator->get('aws')->get('s3'); But… 
- 
		0 votes0 answers103 viewsProblems with ajax on the serverI have an application in ZF2 on Ubuntu server. One of the controllers is triggered from a request ajax. Locally, the application works normally. However, when going up to the server I started having… 
- 
		0 votes1 answer180 viewsChange default project directory in Zend 2Hello folks 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 the address http://localhost and I am… 
- 
		0 votes2 answers422 viewsFatal error when creating a new Zend Skeleton Application moduleI am trying to create a module "Bookstore" inside my Zend Skeleton Application, but it gives a very big error that I do not know how to deal: Fatal error: Uncaught Exception 'Zend Modulemanager… 
- 
		0 votes1 answer154 viewsHow to import FPDF content to Zend2?I’m creating a budget page with Zend 2, to print with FPDF. The problem is I don’t know how to import. That is the mistake: Warning: require(/php/sistema_real/public/aditivos/fpdf/fpdf.php)… 
- 
		0 votes2 answers56 viewsDelay in loading some recordsHello! We work with Sugarcrm. Anyone not familiar with Sugarcrm is a CRM made in mysql and php that uses the Zend framework. We used the opensource version and made some customizations. I’m having… 
- 
		0 votes1 answer341 viewsError creating zend framework moduleI created a new module in zend, but it gives error 404. modules.config.php return [ 'Zend\Router', 'Zend\Validator', 'Application', 'Album' <-- módulo que foi criado. ]; module.config.php… 
- 
		0 votes0 answers68 viewsZend Framework 2 My Acl plugin authentication returns a strange errorI have a project based on Zend Framework 2 and the Myacl plugin; My operating system is Ubuntu 17.04; php version: 7.1.11. I cannot access the project homepage, an error occurs during authentication… 
- 
		0 votes1 answer115 viewsHow to make a beginTransaction in the Zend framework?public function alterar($objDadosSindicato) { $this->conexao->beginTransaction(); try { $alterouSindicato = $this->repositorioDadosSindicato->alterar($objDadosSindicato); /** Filiação /… 
- 
		-2 votes0 answers13 viewsConsult single registry by zend frameworkI have a notafiscal table that has a field numerosefaz this field is not autoincrement, so to add the next one, I have to fetch the last added item I am using the code below... But I think the…