Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 30. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  phpMyEdit can't find language files

phpMyEdit Installation     phpMyEdit can't find language files
Odoslať novú tému   Odpovedať na tému    
 
webcoyote     Založený: 04.05.2003   Príspevky: 2  
Príspevok Zaslal: 2003-05-04 19:00
Návrat hore  Odpovedať s citátom     

Hi, the phpMyEdit 5.3 setup ran smoothly...including being able to write the php file specific to my database.

However, the first time I tried to run fileformydatabase.php I got an error
"phpMyEdit error: could not locate language files"

The language files are in the lang folder (below fileformydatabase.php and phpMyEdit.class.php).

Any suggestions?

thanks,
Lee Willoughby

 
webcoyote     Založený: 04.05.2003   Príspevky: 2  
Príspevok Zaslal: 2003-05-04 20:37
Návrat hore  Odpovedať s citátom     

root and lang path were being set by
// Creating directory variables
$this->dir['root'] = dirname(__FILE__)
. (strlen(dirname(__FILE__)) > 0 ? '/' : '');
$this->dir['lang'] = $this->dir['root'].'lang/';

to equal root=// and lang dir=//lang/PME.lang.EN-US.inc

I changed the coding to
// Creating directory variables
$this->dir['root'] = '';
$this->dir['lang'] = $this->dir['root'].'lang/';

resulting in root=lang and dir=lang/PME.lang.EN-US.inc

Lee Willoughby

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov