While installing I select the language and set up the database, I'm always getting

"Importing interface translations
Error importing interface translations."
"An HTTP error 403 occurred."

message.

site/default directory has 777 attributes

I get this error with the default English and Hungarian languages too.
Can anybody help?

Comments

cog.rusty’s picture

Your sites/default directory does not need to (and should not) have 777 permissions. However, your files directory and your temp directory should (admin/settings/file-system).

szundi00’s picture

Still get the error message during install...

choose language... ok
set up mysql database... ok
and then the error message

Screenshot 1: http://szundifoto.hu/drupal_error.jpg
Screenshot 2: http://szundifoto.hu/drupal_error2.jpg

(Drupal 6.2)

cog.rusty’s picture

Yes, it is a "403, access denied" error.

Since you haven't installed Drupal yet, you haven't configured the "files" and "tmp" directories, so you were probably right to guess that the "sites/default" permissions had a problem with writing the settings.php file...

If setting sites/default to 777 didn't work, maybe there is already a settings.php file in sites/default, left over from a previous installation, which the server doesn't have permission to overwrite, and you need to delete it yourself?

Or maybe the problem was not a write error but a read error when importing the translation to the database? Are your files at least 644 and your directories at least 755?

szundi00’s picture

sites/default set to 777, and there's noting in it except the default.settings.php before the install procedure. After starting the install and get the 403 error, drupal created an empty directory called "files" in the sites/default, and settings.php file in the sites/default dir.

All files have 644 and all directories 755.

cog.rusty’s picture

Still no idea about what is going on. Three more questions.

1. You said "I get this error with the default English and Hungarian languages too."
I guess that the English installation does not give you an "Error importing interface translation" message like the one in http://szundifoto.hu/drupal_error2.jpg ? If not, what error message do you get with the English installation?

2. I assume that you got the Hungarian translation package and untared it inside drupal. So, you have several po files under your modules. Are the read permission of those po files OK? (644).

3. Can you check with phpinfo() to see if "safe mode" is enabled in your PHP?

szundi00’s picture

Drupal's now working fine...

Still don't know what the problem was. I uploaded everything again (like 50 times before), got the 403 error message as described before, and after clicking on the "continue on error page" I got an "Installation successful" message. :O Srtange thing, but now Drupal's working fine.

Thank You for helping!

caglar’s picture

Same problem here. Exactly as described in the above message, I way passed 50 tries, yet no go?

I fiddled arround with .htaccess, rechecked, and rechecked..... still no go.

Installation creates the tables. Then stops. I am pretty sure it is about some read/write problem but could not figure it out. I did everythin exactly as it is said - I guess!

alm06130’s picture

Same problem with drupal 6.4, but:

I had a 403 error while main installation and use a workaround (set status for modules block, filter, node user, see http://drupal.org/node/203187#comment-737969 )
to complete install.
But when importing languages, same sort of error message 403.

I found out that (for me) it seems to be a problem with mozilla/firefox, and mod_security being activated on the server.
It works when using IE or disabling security engine in .htaccess:
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>

Then install was ok, and languages imports too.

If that may help ...

traneHead’s picture

Confirming that this happens for me too on some installations using Safari4 || FF3x, even after setting the "SecFilterEngine Off" on the server (Drupal-6.13/PHP-5.2.9/Apache-2.2.11). It works using IE though.

And note that I can create interface translations using Safari on my local drupal installation.