Index
» Projects
» phpMyEdit
» Forum
» phpMyEdit can't find language files |
|
webcoyote
Joined: 04 May 2003
Posts: 2
Posted: 2003-05-04 19:00
Back to top
Reply with quote
|
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
Joined: 04 May 2003
Posts: 2
Posted: 2003-05-04 20:37
Back to top
Reply with quote
|
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
|
curtburger
Joined: 12 May 2021
Posts: 1
Posted: 2021-05-12 07:45
Back to top
Reply with quote
|
I'm obviously new to php, so I could use some help. I want to use one phpMyEdit page to basically filter several diffferent request from a different page. For instance set up multiple if statements to handle different queries.
happy wheels
ragdoll physics web game
|
Post new topic
Reply to topic
|
|
|
|