Larry, if you're doing DB2 inserts, check out slide# 54 here:
http://www.slideshare.net/aseiden/db2-and-php-best-practices-on-ibm-i

It shows how to check for errors and to find the exact error text for SQL queries to ibm_db2.

If you just want PHP errors, find the PHP log at /usr/local/zendsvr/var/log/php.log

Alan


On 11/15/12 3:38 PM, Larry Kleinman wrote:
Does anyone know how to change the logging level of a job submitted from a
PHP script using Zend Server that runs some SQL? I have a script that
does an SQL insert and 99% of the time it works fine. Occasionally, the
record that should have been added is not there, and occasionally I get
several of the same record instead of just one.

Larry Kleinman
Kleinman Associates, Inc.
212-949-6469


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.