get some errors on start cmd.php

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Romeo

get some errors on start cmd.php

Post by Romeo »

I have a problem: when I try to start cmd.php on Solaris 8 x86, with apache 1.3.26, php 4.2.1 and mysql 3.23.51I recive this error:
-----------------------------------------
bash-2.05# php cmd.php
.............
<b>Notice</b>: Undefined variable: database in <b>/opt/apache/htdocs/stat/include/database.php</b> on line <b>17</b><br />
<br />
<b>Notice</b>: Undefined variable: do_not_read_config in <b>/opt/apache/htdocs/stat/include/config.php</b> on line <b>38</b><br />
<br />
<b>Notice</b>: Undefined variable: database in <b>/opt/apache/htdocs/stat/include/database.php</b> on line <b>17</b><br />
<br />
<b>Notice</b>: Undefined variable: do_not_read_config in <b>/opt/apache/htdocs/stat/include/config.php</b> on line <b>38</b><br />
<br />
<b>Notice</b>: Undefined variable: do_not_read_config in <b>/opt/apache/htdocs/stat/include/config.php</b> on line <b>38</b><br />
--------------------------------------------------------------
10x in advance
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

It looks your php error level may be set to high. Try setting error_reporting to E_ALL & ~E_NOTICE in your 'php.ini' file.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests