Admin Login Error

Feed 2 posts, 2 voices

Oct 25, 2007 16:16
Avatar
4 posts

Frog 0.2.2 PHP 5.2.0 WinServer2003 IIS 6.0

Installation looked like it worked correctly. When I goto /frog_path/admin/?/login there is the following error:

Fatal error: Call to undefined function _() in E:\Inetpub\wwwroot\kerx\frog\app\backend\views\login\index.php on line 4

Line 4 is :

<?php echo _('Login') ?>

Any ideas or suggestions?

Also I am not running any rewrite rules nor did I "uncomment the line with the declaration of BASE_URL define('BASE_URL ...)" in index.php and admin/index.php

 
Oct 27, 2007 12:22
Avatar
382 posts

thanks for this issue !! I have simply replace all ( by _( this is use for translation and in general all linux have it installed (gettext) but windows doen't have it by default, so I have implemented a little gettext for Frog needs, the file is in app/backend/views/login/login.php if you want to change it your self, other wise I will publish the new release in a week or two.

thank you again

 
Oct 29, 2007 17:22
Avatar
4 posts

Thanks, that change has it running.