How to download and run an existing Zend Site?

I have not every used, or even installed the Zend Framework. I have inherited a website built in the ZF and only have FTP access to the deployed version that is live. Is it possible to simply download the files that are live and run then locally wit...
more »

2017-08-09 18:08 (1) Answers

How to update an object in Zend Framework 2

i'm trying to update an object by using this code : The column co_nbre will be updated to 0 !!!! I think you will help me to fix this issue and thnx a lot. public function update($model) { $data = get_object_vars($model); $id = (int)...
more »

2017-08-09 14:08 (1) Answers

Add digital signature appearance programmatically?

I am signing my PDF files programmatically and I would like to add the signature appearance to the PDF : what objects would I need to achieve this ? I know I have to Annotations, BBox and XObject but I don't really know in which order and if I need o...
more »

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

Fetch an array in zend framework

I am new with zend and I don't know how to fetch an array into a view (phtml). This is my array: [["0","Henedy"],["0","Samer"],["0","Walid"]] and this is my controller and my model table code : public function getUsersCoNbre() { $select = ne...
more »

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

Routing in the Zend Framework 2

It's not long since I'm using Zend Framework 2 and I'm trying to write a route for a product that have the rule something like that: /[slug]-test[ID][av|ai|cv|ci|svb|sib|svc|sic|svi|sii|tv|ti] An exemple for this rule would look like this: ...
more »

2017-08-07 14:08 (2) Answers

mysql Database logic advise on zend

I have employee table and training table, I want employees to login and see only training suggested his/her departments. is this good approach, separate suggested departments with comma ? and query will be select from training table where employee de...
more »

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

Zend2 Module can't be initialized

Here my Module.php: <?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonModule for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. ...
more »

2017-08-06 16:08 (2) Answers

path issue in zendframework 2

Currently I am transferring zend 2 from an server to another. I got some path issue. While I am accessing file with index.php it work for once and than stop working. like url - 11.11.11.11/index.php/user/login. in this case it worked fine for once an...
more »

2017-08-05 09:08 (1) Answers

Redirect zend 1 url to another url using .htaccess

I start working for zend. I have facing problem on our project. i want to create a custom url in Zend 1.9. I read a many article and try to get solution but i am not found a batter solution. I am using this url with zend 1.9 routing http://example....
more »

2017-08-04 14:08 (0) Answers

Dynamic route for catalog

I have this route routes.catalog.type = "Zend_Controller_Router_Route_Regex" routes.catalog.route = "(a|a-b|b|c|d|d-a|d-b)(.*)" routes.catalog.defaults.controller = "category" routes.catalog.defaults.action = "index" This match correctly with: ht...
more »

2017-08-04 13:08 (1) Answers

Zend framework - error wont login

CentOS 3.10.0-327.36.3.el7.x86_64, PHP 7.0.12. public function render($html, $input) { $view = new ViewModel($input); $view->setTemplate($html); $viewRenderer = $this->getServiceLocator()->get('ViewRenderer'); return $vie...
more »

2017-08-04 13:08 (1) Answers

Xenforo send Emal to ....@domain.tld Error

Xenforo says by sending Email Email to ...@gmail.com failed: stream_context_set_option(): called with wrong number or type of parameters; please RTM - library/Zend/Mail/Protocol/Smtp.php:206 in line 206 of the file Smtp.php // If a TLS session i...
more »

2017-08-03 02:08 (0) Answers

How to install Zendframework 1 in xampp

So i'm new in zendframework and i want to try zf version 1 , i cannot find a good documentation for this. i'm having an error when i try to run the downloaded file in xampp here's the screen shot of my folder structure I install zend framework us...
more »

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

PDF Unknown signing icon

I am signing PDF programmatically. Every new signature is added in an incremental way where I add the signature dictionnary after the %EOF and I update the AcroForm like this (sorry, I'm at work so I can't upload the PDF) : ... // ORIGINAL FILE tra...
more »

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

difference on production system

I have a ZF3 project with a controller which opens excel-files and compares them with an template which will be openened, too. On my development notebook (xampp) everything works fine, at my production system (ubuntu) the phpspreadsheet causes error...
more »

2017-07-31 16:07 (1) Answers

MySQL server has gone away - Zend

I have very strange problem. I'm working on shop based on zend framework. I'm creating integration with some auction service (allegro.pl). I need to download via soap all items. After my function finish job I get "MySQL server has gone away". Here i...
more »

2017-07-29 18:07 (1) Answers