On Mon, May 28, 2012 at 5:01 PM, Marc Delisle <marc@infomarc.info> wrote:
Le 2012-05-27 13:12, yasitha pandithawatta a écrit :
> Hi,
>
> I am getting following error in
> "/libraries/common/PMA_buildActionTitles_test.php"
>
> PHP Fatal error:  Call to undefined function __() in ...
>
> It seems to be an error with i18n package. Does PMA support i18n?
> Any libraries to be installed?
>
> Regards,
> Yasitha

Yasitha,
please give more details, such as:
- the github reference of the tree you are testing
- the command you are using to produce the error

I cannot reproduce your error. More details about gettext on [0].

[0] http://wiki.phpmyadmin.net/pma/Gettext_for_developers

--
Marc Delisle
http://infomarc.info


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel


Hi,

I created test suit for common library and add all the test cases there. Then the above issue was no longer there. 
But I encounter another issue in test/libraries/common/PMA_ajaxResponse_test.php.

Try to run the test case using following command.

$ phpunit test/libraries/common/PMA_ajaxResponse_test.php

The following error was encountered. 

PHP Fatal error:  Call to undefined function PMA_sanitize() in /var/www/phpmyadmin-dev/libraries/Message.class.php on line 585

Same error occured in /PMA_cheackParameters_test.php

This should be an error in the base code.
--
Yasitha Pandithawatta 
Undergraduate
Computer Science and Engineering Department
University of Moratuwa
Sri Lanka