User login

Public

Using mod_header to force file downloads

The file_force module offers a solution to the problem of offering download links to nimages and other file types that are otherwise displayed in a browser. As the maintainer of the module states it is not the best solution as it redirects access to static content through a php script. He suggests using a webserver based solution; here is one using Apache's mod_header setting the Content-Disposition header in a given context:

White Screen of Death on Importing CCK Content Type with a Date-Time Field

Importing a CCK content type with fields, that had just been exported from an identical site (did some work offline) failed with the oh-so-helpful white screen o' death (aka whitescreen, blank page).

Found no reports about this in the CCK issue queue or online elsewhere. Through cutting out parts until it worked, Agaric has been able to identify the field calling the error.

Here is the problematic field's definition, as excerpted from the export output we were trying to input into the import:

Syndicate content