Hi,

I have a strange problem, I couldnt detect the reason:

My problem is: Sometimes my index.php can not find the file it
require_once (in fact the file exist, and usually web pages and this
script works normal); PHP gives the file is not found in the include
path. Suddenly when I try F5-refresh it works, another refresh: it is
not working. With apache stop - start, it begun to work normally.
After one or two days the server began to give the error.

Facts about my system:
* PHP: 4.3.8
* OS: Solaris9 64bit
* Zend was istalled (but not needed i think)
* There is a PHPNuke site on the same server; it is working meanwhile
i got errors
* Site design:
  - a index.php have some include()s, some controls and then
require_once() the page that was wanted.
  - most page are out of public_html

my index.php
<?php
        $project_home = "/export/home/user/project/";
        //     /export/home/user/public_html  is the web area
        require_once($project_home."_index.php");
?>

my _index.php (truncated) ---- this is not located in public_html
<?php
        session_start();
        include_once($project_home."_page.php");
        oraLogin(); // connect to oracle
        if ($oraStatus) { // if connected
                // p : page id
                page_init($p); // set the $s_pagename and other vars
                // $s_pagename is like "/export/home/user/project/aaa.php
                page_header();
                require_once($s_pagename); // I have the error here
                page_footer();
        } 
?>

any idea? any help!! thank you...
-- 
Fahri Aydos
www.aydos.net




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to