Running:
Drupal: 4.7rc3
Disknode: 4.7
I had Disknode set to 1 file per node and did not run into any problem (except i had to disable Tinymce editor when adding a file).
Now i have switched to "-1" files (unlimited files) and it does not work anymore. When I add 2 files and submit it will display an error message that it cannot find the first specified file: "File 'uploads/filename.ext'" does not exist.
Now when I view the disknode it will display 2 files but the 2 files are the same (the one that did not get the error code).
When viewing CVS I also saw there has been no changes for the past 2 months although the module information says the module is still in development?
Carlo
Comments
Comment #1
elmuerte commentedThe MAIN branch in the CVS is outdated. Either use the DRUPAL-4-6 or DRUPAL-4-7 branch. And those have been updated lately, I've been short on time the last couple of weeks.
Anyway. It looks like the filename cleanup is a bit a broken, spaces are stripped from the filename. That could cause one of the issues.
Comment #2
clandmeter commentedYes you are right, the spaces in filesnames causes an error but I still have the problem when adding mulitple files.
After submitting it will show 2 times the same file instead of 2 different files. I did some test on 2 servers with 2 fresh installs with only drupal and disknode installed and it works for only 1 setup. The main differerce between the 2 servers is one is PHP4 and one is PHP5. I can only make it work on the one running PHP4, I can't get disknode to work properly on PHP5 with multiple files enabled.
Can this be PHP5 related?
Carlo.
Comment #3
elmuerte commentedcould be PHP5 related. Don't have a PHP5 test setup a.t.m. so I can't test it.
Comment #4
mooffie commentedThis is a duplicate of http://drupal.org/node/57614