Jump to content

Fatal error failed opening file


adman4054

Recommended Posts

Hi -- 

 

We recently made some PHP changes to a file. in the logs I see the following lines. My question is, because a session has already started and is being ignored, would that the failed to open stream - no such file or directory? I know the folder and file are there, but as it says in fatal error, it couldn't open the file.

 

PHP Notice:  A session had already been started - ignoring session_start() in

 

PHP Warning:  require(authNet/AuthnetAIM.class.php): failed to open stream: No such file or directory in

 

PHP Fatal error:  require(): Failed opening required 'authNet/AuthnetAIM.class.php' (include_path=

 

This is part of a 7 page if that helps.

 

Thanks in advance.

Link to comment
Share on other sites

Could you post the actual line that is giving you this error to help us out?

 

PS - the session warning error is telling you that you did a session_start in a second spot when you don't need one. Do it at the top of the first script/file to gain control and nowhere else.

Edited by ginerjm
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.