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
-
0
votes1
answer108
viewsZend Framework 2 add simple mode Assets
Good afternoon guys, I’ve been working with Zend for a long time and I’m structuring a project with Zend 2. I just discovered that to add a simple css file out of the public/css folder I have to…
zendasked 10 years, 3 months ago Marco A. Braghim 151 -
0
votes1
answer845
viewsZF2 + Doctrine: generate entities returns 'no Metadata classes to process'
Good morning. In my project, I tend to create entities from the database (php5.4 + zf2 + Doctrine). I’ve circled the command below: bin/doctrine-module orm:convert-mapping --filter="Category"…
-
0
votes1
answer144
viewsSend Zend Framework project to web server
When downloading the Zend Framework, I put inside a folder in the "C:/". I set the environment variables pointing to the folder bin and the folder library configured in the php.ini. Using Zend Tools…
-
0
votes1
answer420
viewsIn ZF2 how to set a value in a Zend Form Element Text in the view?
The Form: $this->add(array( 'name' => 'valor', 'type' => 'Text', 'attributes' => array( 'required' => true, 'class' => 'form-control', 'maxlength' => '100' ), 'options' =>…
-
0
votes1
answer195
viewsUsing libraries downloaded by Composer in Zend Framework 1
How best to use libraries downloaded by Composer together with Zend Framework 1? I saw in the following link, explaining how to do this but in a way that does not seem to be very correct. In a…
-
0
votes1
answer34
viewsHow to Use Zend 2 + Mapserver
How do I use the functions of MapServer() inside the Zend controller ? I am using MS4W which has Apache, PHP and Mapserver. If it were straight, it would be something like this: <?php $mapserver…
-
0
votes1
answer96
viewsProblem loading image of an entity
I have an icon manager, in it I have already made available all the crud. However I have a problem, when opening the form, a Zend\Form to edit an icon I cannot load the image that is already saved.…
-
0
votes2
answers72
viewsOn the creation of variables
I use ZEND 2 and I am in the controller. I created an action to print a field (description) of a table (receipt). The point is that when I connect the controller to the view nothing appears on the…
-
0
votes0
answers110
viewsProblems adding action to Zend Framework 1
I’m having trouble adding a song that contains on the album, I want to make sure that when I add a song, it’s already related to the album id. My problem is in the add method() below:…
-
0
votes1
answer237
viewsDoctrine Insert regarding Many-to-Many unidirectional
I have the following situation: In my Local entity: /** * @ORM\ManyToMany(targetEntity="Contato") * @ORM\JoinTable(name="contato_localidade", * joinColumns={@ORM\JoinColumn(name="localidade_id",…
-
0
votes1
answer89
viewsView all Model data in Zend Framework 1
The way I have in this explore I get only 1 dice from each table, but I would like to understand how to print all. // Criamos o objeto do model da tabela 'carros'. $carrosModel = new…
-
0
votes0
answers59
viewsOpen link created via jquery in modal window?
My problem is as follows when the user clicks on the add link this opens a modal window by clicking save sends the data pro server-side via ajax if it is all right to create a new Row in the table…
-
0
votes1
answer96
viewsSwitch in Application.ini ZF 1 configuration
Inside the Zend Framework 1 Application.ini I have the following configuration: resources.multidb.sga.adapter = "PDO_MYSQL" resources.multidb.sga.host = "host.acula.net"…
-
0
votes1
answer77
viewsRouter in Zend 1.12 hide controller and action
Hi, I want to make sure the user does not see my controller or the action in ZF 1.12. Ex: http://meusite.com/produtos/listar/item/iphone-5s-preto I want you to stay like this:…
-
0
votes1
answer42
viewsError starting application using Zendframework
I started studying the Zendframework e Configurei as recommended. When calling the project I created with the default code, it works perfectly. When I comment all the index.php and add the code:…
-
0
votes1
answer62
viewsSmtp zf2 - stream_socket_client() - Debian Wheezy
Good morning people. I’ve been having a problem for a few days and I’ve tried everything. I’m using Zend 2 and trying to send an email through an account I have in gmail. It should be something…
-
0
votes1
answer109
viewsProblem with Paging and forward with Zend Framework 1
Use ZF1 and I’m having trouble using the _forward(), The reason is that if I redirect it to a paginated page, the url gets the method of the action that was submitted. Well, for example, if I have a…
-
0
votes0
answers55
viewsZf2 and "Doctrine-module" return error: In Metadata Classes to process
I’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
answer35
viewsError starting project with zend Framework
I followed the zend tutorial step by step but it is not working when I try to boot the project by netbeans. I am new there newly formed people who can please help there.Thanks.…
zendasked 8 years, 5 months ago Marcelo Lopes 91 -
0
votes1
answer54
viewsApigility Doubt in the Methods
I am using the Apigility to create Web Services Rest only I have a doubt , I can add methods in class Resource , if yes how can I make a call the method through php. Thank you…
-
0
votes1
answer188
viewsZend_session and Zend_pagination with search form
I have problems in a pagination with searching via form in Zend Framework 1. There is a method in the model that makes a query with Where to bring the result as the search done, and the pagination…
-
0
votes1
answer2210
viewsDelete record without page refresh?
I have the following Ajax/Jquery to delete a record as an action of a href. <script type="text/javascript"> function apagarRegistro(idTel) { var baseurl = '<?php echo $sig_url;?>';…
-
0
votes1
answer40
viewsZend Framework2 - Problems with Abstracthelper
I’m having trouble displaying the logged-in user name using view helper. Module: public function getViewHelperConfig() { return array( 'invokables' => array( 'UserIdentity' => new…
-
0
votes1
answer93
viewsEdit appearance of payment methods in Magento
I would like to edit the way payment methods appear in Magento’s checkout by inserting an image with the flags that each payment system accepts, but I’m not getting. Which . phtml I should edit?…
-
0
votes1
answer738
viewsError setting up Doctrine + Zend
Hello, I am trying to configure Doctrine ORM to work with Zend Framework, and when I give the command 'bin/Doctrine-module' appears the following error: PHP Fatal error: Uncaught exception…
-
0
votes1
answer8
viewsWith large upload, zend2 does not receive post
good 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 found
Every 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
answer26
viewsHow to remove news from a blog for my Platform?
I’m creating a platform for managing business proposals. On the index (no session), I would like to print the news of the company’s blog. I am using Zend Framework V.3, and I would like to know a…
-
0
votes0
answers893
viewsThe pgsql driver is not Currently installed
I’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
votes0
answers16
viewsRotate Photo With Zend Image
I need to do a photo orientation check and then rotate it. And the orientation ratio already achieved, was not found rotating a photo. I am using Zend_image and Zend_image_transform…
zendasked 6 years, 10 months ago Rodrigo Moritz 1 -
0
votes1
answer108
viewsProblem performing API requests
I’m trying to place requests to an API: EGOI but get an error. The request is as follows:: http://api.e-goi.com/v2/rest.php?method=checklogin&apikey=minhaAPIKEY You know how I pass parameters to…
-
0
votes1
answer509
viewsSyntaxerror Error: JSON.parse: Unexpected Character at line 1 column 1 of the JSON data
I am trying to create an api in my application, but it is returning me the following error: Syntaxerror: JSON.parse: Unexpected Character at line 1 column 1 of the JSON data I’m using Zend Framework…
-
0
votes2
answers568
viewsQuery creation with Union ALL to join tables with indexing by table name
There’s a problem that they did in a database, which I need to solve temporarily, they created several tables with index in the table name, where the system creates a new table for each new user...…
-
0
votes2
answers422
viewsFatal error when creating a new Zend Skeleton Application module
I 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
votes2
answers56
viewsDelay in loading some records
Hello! 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
votes0
answers151
viewsWeb Service SOAP
I’m having a very unusual problem with a SOAP application. I have a simple client to take a consumer test. When I test directly in the service view action returns the result correctly, but when I…
-
0
votes1
answer1026
viewsSubmit a single div Reload post
I have a form that I want to pass via POST, but without giving Reload on the full page, after sending the information, I wish a div of that Reload in its content, I have the following code:…
-
0
votes0
answers68
viewsZend Framework 2 My Acl plugin authentication returns a strange error
I 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
answer89
viewsHow to call a zend method using Jquery?
I have this Jquery function that enables an input for the user to edit a form, when editing and clicking 'Enter' I want to save the change made in the database, without submitting the form. -- My…
-
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 /…
-
0
votes1
answer73
viewsZF3 error 404 for a specific module name
I have a route on my website which is linked to a module called Cart, but although everything seems to be according to the tutorial and documentation of zend, this route is not found and always from…
-
0
votes1
answer42
viewsHow to restrict hours and minutes in javascript
my code it calculates how many hours a person worked total weekly and monthly now I want to make a restriction that if the weekly hourly load exceeds 30 hours and 0 minutes it emits a sweetAlert…
-
0
votes0
answers118
viewsAn Exception was Raised while Creating "Panel Authentication Adapter"; no instance returned
Talks blz, face to with an error fd.. in zf2.. (it is just a system for study, I know that the framework is outdated) , the business is as follows. I am with 2 modules, 'Panel', 'Admin' and each of…
-
0
votes1
answer18
viewsPerform an external-based query in the Zend Framework
Model public function excluirFiliadosNaoEnviados($base) { $sql = "SELECT FROM " . $base . ".debito_automatico"; $acao = $this->conexao->prepare($sql); if($acao->execute()){ return true;…
-
0
votes1
answer32
viewsSelect Sql Query Manipulation (Multiple Combo option in Zend)
Good morning, I have a "Select" that lists as an option everything in the table "areas", followed by the word "ALL", Below each "area" option are listed those sub-areas that link to the area. When…
-
-2
votes0
answers13
viewsConsult single registry by zend framework
I 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…
-
-2
votes1
answer113
viewsHow to catch two tables without joining them with Zend1.12 query Builder?
Based on documentation of Zend 1.12, using the Builder query: How I select two tables with comma only without joinInner: Example: SELECT TABELA1 FROM ( BLABLABLA... ) A, (SELECT TABELA2) B To…