-
MODX Staff
- 1,535 Posts
Sorry Ron, I wasn’t that clear, use the first set: [!xx!] and `1`
Hmm, I’m not really sure what the issue could be, I can’t think of any Apache, PHP, or MySQL settings that would cause this to fail. Maybe could be a permissions issue? Is the file set to be writable? If it is, I’ll have to have more of a think what the problem could be ...
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
Edipo,
Can you try running the snippet with just the folder as a parameter to see if it may be one of the parameters that is causing your problem. Then let me know, I’m not sure what is going on, as I can’t reproduce the error. Are you using Frul’s?
Ron,
Give this a try, put the following in the file: example.txt,0
I think there may be an error if the file is blank initialy. If that works, you can remove the example after your first filename is added. If that does not work, make sure the path in the snippet to the file is set correctly. Also as Garry said see if you have the permissions set so that you can write to the file.
Hope that helps.
Kyle
With Edipos help we have fixed an error with the directory browsing. If you do not use friendly urls it was creating the link incorrectly and causing an error to be thrown. I have updated the files in the first post with the fix.
Kyle