I have the top bar and search form both enabled in my header, but the search functionality isn’t working. When you rollover the magnifier icon, nothing happens. Can you help?
This topic has 13 replies, 3 voices, and was last updated 10 years, 9 months ago ago by circlesideways
I have the top bar and search form both enabled in my header, but the search functionality isn’t working. When you rollover the magnifier icon, nothing happens. Can you help?
Hello,
Please update Visual Composer plugin as old version may create conflict with a new theme version.
You can download the plugin at this link https://www.8theme.com/download-plugins/
Thank you.
Regards,
Eva Kemp.
Eva,
I’ve gone ahead and updated the VC plugin to the most current version. However, the search is still not functioning, and nothing happens when you click on it.
Any other ideas?
Please provide us with ftp credetials as some files seems to be customised and we need to check their fuctionality.
With best regards
Brian Johnson
Brian,
The FTP credentials are posted in private content. Thanks in advance for your help!
Hello,
I’ve checked search form on the site with the latest theme version and it’s working fine there.
Please update the theme to 2.6.1 version and check search form after that.
Don’t forget to create a back up of your files and database before update.
Thank you.
Regards,
Eva Kemp.
I’ve proceeded with updating the theme to version 2.6.1 and the site search is still not working. In addition to that, the update is now causing an error on some of the pages containing older blog posts that wasn’t there previously. The error message reads:
Warning: file_exists(): open_basedir restriction in effect. File(/.) is not within the allowed path(s): (/home/techorchok:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/techorchok/public_html/wp-content/themes/legenda/framework/images.php on line 134
A page example of that error is in private content, along with an admin username and password. Thanks!
Hello,
That error should be fixed on the side of a server where your site is hosted.
Please read more information here:
http://www.agentwp.com/open_basedir-restriction-in-effect-error-in-wordpress
https://wordpress.org/support/topic/fix-for-open_basedir-not-in-allowed-paths-message
Thank you.
Regards,
Eva Kemp.
In most cases, you’d be correct. However, if you look closely at the error you’ll see that legenda/framework/images.php is attempting to access the root of the server (/).
There is no scenario where a theme would be able to access the server root in a shared hosting environment.
“File(/.) is not within the allowed path(s)”
Please look at the error message again and advise why line 134 of framework/images.php is attempting to access the path /.
Thanks!
Hello,
Could you please check the recommendations in the articles from previous post?
Please try to modify the files that are specified there and if the problem still exists after that reply back.
Thank you.
Regards,
Eva Kemp.
Eva,
We just tried the fixes listed in the two links you provided. Manually specifying the “WP_TEMP_DIR” in wp-config.php, using either relative and absolute paths, did not resolve the issue. We also checked wp-admin/options.php for the upload_path value, but it was already set to “wp-content/uploads”. Clicking the “Save” button did not resolve the issue. We do not have WHM access or the ability to disable the open_basedir security restriction.
Please look closely at the error message and you’ll see that it does not involve the WordPress temporary directory. If you look at lines 133 and 134 of legenda/framework/images.php, you’ll see the following code:
$base_file = $file_info[‘dirname’].’/’.$file_info[‘filename’].’.’.$file_info[‘extension’];
if ( !file_exists($base_file) )
I suspect that the following is returning null: $file_info[‘dirname’]
Thus the script is trying to access “/.” instead of a relative path or a valid absolute path.
This link may help you: http://stackoverflow.com/questions/6883359/wp-debug-issue-with-image-resizing-script-wordpress
Please advise.
I just wanted to follow up and see if there is any input on how to proceed with fixing both the error message and the main site search issues discussed in this thread. We are eager to put the finishing touches on the site!
Thanks in advance for your assistance.
It’s been a week since I posted last about the two unresolved issues of this theme we’re trying to address. Can someone please let us know a recommended resolution for the site search not working and the error message that was caused by the last theme update?
Thanks in advance for a timely reply!
The issue related to '‘Main site search not working’' has been successfully resolved, and the topic is now closed for further responses