Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

I am reading thre sources code of ZF2.I met the class ServiceManagerConifg.I can't understand the function of the Function configureServiceManager. class ServiceManagerConfig implements ...
WWW's user avatar
  • 3
0 votes
1 answer
125 views

I have a PHP apache application, running with ZendFramework 2 (old-school I know, but we are migrating to newer tech). Previously the PHP version was 5.6, and the session was persistent for 10 days (...
Gabriel Cunha's user avatar
0 votes
1 answer
241 views

I migratet my Project with the laminas migration tool from zendframework2 to laminas. I get these issues when I try to Init my Application with: Laminas\Mvc\Application::init(require 'config/...
Kimneyyy's user avatar
-1 votes
1 answer
59 views

The context I am refactoring an application in ZF2 that uses scripts to synchronize data with web services and APIs. Currently each script resides in a controller, that is called through cron jobs ...
Mevryk's user avatar
  • 1
0 votes
0 answers
54 views

I have a legacy system that I have to mantain and at moment I can't update it to newest technologys But i'm facing problems with AWS S3, and trying some things, I decided to reinstall the dependencies,...
Rafael Tuneca's user avatar
0 votes
1 answer
520 views

I just installed Doctrine with my Laminas project. I added a database connection and generated my entities in the Application folder (Application\Entity). I added my entities settings to the module....
EL KHALYFY Mohammed's user avatar
-1 votes
1 answer
53 views

In zend framework for APIs, I am using $this->_helper->json($data) to return json data public function get() { $data = ['id' => 1, 'name' => 'xyz']; return $this->_helper->...
venkyrao2's user avatar
1 vote
1 answer
36 views

I have a relatively basic phpunit test that contains 1 setUp function, and 2 tests - I am still learning phpunit so forgive my ignorance :) Note - I am using the Zend 2 Framework. I would like the ...
Zabs's user avatar
  • 14.2k
0 votes
1 answer
73 views

So i've a web app using Zend Framework 3. It ran perfectly until today. I tried to add a module ("Params") and i can't figure why it doesn't load. My Module tree : My config/Module.config....
Maxime Guiton's user avatar
-1 votes
1 answer
208 views

I am trying to validate email while registration to makesure no spam. For that purpose i learn that, Zend FrameWork is good for this. So to try that following steps i followed: i downloaded ...
Mohib Salahuddin Ayubi's user avatar
0 votes
1 answer
182 views

I was looking for how to re-use my User module across other projects. As I have custom features for each my clients, I decided to create: One generic UserModule to be packaging One extend-module ...
juliangorge's user avatar
0 votes
0 answers
765 views

This may be a simple question but, how do I get some error message with Laminas? I'm trying to migrate an old application from ZF2 to Laminas 3. It's always difficult to get any details from the ...
jjwdesign's user avatar
  • 3,322
0 votes
0 answers
151 views

php5.6, Zend Framework 2, mysql 5.7, PDO driver My goal is to execute sync a .sql file with various sql statements, including 3500 sql insert statements, from php Zend2 app connected to mysql via PDO ...
Simone Bonelli's user avatar
0 votes
1 answer
291 views

I am using Lucene 3.5.0 for index creation. Zend-Framework-1.8.2 with PHP-7.1.12 is being used to search index. I have upgraded Lucene from 3.5.0 to 8.4.1. The indexes are now created with Lucene 8.4....
Vishal Sharnagat's user avatar
0 votes
0 answers
67 views

I have a PHP form which is created using Zend Framework. I think I have added all the form placeholders correctly using constructor. But they are not showing in the browser until you refresh the page. ...
Tharisha Perera's user avatar
1 vote
2 answers
264 views

Problem: Text get broken in MySQL. problem A. Text is sent over webservice as below $text = 'как дела'; $data = array( 'text' => $text, 'client' => 'abcd'); $...
MMMarket's user avatar
0 votes
2 answers
3k views

I have this Zend 2 application where I'm making use of this Azure AD library for authentication. Everything has been working fine for a few months, but all of a sudden it stopped working on my ...
UltraZethos's user avatar
-1 votes
1 answer
67 views

strong text I'm using wamp version : 2.4 php version 7.1 I have problem like this when I try to create project in my www of wamp please help advice . Thank you so much Composer : { "name": ...
Nathim Try's user avatar
1 vote
0 answers
121 views

I just upgraded one project to Zend Framework 3 from ZF 1.x version. In ZF 1.x version, we have implemented a functionality like provided an unique id for a request being made in the application using ...
Sreejith Pm's user avatar
0 votes
2 answers
132 views

I am trying to send a SOAP request to a client's API endpoint. I am not at all familiar with SOAP, so having quite a difficult time getting this to work. From the client's documentation The requested ...
fractal5's user avatar
  • 2,172
0 votes
1 answer
51 views

After updating Zend Framework to 3 version I got an error on user registration page: Zend\ServiceManager\Exception\ServiceNotFoundException File: ../vendor/zendframework/zend-servicemanager/src/...
Pavel Alazankin's user avatar
0 votes
1 answer
66 views

Is it possible to use HTML form in Zend Framework instead of ZendForm ? In particular to a phtml file? If so how is the <form action "abc.php"> going to work when form is submitted. ...
Devi's user avatar
  • 119
0 votes
1 answer
648 views

I have this addaction controller and i'm getting this exception error though user are getting added. public function addAction() { $requestObj = $this->getRequest(); $viewModelObj = new ...
Nandan's user avatar
  • 432
0 votes
1 answer
74 views

My start only show past 7 days and compare with today's date in zend form and all past dates should disable except past 7 days. I have tried to set min option in attribute section but not working. ...
Medoju Narendar's user avatar
-1 votes
1 answer
189 views

I have Xampp on windows, i'm working with zend framwork 2. I have this error : localhost is currently unable to handle this request. http error 500 When i delete the code of my index.php as above and ...
iss yaz's user avatar
  • 21
0 votes
2 answers
3k views

My Zend framework version is 2.0.5 In the original project, I hope to be able to easily use the php 7.3 version Zend framework 2.0.5 or 2.x.x supports php 7.3? or upgrate zf3?
newer's user avatar
  • 159
0 votes
1 answer
65 views

I have a css and js files, i want to use it and call it from controller, for js these lines work perfectly: $serverUrl = $this->baseUrl(); $headScript = $this->getServiceLocator()->get('...
iss yaz's user avatar
  • 21
-1 votes
1 answer
504 views

I have the option to export some data in my project to a .csv file, i already have the charset set to UTF-8 in the response headers, however, Excel won't open as UTF-8 just by double clicking the file,...
Levy Barbosa's user avatar
1 vote
0 answers
105 views

We are trying to refactor and old ZF2 basecode to Laminas project, but we are failing to bring it up with the following error: [Wed Mar 24 15:16:57 2021] PHP Fatal error: Uncaught exception 'Zend\...
vlr's user avatar
  • 790
0 votes
0 answers
103 views

i want to iterate à table to view tables data 2 time (in listbox and dropdown boutton), when i use one foreach for 1 inout it's ok, but when i use 2 foreach for 2 inputs i hade the bellow error i ...
iss yaz's user avatar
  • 21
0 votes
1 answer
1k views

This project has been ported over manually from Zend Frame work 2 to Laminas. The issue here is that the module.config.php has been set up in the same way as other modules that are working. However I ...
E.Mattu's user avatar
1 vote
1 answer
977 views

I have a zendframework 2 website that need a linux OS, and the website use a search engine that run on windows OS (IIS). How to use docker to run the website and the search engine at the same time? ...
F.HZI's user avatar
  • 23
4 votes
0 answers
749 views

We are very new with setting up test automation for out zf2 application. We use the test classes of zend-test (AbstractHttpControllerTestCase) since it's a zend application. We run it through phpUnit ...
helloUser's user avatar
0 votes
1 answer
263 views

One of our previous developer used this class but i couldn't find the zend version and documentation of this class use Core\Db\BaseModels\BaseDbTable; Please bear with me i have just started my zf ...
Kevin's user avatar
  • 21
2 votes
1 answer
125 views

I'm stuck with this for a while. I have a service for each entity when i trigger various events Eg in ArticleService saveArticle method $this->triggerEvent('articleSaved', ['saved' => $entity]); ...
Marcel Djaman's user avatar
2 votes
1 answer
74 views

It seems that in some cases, allowing the attributes of a form element to be set without escaping might come in handy. Examples are assignment of multiple classes via class="class1 class2" ...
user avatar
-1 votes
1 answer
86 views

I am using Zend Framework 2 for Rest API and used the below code to generate a date to store in the DB table having data type "datetime". $date = new \DateTime(); $create_date = $date->...
Gokul Shinde's user avatar
0 votes
1 answer
884 views

I have a website that stores inventory and I need to make a REST API because I have to put the web component and deliver the data to it. Communication will be secured by JWT. I found a very simple ...
JanuszFrontEnd'u's user avatar
0 votes
0 answers
110 views

I have developed a web application using Zend Framework version 2.8 few months ago and i use json serialization to retrieve data from my database. So heres the problem : I have just open again the ...
skywalskurt's user avatar
0 votes
0 answers
43 views

My code is below. Only 2nd file (shareholder1) is getting upload, first file is not getting upload.The problem is with AddFilter.. $upload = new Zend_File_Transfer(); $company_name = $post['idcmpname']...
Vikram Singh Shekhawat's user avatar
0 votes
1 answer
46 views

Here is my code ,how i am renaming files for differnt paths.My last file share holder is getting upload not uploading first 2. $upload->addFilter('Rename', $path_memorandum .'/'.$...
Vikram Singh Shekhawat's user avatar
0 votes
0 answers
1k views

I have a fairly complex form, which is presented in a tabbed format. Either of the fieldsets in the form need to be completed, so i am looking at using an OptionalInputFilter. The fieldset i am having ...
John Crest's user avatar
1 vote
0 answers
683 views

I have one parameterized method which accept string parameter and returns data upon passed param. I am using codeception framework for writing unit testing for php-zend project. Method: getDataByView(...
Omi's user avatar
  • 4,017
0 votes
2 answers
839 views

How would you write the following query in Zend framework 3 ? SELECT * FROM table_name ORDER BY FIELD(field_name, 'a','b','c'); I tried $select->order(new Expression("FIELD(field_name, 'a', 'b', ...
Antony Jack's user avatar
0 votes
1 answer
418 views

I have an Address entity which is bind to a ZF / Laminas Form. Some properties are defined. Such as street, country, .... /** * @var string * * @ORM\Column(type="string", length=2) */ protected $...
ceadreak's user avatar
  • 1,663
0 votes
2 answers
287 views

I'm creating a website with Laminas (new zend framework). And I have to resize the upload images. The images are NOT being upload using zend form as I created a dropzone. The thing is that I need to ...
Faabass's user avatar
  • 1,216
0 votes
2 answers
931 views

I have a question about Controller Plugin: Redirect.php I have already read about it but still don't understand clearly /** * Generate redirect response based on given route * * @...
Nguyễn Đức Tú's user avatar
1 vote
1 answer
227 views

The third parameter is an array in the dispatch method, so how can I pass the JSON payload in PUT request? Json paload - {"website":"test"} Example, $this->dispatch( 'testUrl', '...
Hetal's user avatar
  • 41
0 votes
1 answer
284 views

I am using Zend Framework 2 to generate the following escaped single-quote SQL query, SELECT `document`.* FROM `document` WHERE ( `document`.`document_taxon` LIKE '%Men\'s Health %...
getmizanur's user avatar
0 votes
0 answers
972 views

What is the possible problem with my API service, when I executing a insert query into the SQL Server database using Zf2's TableGateway it always showing with an error: SQLSTATE: 42000 Code: 3980 ...
Joseph Patrick Timcang's user avatar

1
2 3 4 5
173