David,
Check to see if the file data.db.class.inc.php was uploaded into the filedownload folder. Looks like it isnt finding it and that might be what is causing the error. If it is there try reuploading it, maybe the whole file didn’t make it.
Kyle
Though I tried to upload the whole directory twice already, maybe coincidence, I’ll try again and report.
Thanks Kyle for the quick answer
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
-
☆ A M B ☆
- 24,524 Posts
It’s also possible that the line endings in the file got lost in the upload, this would make any single-line comments suddenly commenting out the rest of the entire file! I’ve had this happen from time to time, although more commonly with js files than php files.
Thanks for the tip Susan, I would never have thought of that.
I didn’t get the chance to check this out again yet, but I will and also will report...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
-
☆ A M B ☆
- 24,524 Posts
Pagination...please?
I’m working on it myself, but if you decide to do something about it before I’m successful I won’t complain!
Hi,
Thx for a great snippet. Although, I was wondering something. Is it possible to use friendly URL’s on this snippet somehow? Cause now, all download links are domain.xx/modx/assets/snippets/filedownload/download.php i want the links to look more like domain.xx/modx/download.php?xxx
Thanks,
Björn