Zend PHP - Old Version Upgrade?

Is it possible to upgrade Zend Version 1.10 to the latest version? Also, I assume I can't upgrade the PHP version (5.2 currently) to the latest as I'm running an Older Zend Version. Can someone give me some insight here? ...
more »

2017-10-13 12:10 (1) Answers

Empty paginator after rest post

I built a rest api using zf-rest. I want to send data via post. The api should make a database call with the posted data and answer with a collection of hal entities and a paginator: public function create($data) { $inputFilter = $this->getInpu...
more »

2017-10-13 08:10 (0) Answers

Zend Framework 3 access_filter

Something unusual is happening with my access filtering l have the following: 'access_filter' => [ 'options'=>['mode'=>'restrictive'], Controller\IndexController::class => [ ['actions' => ['...
more »

2017-10-10 08:10 (1) Answers

Add new controller to existed module in zf3

In Zend framework 3, I tried adding new controller "ArticleController" to a existed module City but failed. I post screen shot, my folder structure and module.config.php. Could you explain what the problem is? Incidentally, it worked when accessing h...
more »

2017-10-09 10:10 (1) Answers

AIR - Deploy RemoteObject Services Remotely

OK, I finally got my webservices converted from XML webservices to RemoteObject AMF services on my local machine and it is working like a charm, fast as lightning. But this is a mobile app and the database and services need to be moved to a serve...
more »

2017-10-08 22:10 (0) Answers

empty array on getParsedBody

I have a ServerRequestInterface $request. $body = $request->getBody()->getContents() returns {"email":"a@b.com","password":"password"}, but $request->getParsedBody() returns array[0]. This is a POST request. Anyone know what might be goin...
more »

2017-10-08 17:10 (0) Answers

How to tearDown() mockObjects in PHP unit

I have to test a controller in php, where it uses more than 20 models. When I tried to create the mocks for the models using prophecy it fails with the Fatal Error: Allowed Memory Size Exhausted I tried to increase the memory_limit in php.ini ...
more »

2017-10-05 10:10 (0) Answers

Include_Path, require once, PHP issues using Zend

I am new to PHP, so I apologize for my inexperience. I am working in a Windows 10 environment and have installed WAMP to serve Apache, PHP, and MySQL. I am creating some remoteObject webservices for an Adobe AIR app that will communicate with Zend ...
more »

2017-10-05 04:10 (1) Answers

How can I extend the form lifetime in Magento

I have a marketplace application built on Magento 2 which is running into occasional issues which I think are down to forms timing out. When our users put a listing together it can sometimes take several (5+) minutes to complete and it seems that the...
more »

2017-10-01 12:10 (0) Answers

SOCIALENGINE - how to fetch Profile Info?

On the Members page, I am trying to modify the profile tags including only some info for each profile on Member. How do I get each single value from that profile from the database? It should be something like this I believe but I am missing somethin...
more »

2017-10-01 00:10 (1) Answers

ZF3: Doesn't receive params from url

I've got a problem trying to retrieve params from url with ZF3. I have always the default value when I try to pass any value from url: http://domain/game/1 module.config.php 'game' => [ 'type' => Segment::class, 'option...
more »

2017-09-30 12:09 (1) Answers

Zend Session TypeError

I'm trying to handle php sessions using the zendframework/zend-session (v.2.8) library. The problem is, I cannot start the session because of an internal TypeError in the zend-session library. Is this a bug or how can I fix my code to make it work? ...
more »

2017-09-30 10:09 (0) Answers

ZF3: Throwing and catching exception

In my IndexController indexAction, I'm trying to throw and catch exception, then in the catch block, I want to do something, like so: namespace Application\Controller; use Zend\Mvc\Controller\AbstractActionController; class IndexController extends...
more »

2017-09-28 10:09 (1) Answers

ZFDebug no debug bar

I am using ZF1 and just installed ZFDebug, however, there is no debug window when I enter the website. Here is the function I use to init ZFDebug protected function _initZFDebug() { if (APPLICATION_ENV == 'testing') { ...
more »

2017-09-26 15:09 (0) Answers

not reading the enter key from textarea

i want the exact spaces and enter keys from a textarea. i have tried n2blr(),stripslashes(),htmlspecialchars() but still am not able to read the exact enter key from textarea. This is my zend form for textarea! $message = new Zend_Form_Element_Text...
more »

2017-09-26 09:09 (0) Answers