Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, April 19, 2024
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  phpMyEdit can't find language files

phpMyEdit Installation     phpMyEdit can't find language files
Post new topic   Reply to topic    
 
webcoyote     Joined: 04 May 2003   Posts: 2  
Post 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  
Post 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  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy