Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: dolittle on March 18, 2009, 03:32:34 PM
-
Hi,
i've installed Mantis in an i-Bay on my 7.4 Server and everything runs fine except file uploading. Regardless what I configure. There's always the error message
APPLICATION ERROR #15
File upload failed. File is not readable by Mantis. Please check the project settings.
I searched this forum and the internet. May be i used the wrong expressions but i never managed to get this working.
Anyone with a hint?
Thanks in advance
-
hi
first of all: how did you installed mantis?
then: where the application is trying to save uploaded files?
finally: did you try to check httpd error log?
Ciao
Stefano
-
Hi,
first:
created an i-bay. copied everything to the html subdir and ran install.
second:
at first it tried to save at /tmp. Afterward I created a new subdir and changed the PHP variable upload_tmp_dir to /tmp/upload and also changed the permissions of that dir to 777 and ownership to www.www to eliminate permissions issues
finally:
yes. Checked /var/log/httpd/error_log and found no suspicious entries.
-
hi..
try to setup the temp dir into the ibay and let us know
Ciao
Stefano
-
Great!!
Thanks. It works now. I only have to find a way to make this change permanent.
Thanks very much
-
I only have to find a way to make this change permanent.
well.. how did you setup the temp dir the first time? I'm sure that you can repeat that procedure or modify a conf file..
Ciao
Stefano
-
Sure,
but I would like to make it update proof. It's time for more reading I think.
Thanks anyway very much.
-
If you tell us what you did we can probably assist with that ;)
-
but I would like to make it update proof. It's time for more reading I think.
this should get you started: http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#Configuration_file_templates
-
Thanks for the hint.
After reading this I came to the conclusion that I had to add a new directory /etc/e-smith/templates-custom/etc/php.ini
and add a new file containing upload_tmp_dir = /home/e-smith/files/ibays/mantis/files/
to set the upload dir accordingly. The file was called 61FileUploads since 60FileUploads contains the unmodified part of the section.
Does this seem logical to you, too?
Thanks.
-
If the 61something file contains the section you need to modify, yes, otherwise you should just copy the file to the -custom tree and make desired changes there as that should override the original in the templates tree.
-
Thanks for your patient, friendly and fast reply.