note 32766 rejected from function.main by alindeman
| From: | alindeman@php.net | Date: | Fri, 06 Jun 2003 12:35:45 +0000 |
| Subject: | note 32766 rejected from function.main by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49855@lists.php.net to get a copy of this message | ||
Note Submitter: indian_jedi@hotmail.com
----
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.