Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This error fires when pressing 'Recreate .htaccess files"
The function drupal_tempnam() seems to be D7 only
Comment | File | Size | Author |
---|---|---|---|
#4 | advagg-1877156-4-no-d7-only-functions.patch | 648 bytes | mikeytown2 |
#2 | undefined_function-1877156-2.patch | 648 bytes | mgzrobles |
Comments
Comment #1
ron_s CreditAttribution: ron_s commentedCan 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
Comment #2
mgzrobles CreditAttribution: mgzrobles commentedcheck this patch
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedComment #4
mikeytown2 CreditAttribution: mikeytown2 commentedThanks :)
The following patch has been committed.