Протестировал, вроде всё ОК!
Только в инструкции пропущена запятая $wm_lock
Код: Выделить всё
, $wm_lockКод: Выделить всё
, $wm_lockКод: Выделить всё
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_upload.php on line 488: Missing argument 1 for filespec::watermark_images(), called in [ROOT]/includes/functions_upload.php on line 414 and defined
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4705: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3830)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4707: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3830)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4708: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3830)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4709: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3830)
Что в этом файле на 488 строке +- 10 строк?Candell писал(а):Код: Выделить всё
/includes/functions_upload.php on line 488

Для того, чтобы открыть файл, найти в нем 488 по счету строку и скопировать 478-498 строки на форум, специалистом быть не надо. Нумерация строк есть, к примеру, в Notepad++Candell писал(а):не спец в php

/includes/functions_upload.php к сообщению полностьюКакие? Я вроде всё перепроверил и не раз...Sheer писал(а):В вашем файле отсутствуют необходимые правки.

Код: Выделить всё
$this->file_moved = true;
$this->additional_checks();
unset($this->upload);
return true;
}
// Image Watermark Mod Start -->
function watermark_images($type)
{
global $config, $user;
$wn_types = unserialize($config['wm_img_type']);
if ($this->is_ani($this->destination_file))
{
$this->error[] = sprintf($user->lang[$this->upload->error_prefix . 'ANIMATE_GIF_WM_INWALID'], $this->destination_file);
}function watermark_images($type)Строка 414 -Candell писал(а):Код: Выделить всё
called in [ROOT]/includes/functions_upload.php on line 414
$this->watermark_images();Код: Выделить всё
// Image Watermark Mod End Start -->
if ($this->is_image() && $config['img_create_watermark'])
{
$this->watermark_images();
}
// <-- Image Watermark Mod EndНеправдаCandell писал(а):В соответствии с инструкциями к моду.
Fixed!Romnik писал(а):Только в инструкции пропущена запятая $wm_lock
Но сам мод имеет версию 1.0.2b! Я сейчас взялся апдейтить по вашему совету, и понял что второй раз делаю ту же самую работу. Буква-в-букву... Или я что то не так делаю?Sheer писал(а):Это еще не все - пусть выполнит по инструкции --> Contrib: Update to 1.0.2b .
Да, эту запятую я и сам нашёл сразу. Потом уже в теме про неё прочитал. :)Sheer писал(а):Fixed!