ispCP - Board - Support
undefined function tr() TemplateEngine.php - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: undefined function tr() TemplateEngine.php (/thread-15276.html)



undefined function tr() TemplateEngine.php - rainbow119 - 10-09-2011 03:41 PM

1.1.0 beta after installation appear blank page and the php log is
PHP Fatal error: Call to undefined function tr() in /var/www/ispcp/gui/include/ispCP/TemplateEngine.php on line 151
perhaps some perl module is not installed.
any one can help?thx first


RE: undefined function tr() TemplateEngine.php - MarekZ - 10-11-2011 01:29 AM

Hi.
Mayby change user permission to gui/themes/omega/templates_c (apache or www-data - you user web). It don't forget change also permission qui/phptmp
Sorry - my english is scratchy


RE: undefined function tr() TemplateEngine.php - adriktod - 10-24-2011 09:04 PM

Visit at this link php.net/manual/en/function.eval.php, you will get the solution of the error.


RE: undefined function tr() TemplateEngine.php - rainbow119 - 10-27-2011 01:00 PM

thx all
I hava soloved this problem
tr() is used fot translation. these errers occured when some perl modules don't installed . use /var/www/ispcp/engine/ispcp-rqst-mngr to check and install properly all the needed perl modules.