I get the following error message when I attach a file to a story. I put in *** in the filename.

warning: exec() [function.exec]: Unable to fork [file -bi "files/documents/***.pdf"] in c:\Inetpub\wwwroot\modules\disknode\disknode.inc on line 517.

I file seems however to be attachted. What is the reason of the error?

Comments

mvbalen’s picture

Problem can be solved by copying the 'windows/windows32/cmd.exe' to the PHP root directory.

elmuerte’s picture

Assigned: Unassigned » elmuerte
Status: Active » Fixed

changed 'mime_content_type' function to default to 'application/octet-stream' on windows systems.
if you want proper mime types install the mime module for PHP

Anonymous’s picture

Status: Fixed » Closed (fixed)