Warning messages in Studio for DB2 functions

General discussion on Zend Studio
Post Reply
jame407
Posts: 4
Joined: Sun Dec 01, 2013 2:23 pm

Warning messages in Studio for DB2 functions

Post by jame407 » Fri Feb 07, 2014 9:03 pm

I searched but was unable to find any other mention of this...

In Studio 10.5, I get warning messages on my PHP when using any DB2 functions.

For example, I get Call to undefined function 'db2_execute' referring to the following line:
$conn = db2_connect($database, $connuser, $connpass);

Why are PHP functions causing the warnings and is there a way to prevent them from showing without also losing ALL Warnings?

pete6351
Posts: 6
Joined: Mon Aug 05, 2013 5:33 pm
Contact:

Re: Warning messages in Studio for DB2 functions

Post by pete6351 » Mon Feb 10, 2014 7:16 pm

I too am getting the same issue. I just installed the updates for 10.6 and now all db2 functions are flagged as "Call to undefined function ..."

anth5833
Posts: 1
Joined: Fri Feb 14, 2014 4:05 pm

Re: Warning messages in Studio for DB2 functions

Post by anth5833 » Fri Feb 14, 2014 4:05 pm

I am also having this problem.

User avatar
natalia_b_zend
Posts: 366
Joined: Wed Jan 25, 2012 5:51 pm

Re: Warning messages in Studio for DB2 functions

Post by natalia_b_zend » Tue Feb 18, 2014 6:00 pm

Thanks for reporting!
I confirm we have a bug in Studio 10.6. We'll address it in next update.
A workaround - set the default PHP version (project specific or workspace wide preference) to 5.4.
Natalia Bartol
Zend Studio Team

User avatar
natalia_b_zend
Posts: 366
Joined: Wed Jan 25, 2012 5:51 pm

Re: Warning messages in Studio for DB2 functions

Post by natalia_b_zend » Wed Apr 02, 2014 7:39 pm

Zend Studio update 10.6.1 including fix for this issue is available: http://forums.zend.com/viewtopic.php?f=59&t=117208
Natalia Bartol
Zend Studio Team

Post Reply