Re: I'm having a little problem
| From: | Jeff Wilhelm | Date: | Tue, 18 Jul 2000 20:48:22 +0000 |
| Subject: | Re: I'm having a little problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7153@lists.php.net to get a copy of this message | ||
either put:
error_reporting(level);
at the top of a global include
or
you could define the variables with
global $ssa_id,$phorum_catalog,......;
----- Original Message -----
From: "Zach Smith" <zach@overcoffee.com>
To: "PHP Mailing List" <php-general@lists.php.net>
Sent: Tuesday, July 18, 2000 3:19 PM
Subject: [PHP] I'm having a little problem
Everything was working fine for us until a few days ago when we started to
get these errors:
Warning: Undefined variable: ssa_id in include/test.inc on line 2
Warning: Undefined variable: phorum_catalog in include/selfserve_stuff.inc
on line 2
Warning: Undefined variable: id in common.php on line 21
Warning: Undefined variable: cid in common.php on line 21
Warning: Undefined variable: catalog in common.php on line 21
It is understandable since the variables are undefined to start with....but
if I recall correctly they should just have null or void values. Is there a
way to turn this error reporting off or what? We are using up to date
Apache and PHP. TIA!
/*~Zachary*~/
Taking up space and valuable resources since 1983