| Index
» Projekty
» phpMyEdit
» Fórum
» phpMyEdit can't find language files |
 |
webcoyote
Založený: 04.05.2003
Príspevky: 2
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
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
|
|
|
|