Questions tagged as 'zend'

0
answers

SSL error when posting new entry

Today I found an error when using the Zend to publish in my blog blogger. Using PHP this is the code: <?php set_time_limit(0); date_default_timezone_set('America/Argentina/Buenos_Aires'); if (isset($_POST['submit'])) { // load Zend Gdata...
asked by 23.03.2018 / 04:15
1
answer

Problem with empty Ajax!

I have a form in which there is a textArea. This form is validated first by Ajax to check if the texArea text is large enough and after this, it is validated in the controller action for the rest of the data. Well, the first time I submit, th...
asked by 30.08.2016 / 15:33
2
answers

Abnormal foreach behavior in php 7.0, repeat the last element in nested foreach

I'm new here, and as the title says the foreach behaves abnormally. I want to list all the driver's schedules per shift (1 = day, 2 = night), in turn these with the days from Monday to Friday (0 = Sunday, 1 = Monday, etc) Bearing in mind that dr...
asked by 11.12.2017 / 22:46
1
answer

Publish ZF2 project on server with Cpanel

I have a project in my localhost that works impeccably, I uploaded the project to a cPanel server in Hostgator, I updated php to its version 7.0 so that everything works ok, I uploaded it to a folder and create a subdomain that points to the fol...
asked by 18.08.2016 / 18:01
1
answer

Create a subdirectory in the Forms folder of ZF2

I am building a system in ZF2, in a controller I have many different forms, but in the same module I have many controller with many forms, and to make everything more ordered I want to create a subdirectory in the folder Forms...
asked by 09.08.2016 / 23:27
1
answer

htmlspecialchars () expects parameter 1 to be string, object given

I have made a new form element, a zend_form_element that inherits from the text field of zf1 . The fact is that when I use it in a form it sends me this warning:    PHP Warning: htmlspecialchars () expects parameter 1 to be st...
asked by 08.08.2016 / 13:48
1
answer

I have two actions for a single route but I do not know how to arm the URL

I have a problem that I have not been able to solve, I have a route with son, like this: 'apps' => array( 'type' => 'Segment', 'options' => array( 'route' => '/apps[/[:action[/:id]]]', '...
asked by 26.07.2016 / 03:03
0
answers

Zend Soap server returned a String

Raise a SOAP server using Zend Framework and SlimFramework Soap, the call to wsdl works correctly and the result is in xML but when I call a function, it returns the XML as a string My Code: use Zend\Soap\AutoDiscover; use Zend\Soa...
asked by 18.10.2018 / 16:19
0
answers

Load Imagine class in Zend Framework 2

To load the class Imagine to a controller I executed the following line in the terminal: composer require imagine/imagine Which, in the vendor folder, created a folder called imagine with many classes. Then in t...
asked by 24.08.2016 / 21:48
1
answer

Zend Framework 2, Model Error

Create a ZF2 project using composer and then create a module using the ZFTOOL called "Login". The problem arises when adding a model, which is not working, here I add the captures of the project. The error that I generated in the browser i...
asked by 13.05.2016 / 00:52