Same problem here. Tons of this kind of messages:
Welcome to Loco Translate
Debug: /home/customer/www/_______/public_html/wp-content/plugins/perfect-woocommerce-brands/languages is not within the open_basedir restriction
Plugin Author
Tim W
(@timwhitlock)
Thanks for reporting.
A check was added in the last update to avoid warnings in the logs.
Switching off debug mode will suppress debug messages, but probably there is a bug here that needs fixing.
Calling PHP’s is_readable on a file outside the open_basedir paths raises an annoying warning. So here I’m doing a check and showing a debug message instead.
Can you tell me – does the operation succeed after the debug message is raised? In other words, is the path actually readable? If so, there is something wrong with my check.
@pulustudio Are you able to post your open_basedirsetting so I can debug this? You’ll find it in the Debug tab under Loco Translate > Settings.
Plugin Author
Tim W
(@timwhitlock)
Quick follow up to say that I’ve scrapped this check in the development branch. I think the problem is for symlinked paths that are valid, but fail the test. I’ll get this into a new 2.6.6. version as soon as I’ve done some more testing
Plugin Author
Tim W
(@timwhitlock)
Noted.
Can someone please check the dev version – that it fixes your problem, and doesn’t cause any new ones?
Then I can get 2.6.6 live before more people upgrade to 2.5.5
Plugin Author
Tim W
(@timwhitlock)
Anybody who doesn’t want the dev version and doesn’t want to wait for a release, just remove line 77 or switch WP_DEBUG off. Functionality won’t be affected and the annoying messages will go away.
Plugin Author
Tim W
(@timwhitlock)
2.6.6 is live. https://github.com/loco/wp-loco/releases/tag/2.6.6
Thanks to all who reported. Due to the volume of people who upgrade at weekends, I wanted this up asap. Please start a new thread if the new version gives you any problems.
@timwhitlock
Filesystem File mods disallowed: No File mod safety level: Warn LOCO_LANG_DIR: wp-content/languages/loco ✓ PHP sys_temp_dir: /tmp ✓ PHP upload_tmp_dir: (none) PHP error_log: php_errorlog ✓ PHP open_basedir:
Plugin Author
Tim W
(@timwhitlock)
Thanks, but you’ve not actually posted your open_basedir.
Also, please see my previous message and upgrade to 2.6.6
Hello, same problem, after Update to 2.6.6 I cant’t add a new language. instead i see a ne tab in loco settings “debug info” and there are two warnings. I use a wordpress network/multisite:
PHP upload_tmp_dir:(none)
PHP error_log:(none)
Regards
-
This reply was modified 2 years, 8 months ago by
funkychris.
Hello, solved. It wasn’t the TMP folder, I was able to change it with the provider. I had to deactivate a few plugins to get adding the languages to work again.