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.
By oquesada on
Hi
I just upgrade my server from drupal 6.28 to 6.29, but when I try to Access mydomainname.com/admin i got the next error:
PHP Fatal error: Call to undefined function file_create_htaccess() in /home/advia/websites/misfinanzas/modules/system/system.install on line 129
Any idea how to overcome this problema
thanks
Comments
I forgot update includes
I forgot update includes folder.
that did it. Seems there
that did it. Seems there were changes in the file
.htaccess attributes
I had the same problem with 6.33, but the problem was the .htaccess file in sites/default/files it had 775 permission setting. I created a new one with 664 and the problems is gone.
Don't Forget the tmp Dir
Ran into the same issue and it was being caused from the site not being able to write the .htaccess file to the /tmp directory.
To resolve the error, I browsed to /admin/settings/file-system and changed the temporary files location from the global system-wide (default) of /tmp to /home/[myuser]/tmp/drupal.
I then manually edited the .htaccess that is created in the new folder location, with the updated code from: https://www.drupal.org/SA-CORE-2013-003.
This is a step that will probably need to be taken for most shared hosting platforms.