Search found 12 matches

by rodn8274
Tue Apr 11, 2017 9:08 pm
Forum: Zend Server
Topic: Unattended install
Replies: 4
Views: 5022

Unattended install

I run zend server 9 in a Ubuntu 16.04 vmware_fusion VM. I manage the VM with vagrant. When using vagrant to spin up the ubuntu guest I'd like to provision it and install zend server 9 (development license). I know I can run the the install_zs.sh [PHP version} --automatic but that only gets me half w...
by rodn8274
Wed Dec 14, 2016 9:30 pm
Forum: Zend Server for IBM i
Topic: lower case table names and columns in ZF2
Replies: 0
Views: 2123

lower case table names and columns in ZF2

Does anyone know the proper configuation options to set in ZF2 to force table names and columns to lower case. I'm using pdo_odbc. Creating a db connection using the odbc driver works perfectly $Conn = new PDO("odbc:DEV", $username, $password, [ PDO::ATTR_CASE => PDO::CASE_LOWER ]); **NOTE: DEV is m...
by rodn8274
Mon Jun 13, 2016 9:25 pm
Forum: Zend Server
Topic: Add custom header to zend queue job
Replies: 1
Views: 1653

Re: Add custom header to zend queue job

figured this out as 2 minutes after I posted this....lol http_headers should be an associative array (duh) try { $jobId = $this->queue ->createHttpJob( $this->workerUrl, $queueParams, [ 'name' => 'DS2 Batch Upload', 'http_headers' => ['X-Stonemor-Queue' => 'axd23872kdkad88dl'] ] ); } catch (\ZendJob...
by rodn8274
Mon Jun 13, 2016 9:19 pm
Forum: Zend Server
Topic: Add custom header to zend queue job
Replies: 1
Views: 1653

Add custom header to zend queue job

I need to add a custom header in a zend server queue job. Below is what I have but the X-Stonemor-Queue: header never comes through to my consumer script. It is my understanding that any custom headers added to the job will be passed to the consumer. Please let me know if this is not the case. NOTE:...
by rodn8274
Wed May 11, 2016 12:46 pm
Forum: Zend Framework
Topic: FETCH FIRST N ROWS or LIMIT
Replies: 1
Views: 1662

FETCH FIRST N ROWS or LIMIT

I'm developing a ZF2.3 application on an IBM iSeries using DB2i. Does anyone know how to add the 'FETCH FIRST N ROWS' clause to a query that is being generated using the Zend\Db\TableGateway I thought the underlying ibmDB2 driver would convert the ->limit() method to "FETCH FIRST N ROWS' but it does...
by rodn8274
Tue Dec 01, 2015 3:58 pm
Forum: Zend Server for IBM i
Topic: symlinks to document root on the iSeries
Replies: 0
Views: 1740

symlinks to document root on the iSeries

I'm using a deployment strategy for our php web apps that creates symlinks from a directory called "current" to the document root designated in the apache vhost file. I have an automated script that does the deployment and creates the symlink. The deployment and creating the symlink works as expecte...
by rodn8274
Wed Oct 21, 2015 5:05 pm
Forum: Zend Server for IBM i
Topic: Unable to verify SSL cert using ldaps
Replies: 2
Views: 4622

Re: Unable to verify SSL cert using ldaps

Scott,

Thanks for this article! I ran the commands as stated in the article and TLS cert verification seems to be working now.

Again thanks for you help
by rodn8274
Wed Oct 21, 2015 1:17 am
Forum: Zend Server for IBM i
Topic: Unable to verify SSL cert using ldaps
Replies: 2
Views: 4622

Unable to verify SSL cert using ldaps

I have a ZF2 web app running in ZendServer 6 on the iSeries that uses the ZendAuthorization to connect to our Active Directory server over SSL (ldaps:// port 636) to control access to the app. I'm getting the following error whenever we attempt to connect. authentication failed: 0x51 (Can't contact ...
by rodn8274
Wed Jul 15, 2015 2:10 pm
Forum: Zend Framework
Topic: count method on resultSet returned from TableGateway
Replies: 0
Views: 1467

count method on resultSet returned from TableGateway

I'm using ZF2.4 on ibm iSeries (as400) running zend server 8. I'm using the TableGateway pattern with DB2i. TableGateway returns a valid HydratingResultSet with data. The problem I'm encountering is when I call the count() method on the result set. It always returns 0 even though the object is full ...
by rodn8274
Fri Jan 09, 2015 10:54 pm
Forum: PHP Questions / Hints
Topic: Zend_Paginator
Replies: 4
Views: 4877

Re: Zend_Paginator

Thanks Mark!

I'm curious as to how you implemented a paginator with that SQL. Did you end up extending ZF paginator and add the SQL below or did you just code your own and not use Zend_Paginator(new Zend_Paginator_Adapter_DbTableSelect())