Search found 33 matches

by longnoz
Wed Aug 13, 2014 12:38 pm
Forum: New Toolkit
Topic: Errors after installing zend server 6 and 1.5.0 of CW
Replies: 4
Views: 3739

Re: Errors after installing zend server 6 and 1.5.0 of CW

This got me into thinking about using ini_get() instead of ini_set(). What values was my php pgm seeing for ini? So I added this to my code: echo 'display_errors = ' . ini_get('display_errors') . "<br>"; The returned value was blank. Nothing So I tried these as well: echo 'html_errors = ' . ini_get(...
by longnoz
Wed Aug 13, 2014 2:56 am
Forum: New Toolkit
Topic: Errors after installing zend server 6 and 1.5.0 of CW
Replies: 4
Views: 3739

Re: Errors after installing zend server 6 and 1.5.0 of CW

Update: the fatal error issue has been resolved. It was because we were including CW.php twice in the same program. Or rather a program was calling many subprograms and the subprograms each had their include of CW.php. Switching to include_once solved the problem However, we can't get the non-fatal ...
by longnoz
Thu Aug 07, 2014 10:16 pm
Forum: New Toolkit
Topic: Errors after installing zend server 6 and 1.5.0 of CW
Replies: 4
Views: 3739

Errors after installing zend server 6 and 1.5.0 of CW

Hello Have zendsvr 5 running on our prod machine with V7R1. We set up a test machine V7R1 and chose zendsvr6. Our php pgms on test have this type of fatal error: Fatal error: Cannot redeclare d() (previously declared in /usr/local/zendsvr6/var/libraries/PHP_Toolkit_for_IBMI_i/1.5.0/library/CW/cw.php...
by longnoz
Fri Dec 06, 2013 11:21 pm
Forum: Zend Server for IBM i
Topic: SQL0579: SQL won't run
Replies: 5
Views: 2843

Re: SQL0579: SQL won't run

do you think stored procs can have the NO SQL directive in them as well?
by longnoz
Fri Dec 06, 2013 11:01 pm
Forum: Zend Server for IBM i
Topic: SQL0579: SQL won't run
Replies: 5
Views: 2843

Re: SQL0579: SQL won't run

Alan We have not been able to move any farther due to a problem in obtaining remote access. Should be able to connect again next week. But something has come up at another client in the meantime that might be helpful. It seems that at V7R1, the operating system no longer tolerates the existence of t...
by longnoz
Tue Nov 26, 2013 5:36 am
Forum: Zend Server for IBM i
Topic: SQL0579: SQL won't run
Replies: 5
Views: 2843

SQL0579: SQL won't run

Hello We are executing an SQL-RPG program using the computability wrapper. We cloned our production environment and created a test environment. On the test machine, we get this SQL0579 error in the QSQSRVR job that is serving our web application (see attachment) The only known difference between pro...
by longnoz
Fri Feb 24, 2012 8:45 pm
Forum: New Toolkit
Topic: CW not working
Replies: 14
Views: 9359

Re: CW not working

Hi I am back to CHAR instead of BYTE. Data passes perfectly when I use CHAR. In the RPG program I have a debug file where I write the incoming parm to a database file. The incoming parm is perfect. But it seems that the SQL in the RPG program fails or does not get executed because the output parm is...
by longnoz
Tue Feb 21, 2012 9:42 pm
Forum: New Toolkit
Topic: CW not working
Replies: 14
Views: 9359

Re: CW not working

Hi Changing the CCSID to 500 fixed problem number one (re french characters) As for problem number 2, I switched back from BYTE to CHAR and the results are "better" in the sense that I am getting a "not found" (instead of a bunch of numbers) So I checked toolkit.log and I have a new error: 21 Feb 20...
by longnoz
Tue Feb 21, 2012 8:43 pm
Forum: New Toolkit
Topic: CW not working
Replies: 14
Views: 9359

Re: CW not working

Hi Seems your link is missing in the above response Note that the 2 points I mentioned above are completely separate. Perhaps your suggestion of a different CCSID would help with problem number one. But as far as problem number 2 is concerned, it has nothing to do with french characters. There are n...
by longnoz
Tue Feb 21, 2012 7:26 pm
Forum: New Toolkit
Topic: CW not working
Replies: 14
Views: 9359

Re: CW not working

I added the 2 CCSID directives to my apache config (note that I am not using zendsvr as my http instance. i had a pre-existing apache instance that was configured for fastcgi) The php script now runs through without any halts. And the calls to the RPG using the wrapper also work. But this ccsid has ...