vmenon
Založený: 10.09.2008
Príspevky: 1
Zaslal: 2008-09-10 16:41
Návrat hore
Odpovedať s citátom
|
I am getting this error when i am calling the php file. my files are on my hosting web server and i guess it is not having that directory where phpmyeditorclass file is trying to locate the lang file. Is there a workaroud ?. I have limited access to the web server.
phpMyEdit error: could not locate language files
--------------------------------------------------------------------------------
searched path: /nfs/cust/5/85/40/504585/web/lang/
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2008-09-11 09:16
Návrat hore
Odpovedať s citátom
|
looks like your server has php settings for including 'lang' directory from different location. look for include_path option in php.ini if it has . (dot) as first option. or Alias options in apache config.
|
blackrhino
Založený: 02.09.2009
Príspevky: 4
Zaslal: 2009-09-02 18:58
Návrat hore
Odpovedať s citátom
|
I get this error message, but the files are in the folder. I don't understand what else to do?
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2009-09-03 21:34
Návrat hore
Odpovedať s citátom
|
Make sure your FTP software didn't force lower case file names when uploading the /lang/ files or you'll get the same error message. Linux servers aren't as stupid as Windows. FILE.PHP and file.php are treated as two different entities on Linux based servers. If your /lang/ files are in the directory with your phpMyEdit script, there generally shouldn't be any errors.
|
blackrhino
Založený: 02.09.2009
Príspevky: 4
Zaslal: 2009-09-03 21:55
Návrat hore
Odpovedať s citátom
|
I did do that. When I look at it in dreamweaver it looks the same as in the file. I'm pretty positive it's the same. Could it be something in the php.ini file?
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2009-09-03 22:08
Návrat hore
Odpovedať s citátom
|
php.ini "probably" has nothing to do with it. It might help you to include a debugging script in the footer of the phpMyEdit form:
http://dbug.ospinto.com/
The following would tell you what $opts are set, including the path to language files and images:
| Kód: |
require('dBug.php')
new dBug ($opts); |
[/code]
|
blackrhino
Založený: 02.09.2009
Príspevky: 4
Zaslal: 2009-09-03 22:13
Návrat hore
Odpovedať s citátom
|
yeah that didn't do anything. the files are all in the proper cases. I dont know where else to look
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2009-09-03 22:17
Návrat hore
Odpovedať s citátom
|
Start over, from scratch, new folder, new file set extracted from the archive, new everything.
Maybe check your Apache error log and PHP log first ... maybe some obvious errors are being logged instead of displayed.
|
blackrhino
Založený: 02.09.2009
Príspevky: 4
Zaslal: 2009-09-03 22:19
Návrat hore
Odpovedať s citátom
|
I've done that too! It's nuts. Just keeps telling me that it could not locate language files. But the dbug verified that it is pulling a language and the files are there in the right cases.
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2009-09-03 22:27
Návrat hore
Odpovedať s citátom
|
Burn the files to CD. Walk to an open window and hurl the CD like a Frisbee, preferably into a lane of traffic. Reinstall tomorrow, with fresh eyes, and you might spot the problem.
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2009-09-03 22:45
Návrat hore
Odpovedať s citátom
|
In your page footer, add:
| Kód: |
| echo "\n".'<p>'.$opts['language'].'</p>'; |
The output for U.S. English and Firefox would likely be:
which should cause ./lang/PME.lang.EN-US.inc to be included.
|
|
Odoslať novú tému
Odpovedať na tému
|