Well I’m an idiot. I can’t manage to make ditto to run. I have modx 0.9.5 beta 5.
I had created a page (it has id 3) and wrote
[[Ditto? &startID=`3` &summarize=`3`]]
and i get:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: array_values() [function.array-values]: The argument should be an array
Error type/ Nr.: Warning - 2
File: /home/useit/public_html/test2/manager/includes/document.parser.class.inc.php(730) : eval()'d code
Line: 372
Parser timing
MySQL: 0.0019 s (7 Requests)
PHP: 0.0481 s
Total: 0.0500 s
Any ideas ?
Be Smart, Think Free, Choose OpenSource
-
☆ A M B ☆
- 24,524 Posts
This may be because you don’t have any documents under the folder/document three for it to work with?
Thanks. That was the problem. Maybe i didn’t read the documentation carefoully but can someone write there that you should have documents there for it to work ?
Be Smart, Think Free, Choose OpenSource
-
☆ A M B ☆
- 24,524 Posts
I suspect that the code will have some better error-checking in the near future. That would be a much better solution.