If the SmartSearchWP chatbot is not displayed on the public part of your site, this may be due to the deactivation of the allow_url_fopen option in your server’s PHP configuration. This directive allows PHP to access remote files via URLs.
Solution: Enable allow_url_fopen
To solve this problem, you need to enable the allow_url_fopen option in your PHP configuration. Here’s how to do it:
- If you have a managed or shared dedicated server, access your hosting management platform :
- In your hosting management, look for the PHP configuration and check that the allow_url_fopen directive is enabled. If not, enable it.
- If you have an unmanaged dedicated server, access the PHP configuration file (php.ini):
- Connect to your server via FTP or SSH.
- Locate the php.ini file, usually located in the main directory of your PHP installation.
- Modify the allow_url_fopen directive:
- Open php.ini with a text editor.
- Find the line containing allow_url_fopen.
- Make sure it is set to
On
- If the line is preceded by a semicolon (;), remove it to uncomment the directive.
- Save changes and restart the server:
- Save the modified php.ini file.
- Restart your web server for the changes to take effect.
Note: If you don’t have access to the php.ini file, or if you’re using shared hosting, contact your hosting provider to enable allow_url_fopen for you.
After enabling allow_url_fopen, the SmartSearchWP chatbot should display correctly on your site.