1 (edited by ru_User 03-05-2014 13:12:56)

Topic: Ошибки безопасности / Security errors

Если в плагине "Обо мне" загрузить вместо файла с разрешённым расширением, выдаётся много ошибок и изменяется кодировка страницы:



If upload a file with incorrect extensions in plugin "About" than there are many errors and changing charset:









Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/fanfilms/hosts_html/admin/kernel/helpers/resize.class.php on line 26

Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/fanfilms/hosts_html/admin/kernel/helpers/resize.class.php on line 27

Warning: imagecreatetruecolor(): Invalid image dimensions in /home/fanfilms/hosts_html/admin/kernel/helpers/resize.class.php on line 117

Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/fanfilms/hosts_html/admin/kernel/helpers/resize.class.php on line 118

Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /home/fanfilms/hosts_html/admin/kernel/helpers/resize.class.php on line 43

Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /home/fanfilms/hosts_html/admin/kernel/helpers/resize.class.php on line 80

Re: Ошибки безопасности / Security errors

Have you tried this in a recent version?