PHP Fatal error: Cannot redeclare printpagestatistics

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
wniva
TestLink user
Posts: 1
Joined: Tue Mar 09, 2010 9:01 am

PHP Fatal error: Cannot redeclare printpagestatistics

Post by wniva »

I have a problem when I use the menu "Generate Test Specification document" by repeated views. In this case, the menu is empty and in the PHP is the error log:
PHP Fatal error: Cannot redeclare printpagestatistics() in E:\htdocs\testlink\lib\functions\common.php on line 87
After some tests I've found that this problem occurs with the use of XCache. As a first solution in the Apache configuration, I added the following lines to deactivation XCache for TestLink:

Code: Select all

<Directory "E:/htdocs/testlink">
  php_admin_flag xcache.cacher Off		  
</Directory>
It would be better if Testlink completely works with XCache. Therefore, the question of whether there is a solution with the use of XCache.

My System:
TestLink 1.8.5 (2010-01-20), Previously tested with 1.8.4
Apache/2.2.14 (Win32) PHP/5.2.11 and XCache 1.3.0
Locked