Posted: March 1, 2019 at 3:04 pm
|
Today, I’m getting php warnings in the debug.log file. [01-Mar-2019 21:56:35 UTC] PHP Warning: include(/home/content/p3pnexwpnas03_data02/07/41456807/html/wp-content/uploads/espresso/templates): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 77 I can successfully sign in as an admin, but nothing is being sent to the browser when accessed as a visitor. |
Hi, May I ask do you have any custom templates in wp-content/uploads/espresso/templates? If so, they can be moved into the active theme’s directory e.g. move them into wp-content/themes/your-activity-theme-directory-name. If no templates there now, or after you empty that director, you can delete the /wp-content/uploads/espresso/templates directory. |
|
|
Thanks Josh. No templates, so I removed the directory. Now I’m getting [02-Mar-2019 00:02:27 UTC] PHP Warning: include(/wp-content/plugins/event-espresso-core-reg/public/Espresso_Arabica_2014): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 77 Still can’t view the website. No other errors showing. And nothing sent to the browser. |
Hi there, The above is basically saying there are either missing files from your install or your site does not have access to the files if they are there (or, there’s some form of restriction on the server side preventing the files from being included). When EE checks this location: It’s checking for custom templates but your server state it doesn’t exist, yet it did until you deleted it (this would point to a permissions issue). If you check now, has that directory been re-created? EE will check for the custom directories and if it has access to do so, will create them again. When EE checks the above directory and there are no templates in that location it switches back to the default location, which is As your server then also returns that it can’t access that directory, either, the files are missing from the core plugin (seems unlikely considering you get the error when EE is also trying to read the custom template directory, which would be empty unless you added templates there yourself) or, for some reason EE can’t access the directories on your server. I’d start by checking with your host to confirm your site has the correct permissions to access both of those folders. Can you link me to an event so I can run some tests? (I understand there will be no output) |
|
The support post ‘Failed to open stream in templates folder’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.