Most voted "zend" questions
Zend Framework is a framework for open source, object-oriented web applications, implemented in PHP 5 and licensed under the New BSD License. In case of problems/questions related to generic use of the framework, this tag should be used.
Learn more…97 questions
Sort by count of
-
7
votes1
answer135
viewsHow to insert style into a Zend_form_element_select element?
How can I insert a style in one element option using Zend_form? I’m using Zend Framework 1.
-
6
votes1
answer322
viewsProblem creating "Zend_session"
I’m trying to create a session on Zend as follows: if (isset($_POST['login'])) { Zend_Session::start(); $session = new Zend_Session_Namespace(); $login = explode('-', $_POST['login']); $codigo =…
-
6
votes4
answers30736
viewsPermission error when trying to access database
I took a little project already ready to study, only that is giving this error, recently migrated to the Ubuntu and I do not know what to do. Error: SQLSTATE[28000] [1045] Access denied for user…
-
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…
-
5
votes2
answers256
viewsProblems with Zend layout
I have a view that is formed by a layout different from the pattern in my project, Seto it this way: public function init() { //Colocando o layout default…
-
4
votes3
answers3146
viewsError when performing a database query
I’m using Zend and have the following function: public function getChamado($id) { try { $cols = array( 'id', 'titulo', 'descricao', 'fk_status', 'fk_local', 'fk_tipo', 'created', 'modified',…
-
4
votes2
answers234
viewsUpdate on Zend 2
I’m studying Zend Framework 2 and I’m needing a hand to do an update on two tables that are related. Come on. I have the table entries with the fields: id_entrada id_notafiscal and in the rating…
-
4
votes1
answer305
viewsCorrect syntax for SELECT and INNER JOIN in Zend
I believe it’s a simple question, but because I don’t know 50% of Zend I’m racking my brain, so here goes: $sql = $db->select() ->distinct() ->from(array('cli' =>…
-
3
votes2
answers522
viewsHow to integrate Facebook login with ZF1 Auth?
I have an application in ZF1 running and with authentication system that uses database query. I would like to know how I can integrate the 2 ways to log in, IE, if the user opts for facebook, have…
-
3
votes1
answer167
viewsZend Framework Class Inheritance - Modules with Prefix
I’m developing a PHP project with Zend Framework and I have the following problem: I created a class called Basecontroller in my "Admin" module. I set the option:…
-
3
votes1
answer733
viewsWhat will be the difference between Zend Framework 3 and Zend Expressive?
Hello Everyone I am with this doubt, in zend framework 2 although its components can be downloaded separately normally I used a ready-made Skeleton available on zend’s own site. In zend framework 3…
zendasked 8 years, 5 months ago Wallace Ferreira 181 -
3
votes1
answer1740
viewsRun PHP (Zend Framework) application on the server
I already make it clear that I am not a PHP programmer but Java, but I have to upload an application of my company in an instance in AWS (Amazon Web Services). Well, I’m having a hard time, because…
-
3
votes1
answer201
viewsProblem uploading PHP files
Hello, I have a problem uploading files from my system. By placing more than 5 files in the field "input Multiple file" only 5 are recorded in the database, that is, if I put 18 files only will be…
-
3
votes1
answer440
viewsInclude date/time field in postgres (Zend)
I have the following code: View: { xtype: 'timefield', name: 'attendance_time', fieldLabel: 'Hora', inputWidth: 100, format: 'H:i', submitFormat: 'H:i', altFormats: 'H:i', } Model: { name:…
-
2
votes1
answer193
viewsHow to check if a transaction was started in Zend
I have a method where a BEGIN TRANSACTION in Zend 1.12. As it is used in many places, it has occurred that a method that calls it already starts a BEGIN TRANSACTION, thus generating a Exception. I…
-
2
votes2
answers1527
viewsZF: Problem generating PDF (with mPDF) from text (html) created with WYSIWYNG (elrte plugin)
Galley, I’m having trouble generating text PDF that contains tag <table>. In this case I am creating a module for contract generation. The text comes from the database and is created from a…
-
2
votes1
answer113
viewsConvert text to image using Zend Framework
Doubt: There is another way to convert text into image PNG other than by **ImageMagick**? We are using the Zend Framework. I installed the module [Php5-imagick][1], but it took a lot of work and I…
-
2
votes1
answer259
viewsHow to pass an SQL expression for an UPDATE to Zend?
My Mysql DBMS has a table called elements where one of the fields is called posicao and is like int (6). I need to update (SQL) where the field posicao shall be updated with its own value by…
-
2
votes1
answer50
viewsBack Button with Searched Records
I have a button that at the moment is only a button: <button type="button" name="voltar" id="voltar" class="btn btn-default" style="margin-left: 30px">Cancelar</button>…
-
2
votes0
answers261
viewsZend Framework and Symfony
I started studying Symfony 2 and realized that it is very productive for system development, but there are people who say that Zend Framework 2 is the best framework in PHP. I would like to know the…
-
2
votes1
answer190
viewsModule with multiple controllers in Zend 2
I’m having trouble creating a module with several controllers in Zend 2. It would, for example, be: admin/user/ admin/user/add admin/user/edit admin/user/delete How do I adjust the routes to get…
-
2
votes1
answer465
viewsDeploy dependent Select with AJAX and Jquery in Zend
I am new to programming and am putting together a small system for a specific collection control. But I need to fill in some fields without reloading the page (AJAX) and others when the select is…
-
2
votes1
answer56
viewsError Hosting - Zend Framework 2
I am hosting a system created in Zend 2 on a dedicated server with Windows Server 2008, Apache 2.4, PHP 7.1.5. The user that is running apache is already with full permission in the files, but I am…
-
2
votes1
answer55
viewsSending of ZEND email
A client wants me to create a form that sends data to a link, from what I saw, is using "zend", I never got to use this framework and I’m a bit bewildered. That was his message: Para realizar a…
-
1
votes1
answer189
viewsDate validation with Zend
How to validate a date using Zend? When the user registers, I need to validate the birthday and see if it is older than 18 years. I receive 3 fields - day, month and year and would like to validate…
-
1
votes1
answer90
viewsHow to integrate Slmqueuesqs and Slmmail into a ZF2 application?
I am maintaining an application developed in Zend Framework 2 and accurate, in that order: Send jobs to a queue in AWS SQS. Process queue jobs via an application command that will use AWS SES. I…
-
1
votes1
answer95
viewsAutoloader Zend Framework 1.12
I’m starting (studying) project with zf where I’m not using modules yet. I initially have the following file .../projectozend/application/models/Dbtable/Actor.php <?php class…
-
1
votes2
answers278
viewsZF1 resulting from controller in view
I’m not sure how in this case to play the values in the project view, follow the code: public function indexAction() { $actor = new Application_Model_Actor(); $resultadoActores =…
-
1
votes0
answers2370
viewsApache configuration problems
I am trying to deploy a project that is using Zend. This project is in a subfolder of the site( site.com/projects/project-name ). The site is in a VPS, to which I have root access. The server is…
-
1
votes1
answer49
viewsCorrect ZF1 foreach in view
I have following controller (ZF1) where I get everyone’s ID from a table and with this ID I use to "filter" and take specific data from another table is a relationship by ID let’s say so. $tabFerias…
-
1
votes1
answer50
viewsCookie between controllers
I created the following cookie in the Locale controller: $cookie = new \Zend\Http\Header\SetCookie('localidade_id', $localidade->getIdentificador(), time() + 3600); However, when trying to access…
-
1
votes2
answers111
viewsTreating bank search dates
I’m performing the following capture of a date: $dtInicial = $this->_getParam('dataInicial'); // Padrão dd/mm/aaaa To search the bank precisely leave it in the standard yyyy/mm/dd: $dt1 =…
-
1
votes2
answers80
viewsreturn the query as the zend string
I 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
votes2
answers213
viewsZend Pagination does not display values on the next page
Good Afternoon. I’m using (trying) Zend Pagination (ZF 1) but it’s not displaying the rest of the result on the next page. I have the following method: public function pesquisadocumentosAction() {…
-
1
votes1
answer448
views$this->_forward() and Zend Framework
Sirs, In the use of $this->_forward() in the Zend Framework 1 we give a redirect to the controller and action we want. In my case this is not working well in the following situation. I made an…
-
1
votes1
answer32
viewsErrorcontroller for each module in ZF1
I have a project that uses Zend Framework 1. It has 2 modules: default and admin. When a mistake occurs or Exception, Zend directs to Errorcontroller. The problem is this: when an error occurs…
-
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
votes0
answers265
viewsError while trying to generate Phplot graph in Zend framework
I’m trying to use phplot to plot a graph within an application made in Zend framework, but it results in error. It is easy to plot with phplot, I am using the following code: // view helper que…
-
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
votes1
answer1786
viewsSyntax error, Unexpected 'class' (T_CLASS), expecting Identifier (T_STRING) - Remote Server Only
I have a platform that I developed using Zend Framework 3.0. This platform works locally but when I migrate it to the server, it throws multiple errors with this syntax: Parse error: syntax error,…
-
1
votes1
answer39
viewsJsonmodel Return Problem
I’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
answers215
viewsError Zend Servicemanager Exception Servicenotfoundexception
Have you seen the error below, when you put the web app on the Digital Ocean server? An error occurred During Execution; Please Try Again later. Additional information: Zend Servicemanager Exception…
zendasked 8 years, 4 months ago Carla Juncioni 21 -
1
votes1
answer199
viewsCreate Dockerfile for Zend Expressive
Hello folks I’m having a hard time running the expressive zend with the Docker. I have other projects that work perfectly with Docker but when I try to develop with zend expressive, I can’t, it…
-
1
votes0
answers167
viewsError connecting to pdo_mysql when using Docker with apache and mysql
I’m using Docker with apache 5.6 + mysql: Mysql Oficial Docker PHP Official PHP - Version 5.6 I first ran the mysql image, then ran the following command line to run the apache image, linking the…
-
1
votes0
answers75
views -
1
votes0
answers34
viewsNo doubt about missing 404 error
I have a question, and I don’t know what to do. I am using Zend Framework 1.12, PHP5.6. It turns out that my system is in a subdirectory called "system": /system/application/... My public folder:…
-
1
votes0
answers244
viewsModule is not loaded in php.ini
Hi, I’m trying to download a Composer package and it points out that the Soap extension is not enabled. - nfephp-org/sped-nfe v5.0.97 requires ext-soap * -> the requested PHP extension soap is…
-
0
votes1
answer510
viewsZend Session Expires Fast
I’m having trouble with the Zend session because it expires so fast, I’ve tried everything! 1- I use a base controller, where all others extend from it in the init() method of the base controller:…
-
0
votes2
answers1675
viewsPHP framework with greater similarity to Codeigniter?
Which of these frameworks below have greater similarity to Codeigniter, so I can have the smallest learning curve? Laravel Cakephp Zend
-
0
votes2
answers1006
viewsHow to install Zftool (windows, linux)
How to install zftool on windows and linux?