• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Importing language gives me a Forbidden

polle

Active member
#1
Hello.

I just did a clean install and I have a problem. When I import a language xml file I get this:

"Forbidden
You don't have permission to access /forum/admin.php on this server."

How can I fix this ?

Thanks.
 

polle

Active member
#2
Adding more here, I don't kow if the next problem has anything to do with my problem mentioned above.

After health check I get this: "library/XenForo/Model/Permission.php File does not contain expected contents.". I downloaded today and installed today. I re upload that file from the zip and the same.

Thanks.
 

Jake Bunce

XenForo moderator
Staff member
#3
That file should be fixed. Maybe your zip file is corrupt. Try re-downloading the zip file and then uploading those new files.

The 403 forbidden error is usually a permission problem on the server. Re-uploading the files may fix that. Depending on your server configuration, directories are usually 755 and files are 644. data and internal_data should be either 777 or 755, again depending on your server configuration.
 

polle

Active member
#4
1- Well, I just downloaded the zip again, re upload and the same.
2- I have the permissions like that, what other files needs permissions ?

What to do in each case ?

Thanks.
 

polle

Active member
#6
Ok, that is fixed now, thank you. Interesting that just FileZilla fixed that and no other FTP clients can.

Now with the main problem. When I import a language xml file I get this:

"Forbidden
You don't have permission to access /forum/admin.php on this server."

How can I fix this ?

Thanks.
 

polle

Active member
#8
Hi ragtek, yes I do.

This is what I get in the log.

Code:
[Wed May 16 03:23:59 2012] [error] [client 80.xx.xx.xx] ModSecurity: Access denied with code 403 (phase 2). Match of "eq 0" against "MULTIPART_UNMATCHED_BOUNDARY" required. [file "/etc/httpd/conf.d/mod_security.conf"] [line "86"] [msg "Multipart parser detected a possible unmatched boundary."] [hostname "site.com"] [uri "/forum/admin.php"] [unique_id "T7111OAsksh7ndoaJGodnsAF"]
Any idea what I need to do ?

I have another XF instalation for other domain in the same server with no problems at all.

Thanks.