Forums

PHP

This topic is locked

Phakt and errors with Null values from MySQL

Posted 22 Dec 2001 16:11:25
1
has voted
22 Dec 2001 16:11:25 Nicholas Pitt posted:
Hi there.

I am trying to access a MySQL database with Phakt and get the following sort of error when Null fields are encountered.

Warning: Undefined index: add3 in C:\Inetpub\wwwroot\PHP
Test\adodb\adodb.inc.php on line 1363

Has anybody else experienced this sort of problem and, if so, how did you manage to solver/work around it?

Regards.

Nick

Replies

Replied 27 Dec 2001 18:22:42
27 Dec 2001 18:22:42 Tim Green replied:
To resolve this issue you need to edit your PHP.ini.

The problem lies not with PHAkT but with the fact that your error_reporting settings are set too high.

Open up your PHP.ini and change error_reporting to :-

E_ALL & ~E_NOTICE

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 27 Dec 2001 19:29:14
27 Dec 2001 19:29:14 Nicholas Pitt replied:
Thank you Tim.

That was the problem and making the change you suggested put things right.

Regards.

Nick.

Reply to this topic