Hmmm, I had dropped the ball on this.
In the meantime I upgraded to FileDownload 2.5 and MODx 0.9.5, but I still get the same kind of error

(the line number changes is all

)
Definitely something is happening with my config somewhere...
I digged into Susan’s suggestion that line endings were screwed up (you have encoded the file with CRLF i.e windows line ending, I re-encoded into LF i.e unix line endings but no change...).
Any idea ?
I checked, re-uploaded files again and still doesn’t work...
Could it be a ownership problem with the files ? Some have nobody as owner, some have the user account as owner...
Quote from: davidm at Oct 30, 2006, 06:20 PM
I’ve recently upgraded to 2.0 (previously happy user of 1.7) and got this problem :
PHP error debug
Error: filename: data.db.class.inc.php, exec_fname: /home/gican/www/assets/snippets/filedownload/filedownload.class.inc.php, filepath: /home/gican/www/assets/snippets/filedownload/data.db.class.inc.php
Error type/ Nr.: Warning - 2
File: /home/gican/www/assets/snippets/filedownload/filedownload.class.inc.php
Line: 8
Line 8 source: include_once "data.db.class.inc.php";
My config is PHP 5.1.6, MySQL 5.0.22a, Apache 1.3.34
And oh, I am using MODx 0.9.5 rev1785 (so used to run 0.9.5 almost forgot to mention it
)
Any idea ?