Hello there from germany,
i have modx running on another server since a year and am very pleased with it.
Now i am trying to set up another site with modx on a different server. At first i installed v0.9.6.1.p2, but had parse errors a lot of times.
Then i discovered the latest modx version and installed v0.9.6.2.
The urls werent my friends, sometimes modx worked, sometimes it dont. I changed the automaticly created base_path etc and the links worked but blog/ditto.
But there is a deeper problem, that might cause the ditto parse errors: my server is a little bit tricky, sometimes i have to edit the url, adding a explicit www and sometimes i have to cut it out. For now i use the automatic url detection
And now the technical informations:
running on a apache server without mod_rewrite, not using htaccess
modx version is 0.9.6.2 with Ditto 2.1
nothing is modified, using the example pages
all the needed file are there, i uploaded the previous version several times and tried, but now i need professional help
The output looks like:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: require_once(manager/includes/sniff/phpSniff.core.php) [function.require-once]: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: /var/www/xx/html/mx/manager/includes/sniff/phpSniff.class.php
Line: 22
Line 22 source: require_once($modx->config[’base_path’] . ’manager/includes/sniff/phpSniff.core.php’);
Since i am not using any beta version of modx or ditto i hope someone can help me, because i didnt find any solution posted on the web yet.
Thanks for helping
EDIT:
i just deleted the example pages and created my own ditto page with this call
<ul> [[Ditto?parents=`0`&depth=`0`&dateSource=`editedon`&dateFormat=`%B %e, %Y at %r` &display=`10`&sortBy=`editedon`&filter=`hidemenu,0`]] </ul>
And now the snippet works fine and shows the latest 10.
I dont know what caused the prior problem but.... it works.