Jump to content

Intermitent failure of include_once


fgpsmith

Recommended Posts

I'm not sure this is a a PHP 5 problem or not, I just know I get the problem on one of our servers running PHP 5 and I don't get it on one running PHP 4.

The problem manifests when trying to run phpDocumentor via it's GUI sometimes it works - sometimes it doesn't! After clicking the create button it displays parsing files... and hangs.

After adding in many debug "echos" I have discovered that it dies in
phpDocumentor/Setup.inc.php

The most common problem line is
include_once("phpDocumentor/TutorialHighlightParser.inc");

Although sometimes it gets past that and dies on a later include_once.

When it hangs echos before that statement output, echos after that statement or in TutorialHighlightParser.inc do not output.

There are no relevant messages in the php log file to suggest any failure and clicking the create button again will hang or work - seemingly at random.

This is all on one of our servers running PHP 5.0.3 and Apache 2.0.54. On a different server (which is not where the files I want to document are) running PHP 4.3.9 and Apache 2.0.52 things seem to work fine.

Has anyone got any suggestions of what I can check or alter to get this up and going?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.