Hello, I had installed EE4 on my site and everything seemed to be working well. However, after installing an SSL certificate on the website EE no longer works. The rest of the site is working, but when I try to load any EE page I get a string of errors like this:
PHP Warning: file_exists(): open_basedir restriction in effect. File(\httpdocs/wp-content/themes/mdaalberta/ /httpdocs/wp-content/plugins/event-espresso-core-reg/modules/ticket_selector/templates/ticket_selector_chart.template.php) is not within the allowed path(s): (/mdaalberta.com\;\Temp\) in \wp-includes\template.php on line 467
Any ideas how this can be fixed? I had already followed the instructions for installing the WordPress HTTPS plugin and enabling it for the critical pages, but this made no difference.
The site is currently protected by site PIN but I can provide this PIN if there is a private place I can send it.
This topic was modified 9 years, 6 months ago by Tony. Reason: Removed server paths
PHP Warning: file_exists(): open_basedir restriction in effect.
open_basedir is enabled which will not allow PHP to access files outside of the ‘allowed paths’.
I would recommend contacting your hosting company, providing them with the error you have posted here. The open_basedir will need to be relaxed to allow PHP to include files from within the /wp-content/plugins/ (and subdirectories) at least.
Right now PHP can no include files from within those locations.
You can read more about what base_dir is HERE and HERE
I did a quick search and found this as an example of relaxing this restriction some:
Also to note (although not a cause of the problem currently) you are running EE on a windows based server which is not something we recommend. Many users run into multiple problems with Windows based servers which is why we recommend Linux based hosting.
Also, as these forums are public I have removed the server path details from the error you posted.
Its best not to post details such as those publicly 🙂
Viewing 2 reply threads
The support post ‘EE4 and SSL’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.