-
- 3 Posts
Hello,
I installed MODx on my Suse 10.0 Linux pc. I could login to the Content Manager and it works. When I visit my homepage, the default one, I get the following error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Unknown: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: /srv/www/htdocs/modx-0.9.2.1/manager/includes/document.parser.class.inc.php(681) : eval()’d code
Line: 70
Parser timing
MySQL: 0.1310 s s (3 Requests)
PHP: 0.0542 s s
Total: 0.1852 s s
When I was still running Windows, everything worked. Every folder is 777.
I don’t know the solution to this problem, also the Installer gave no error.
Greetings, Johan
you’ve got a snippet that includes a file at line 70 of the snippet code, and it doesn’t find that file.
-
- 3 Posts
Thank you Sottwell, I looked up the code and found the solution. The error was on line 681, with the eval($pluginCode);
// evalPlugin
function evalPlugin($pluginCode, $params) {
$etomite = $modx = &$this;
$modx->event->params = &$params; // store params inside event object
if(is_array($params)) {
extract($params, EXTR_SKIP);
}
ob_start();
eval($pluginCode); <-- line 681
I disabled my plugins one by one and it turned out the ’QuickEdit’ plugin caused the error. My site works when I disable it. I’m gonna read about the ’QuickEdit’ plugin and try to fix it.