Access Denied after upload of file

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
galtline
Posts: 7
Joined: 27 Feb 2014, 17:07

Access Denied after upload of file

Post by galtline »

I have my uploads folder set with the correct permissions but after uploading a file I get access denied.
atrol
Site Admin
Posts: 8556
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Access Denied after upload of file

Post by atrol »

Run admin/check.php
Maybe you get hints what is wrong with your setup.
Please use Search before posting and read the Manual
galtline
Posts: 7
Joined: 27 Feb 2014, 17:07

Re: Access Denied after upload of file

Post by galtline »

What is admin/check.php
atrol
Site Admin
Posts: 8556
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Access Denied after upload of file

Post by atrol »

galtline wrote:What is admin/check.php
A PHP script that is delivered with MantisBT (maybe you removed the admin directory after installation)
Please use Search before posting and read the Manual
galtline
Posts: 7
Joined: 27 Feb 2014, 17:07

Re: Access Denied after upload of file

Post by galtline »

I added the admin directory back in and everything is passing:

There are no errors being shown in the error log. Been on this for 4 days. This is deal breaker for me if I can't get this up going to have to look at other options.
atrol
Site Admin
Posts: 8556
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Access Denied after upload of file

Post by atrol »

I was not able to reproduce your problem with a fresh install of the latest stable version of MantisBT (1.2.17 at the moment).

You have to provide detailed, step-by-step instructions to reproduce the issue. Additional information listed below may also be useful:

- Exact version of MantisBT, PHP, Database, Web server and Operating System
- Relevant customizations (e.g. changes in config_inc.php, etc)
- Installed plugins or custom functions ?
- Was the MantisBT source code modified in any way ?
Please use Search before posting and read the Manual
JeromyK
Posts: 22
Joined: 01 Mar 2012, 08:12

Re: Access Denied after upload of file

Post by JeromyK »

And probably the exact permissions you set for the file-upload directory (You said only, that you set the "correct" values).

For testing you could also set the permissions to 777... (Only for testing, it's not recommend to run it with that permissions productivly!)
Post Reply