Problem with Low Search 3.1.6: A PHP Error was encountered
Hi Low,
These days I've udpated EE (2.8.1 to 2.9), Low Search 3.1.5 was installed, no problems encountered.
But today i've installed Low Search 3.1.6 and a PHP Error appears on the production site only when i'm logged in the control panel. When i log out, and refresh the production site pages, this error disappear.
If i downgrade Low Search to 3.1.5, no errors appears in the production pages, even if i'm logged in the Control Panel.
PHP error: when i'm using Low Search 3.1.6 and logged in the control panel. This error appears: index.html, but it doesn't exist inside Low Search folder:
A PHP Error was encountered
Severity: Warning
Message: is_dir(): open_basedir restriction in effect. File(/home/cozinharaz/hibernatus/expressionengine/third_party/index.html/filters/) is not within the allowed path(s): (/home/cozinharaz/:/tmp:/usr/local/lib/php:./)
Filename: libraries/Low_search_filters.php
Line Number: 235
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/cozinharaz/hibernatus/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 446
So, this problem appears only after to have installed Low Search 3.1.6, if i come back to install Low Search 3.1.5, no errors message appears.
regards,
Stéphane
Replies
Low 30 Jul 2014 14:20
This will be fixed in the next version, but you can probably fix it for now by removing the index.html file that is inside your /third_party/ folder.
Stéphane Cabaret 30 Jul 2014 14:32
Thanks for your fast reply!
I will come back to install 3.1.5, and waiting for the new version.
Regards
Low 30 Jul 2014 14:35
The index file I'm referring to is this one: /system/expressionengine/third_party/index.html.
So not inside the low_search folder, but one dir up.
Stéphane Cabaret 30 Jul 2014 14:40
yes, i've just understood this!! I've confounded the 2 folders.
Even if i rename index.html to index.html_off it's not working, so deleting index.html from third_party resolve the problem.
Thanks