support

How do i fix this

malatex
Posts: 1
Member Since:
2007-04-02

Fatal error: Smarty error: [in endpoint_Aastra_list.tpl line 10]: syntax error: unrecognized tag 'translation' (Smarty_Compiler.class.php, line 580) in /var/www/html/maint/modules/11_endpointcfg/libs/Smarty.class.php on line 1095

and this

Fatal error: Call to undefined function: fetchrow() in /var/www/html/maint/modules/11_endpointcfg/libs/trixbox.php on line 73

I get this when i click on the endpoint manager and choose aastra and polycom respectively

Ryan



Scratch
Posts: 59
Member Since:
2006-06-05
I am getting the same error.

I am getting the same error. Is there a fix?



cosmicwombat
Posts: 1151
Member Since:
2006-05-31
It is in the bug tracker.

Robert Keller - FtOCC
Isle of Lummi

--

Robert Keller - Chief Technologist at large
The VoIP Experience
Get Official FreePBX Training



Scratch
Posts: 59
Member Since:
2006-06-05
thanks

Thanks, Robert. I didn't even see the Bug Tracker link on the side. Here's a link for lazy people:

http://forge.trixbox.org/gf/project/trixbox2/tracker/?action=Trac...



xentex
Posts: 1
Member Since:
2007-03-21
Sorry for my

Sorry for my english..

Endpoints database fix:
In phpmyadmin grant all permission to user "asteriskuser" to work with database "endpoints" (more info at above link on bugtracker)
then
in phpmyadmin
choose import database, select file /var/trixbox_load/sql/endpoints.sql
and hit "Go" button

Aastra endpoint manager fix:

You need to add these lines to endpoint_aastra.php ( in directory /var/www/html/maint/modules/11_endpointcfg
into the end of this file, but BEFORE line $smarty->display($template);):

if(isset($_GET['trixbox_Language'])){
$language = $_GET['trixbox_Language'];
}else{
$language = "english";
}
if(file_exists('language/'.$language.'.php')){
include('language/'.$language.'.php');
}
$smarty->assign("language", $language);
include_once('include/functions.php');
$smarty->register_function('translation', 'specialCharacterReplace');

Everything should work



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.