Announcement

  •  » Requests
  •  » i see some errors in php error log file

#1 2021-11-04 07:58:48

Adem GENC
Member
2015-10-17
3

i see some errors in php error log file

Hello/Hi/Greetings,

(PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_keywords/main.inc.php on line 22
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_gps/main.inc.php on line 20
PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*******.com/plugins/exiftool_keywords/main.inc.php:22) in /home/*******.com/include/page_header.php on line 94
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_keywords/main.inc.php on line 22
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_gps/main.inc.php on line 20
PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*******.com/plugins/exiftool_keywords/main.inc.php:22) in /home/*******.com/include/page_header.php on line 94
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_keywords/main.inc.php on line 22
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_gps/main.inc.php on line 20
PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*******.com/plugins/exiftool_keywords/main.inc.php:22) in /home/*******.com/include/page_header.php on line 94
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_keywords/main.inc.php on line 22
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_gps/main.inc.php on line 20
PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*******.com/plugins/exiftool_keywords/main.inc.php:22) in /home/*******.com/include/page_header.php on line 94
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_keywords/main.inc.php on line 22
PHP Warning:  shell_exec() has been disabled for security reasons in /home/*******.com/plugins/exiftool_gps/main.inc.php on line 20
PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*******.com/plugins/exiftool_keywords/main.inc.php:22) in /home/*******.com/include/page_header.php on line 94)

(
    Piwigo 11.5.0 Yükseltmeleri kontrol et
    İşletim sistemi: Linux
    PHP: 7.4.25 (Bilgi Göster) [2021-11-04 09:46:40]
    MySQL: 5.5.5-10.3.31-MariaDB [2021-11-04 09:46:40]
    Grafik Kütüphanesi: GD bundled (2.1.0 compatible)
)

Offline

 

#2 2021-11-04 11:17:19

erAck
Only trying to help
2015-09-06
1415

Re: i see some errors in php error log file

The first warning is
Warning:  shell_exec() has been disabled for security reasons
and that's exactly that, the function shell_exec() is not allowed to be called because your hosting provider disabled it (check the disable_functions value in your web server's php.ini instance, you'll probably also find exec() and system() and more to be disabled). In this case here it's the call
shell_exec('exiftool -json "'.$filepath.'"')
so if you can't convince your hosting provider to allow at least the shell_exec() call you may as well deinstall the plugins that use them because without they won't function.

The Warning:  Cannot modify header information - headers already sent are just because display_errors is enabled and not just logged to file and the first warning is sent when headers were already sent.


Running Piwigo at https://erack.net/gallery/

Offline

 
  •  » Requests
  •  » i see some errors in php error log file

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact