Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× This Captcha plugin works with any Joomla extension capable of using the Joomla core captcha plugin system. It generates complex images and CAPTCHA codes (including math problems) to protect forms from spam and abuse.

Product Page

[4.3.19] PHP error in log file.

5 months 3 weeks ago - 5 months 3 weeks ago #27147 by Outbreaker
Hi,
I get some errors in my PHP log file. I use PHP version 8.2

[Thu Nov 09 05:19:15.367917 2023] [proxy_fcgi:error] [pid 522207:tid 139730620495616] [client 72.XX.XX.14:53446] AH01071: Got error 'PHP message: PHP Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/lame) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/WebSite(dot)com/web:/srv/www/WebSite(dot)com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client1/web1/web/plugins/captcha/securimage/src/Helper/SecurimageHelper.php on line 361', referer: http://www.WebSite(dot)com/sign-in/forgot-your-password
[Thu Nov 09 05:24:09.481424 2023] [proxy_fcgi:error] [pid 522207:tid 139730578532096] [client 117.XX.XX.82:32027] AH01071: Got error 'PHP message: PHP Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/lame) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/WebSite(dot)com/web:/srv/www/WebSite(dot)com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client1/web1/web/plugins/captcha/securimage/src/Helper/SecurimageHelper.php on line 361', referer: http://WebSite(dot)com/
[Thu Nov 09 05:55:01.503736 2023] [proxy_fcgi:error] [pid 524633:tid 139731031541504] [client 182.XX.XX.66:27471] AH01071: Got error 'PHP message: PHP Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/lame) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/WebSite(dot)com/web:/srv/www/WebSite(dot)com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client1/web1/web/plugins/captcha/securimage/src/Helper/SecurimageHelper.php on line 361', referer: http://WebSite(dot)com/sign-in
[Thu Nov 09 06:02:41.088922 2023] [proxy_fcgi:error] [pid 525087:tid 139729941014272] [client 103.XX.XX.146:15609] AH01071: Got error 'PHP message: PHP Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/lame) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/WebSite(dot)com/web:/srv/www/WebSite(dot)com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client1/web1/web/plugins/captcha/securimage/src/Helper/SecurimageHelper.php on line 361', referer: http://WebSite(dot)com/
[Thu Nov 09 06:04:39.566277 2023] [proxy_fcgi:error] [pid 525087:tid 139731048326912] [client 154.XX.XX.22:41318] AH01071: Got error 'PHP message: PHP Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/lame) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/WebSite(dot)com/web:/srv/www/WebSite(dot)com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client1/web1/web/plugins/captcha/securimage/src/Helper/SecurimageHelper.php on line 361', referer: http://WebSite(dot)com/sign-in/registration

Please Log in or Create an account to join the conversation.

5 months 3 weeks ago #27148 by support
Dear Outbreaker,

Thank you for contacting us today.

A PHP warning is not an error, but a message that indicates something might be wrong or unexpected in the code. It does not stop the execution of your script, but it may affect the output or the performance of your application. You can choose to ignore, hide, or fix the warnings depending on the situation.

The open_basedir restriction is a security feature of PHP that limits the access of PHP scripts to specific directories. It prevents malicious scripts from accessing sensitive files or folders outside of the allowed paths. You can set the open_basedir value in your php.ini file.

The warning you are getting means that the Captcha plugin is trying to check if the lame library is executable, but the lame library is not within the allowed paths of the open_basedir restriction. The lame library is used to generate audio files for the Captcha.

To solve this warning without changing the open_basedir restriction, you can try to disable the audio options in the SecurImage Captcha plugin. You can do this by going to the plugin settings and unchecking the Audio options. This will prevent the plugin from trying to access the lame library and generate the warning. Alternatively, you can also add the lame library path to the open_basedir value in your php.ini file or in your web server configuration file, but this may require more permissions and testing.

I hope this helps you understand and resolve the issue. If you have any other questions, please feel free to ask. ?

Best regards,

Please Log in or Create an account to join the conversation.

5 months 3 weeks ago #27149 by Outbreaker
What about adding an option to enable the Audio over HTML5 or HTML5&LAMA?

Please Log in or Create an account to join the conversation.

5 months 3 weeks ago #27150 by support
LAME is still required to generate the audio file on the server side. Each captcha code generates a new/different audio file which is created on the fly.

Please Log in or Create an account to join the conversation.

5 months 3 weeks ago - 5 months 3 weeks ago #27158 by Outbreaker
After installing the latest version 5.0 I still get this entries in the error log:

Version 5.0 (November 10, 2023)
+ Added option to allow you to specify the file path to the LAME library binary on your server. This setting enables the plugin to convert CAPTCHA audio files into MP3 format, ensuring that they are served as recognizable and playable audio files to users. Leaving blank will serve WAV files only;

[Sat Nov 11 04:02:40.982794 2023] [proxy_fcgi:error] [pid 933677:tid 139730092017408] [client 37.XX.XX.35:1639] AH01071: Got error 'PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/usr/bin/lame) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/private:/var/www/clients/client1/web1/tmp:/var/www/WebSite.com/web:/srv/www/zWebSite.com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom) in /var/www/clients/client1/web1/web/plugins/captcha/securimage/src/Helper/SecurimageHelper.php on line 366'
. . .

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback