note 32766 added to function.main
| From: | indian_jedi at hotmail dot com | Date: | Fri, 06 Jun 2003 06:27:56 +0000 |
| Subject: | note 32766 added to function.main | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49843@lists.php.net to get a copy of this message | ||
The company I'm hosting with is using:
· Apache 1.3.26
· Redhat 6.2
· PHP 4.2.2 w/ Zend Optimizer
I'm developing on WinXP using:
· 4.2.0
· Apache 1.3.26 w/ Zend Optimizer
And sometimes on another WinXP box with:
· 4.3.x
· Apache2
I have 2 classes. class A extends class B and the class A files includes the class B file.
I've tried:
· include
· require
· require_once
In the Linux environment I'm hosting on the following error is produced:
``
Warning: main(/path_to/Links.php) [function.main]: failed to create stream: No such file or
directory in /path_to/Content.php on line 3
Fatal error: main() [function.main]: Failed opening required '/path_to/Links.php'
(include_path='') in /path_to/Content.php on line 3
``
There are no errors produced in my Win environment. I've worked around this by putting both
classes in the same same file.
----
Manual Page -- http://www.php.net/manual/en/function.main.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32766
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32766&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32766&report=yes