This error fires when pressing 'Recreate .htaccess files"
The function drupal_tempnam() seems to be D7 only

Members fund testing for the Drupal project. Drupal Association Learn more


ron_s’s picture

Can confirm we are seeing the same error when attempting to select the "Generate .htaccess files in the advagg_* dirs" option from within the "/admin/settings/advagg/config" settings page:

Fatal error: Call to undefined function drupal_tempnam() in ../advagg/advagg.module on line 1425

This issue exists in the 6.x-1.9+5-dev (2012-Sep-05) version of the module. And yes, correct it is a Drupal 7 (and above) API function only:!

mgzrobles’s picture

check this patch

mikeytown2’s picture

Status: Active » Needs review
mikeytown2’s picture

Status: Needs review » Fixed
648 bytes

Thanks :)
The following patch has been committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.