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

oquesada’s picture

I forgot update includes folder.

sunward’s picture

that did it. Seems there were changes in the file

arnaldex’s picture

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.

philsward’s picture

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.