PavelVinogradov / sams2

Automatically exported from code.google.com/p/sams2
GNU General Public License v2.0
21 stars 20 forks source link

(Trac:477) ошибка при просмотре статистики #470

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(Trac:477) Originaly reported by alexander.sandetsky@gmail.com on 2010-06-02 
15:55:52

{{{
Warning: Missing argument 2 for RTableCell(), called in 
/usr/local/share/sams2/src/userbuttom_4_site.php on line 123 and defined in 
/usr/local/share/sams2/tools.php on line 487

Warning: Missing argument 2 for RTableCell(), called in 
/usr/local/share/sams2/src/userbuttom_4_site.php on line 124 and defined in 
/usr/local/share/sams2/tools.php on line 487

Warning: Missing argument 2 for RTableCell(), called in 
/usr/local/share/sams2/src/userbuttom_4_site.php on line 125 and defined in 
/usr/local/share/sams2/tools.php on line 487

Warning: Missing argument 2 for RTableCell(), called in 
/usr/local/share/sams2/src/userbuttom_4_site.php on line 123 and defined in 
/usr/local/share/sams2/tools.php on line 487

Warning: Missing argument 2 for RTableCell(), called in 
/usr/local/share/sams2/src/userbuttom_4_site.php on line 124 and defined in 
/usr/local/share/sams2/tools.php on line 487

Warning: Missing argument 2 for RTableCell(), called in 
/usr/local/share/sams2/src/userbuttom_4_site.php on line 125 and defined in 
/usr/local/share/sams2/tools.php on line 487
}}}

И так около 500 раз при просмотре статистики 
по пользователю.

Original issue reported on code.google.com by bl...@nixdev.net on 5 Jun 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Commented by blaze@nixdev.net on 2010-06-05 10:55:04:

  Подтверждаю, но есть подозрение что проявляется на на всех версиях компонент.
Debian 5.0 / PHP 5.2.6 проблема есть.

Original comment by bl...@nixdev.net on 5 Jun 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Commented by blaze@nixdev.net on 2010-07-28 10:35:00:

FreeBSD 7.3 / PHP 5.3.2 - проблема есть
sams-2.0.0-b1

Ошибка убралась с помощью удаления 
параметра $percent в объявлении функций RTableCell 
и RBTableCell в tools.php

Original comment by bl...@nixdev.net on 5 Jun 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Commented by blaze@nixdev.net on 2010-07-28 11:29:29:

Проблема была не в функции RBTableCell, а в 
некоректной передаче параметров в функцию 
FormattedString.

Исправлено в [800] и [834].

Original comment by bl...@nixdev.net on 5 Jun 2011 at 8:11