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

Comments

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: http://api.drupal.org/api/drupal/includes!file.inc/function/drupal_tempnam/7

StatusFileSize
new648 bytes

check this patch

Status:Active» Needs review

Status:Needs review» Fixed
StatusFileSize
new648 bytes

Thanks :)
The following patch has been committed.

Status:Fixed» Closed (fixed)

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