adman4054 Posted July 26, 2016 Share Posted July 26, 2016 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. Quote Link to comment https://forums.phpfreaks.com/topic/301639-fatal-error-failed-opening-file/ Share on other sites More sharing options...
ginerjm Posted July 26, 2016 Share Posted July 26, 2016 (edited) 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 July 26, 2016 by ginerjm Quote Link to comment https://forums.phpfreaks.com/topic/301639-fatal-error-failed-opening-file/#findComment-1535072 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.