w00t??
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: output(): Unable to access /customers/bjoernkvernstuen.net/bjoernkvernstuen.net/httpd.www/demo-modx2/manager/includes/lang/.inc.php
Error type/ Nr.: Warning - 2
File: /customers/bjoernkvernstuen.net/bjoernkvernstuen.net/httpd.www/demo-modx2/assets/modules/quick_edit/output.class.inc.php
Line: 60
Line 60 source: if(!$lang_set) { include_once($manager_lang_path); }
Parser timing
MySQL: 0.0022 s s (3 Requests)
PHP: 0.0246 s s
Total: 0.0268 s s
This message came up right after I installed ModX...
Here’s the content around line 60 in the output.class.inc.php-file
// Combine QE language files with manager language files (manager should override QE)
$qe_eng_path = $qe_path.’/lang/english.inc.php’;
$qe_lang_path = $qe_path.’/lang/’.$lang.’.inc.php’;
$manager_lang_path = $base_path.’manager/includes/lang/’.$lang.’.inc.php’;
$lang_set = isset($_lang);
include_once($qe_eng_path);
if(file_exists($qe_lang_path)) { include_once($qe_lang_path); }
if(!$lang_set) { include_once($manager_lang_path); }
As you probably can see, it tries to access "/.inc.php" instead of "/english.inc.php". Is this the problem, and what can I do about it?