Hello Everybody
NEED HELP PLS
I'm trying to upgrade our old Mantis Version 1.2.15 Schema 183
to the new version 2.18.0 Schema 209
on Windows IIS 7 - Windows Server 2008 R2
The upgrade went without any glitch.
Now when the user submit an issue, it will turn and turn, then a 500 error is displayed.
If I reload and view issues I find the new issue in the list.
If I try to add an attachment to this issue and submit, it will generate the same 500 error, and no attachment added.
Your help is needed and very well appreciated.
Keep in mind that that my knowledge in PHP is almost less then a beginner.
Thanks
Error 500 - When submitting
Moderators: Developer, Contributor
Re: Error 500 - When submitting
Hello
Thanks for the reply.
I executed .../admin/check/index.php
One fail test:
Fileinfo PHP extension is available to support file uploads
Ensure that the fileinfo extension is installed and enabled
Any Idea ???
Thanks.
Thanks for the reply.
I executed .../admin/check/index.php
One fail test:
Fileinfo PHP extension is available to support file uploads
Ensure that the fileinfo extension is installed and enabled
Any Idea ???
Thanks.
Re: Error 500 - When submitting
There is nothing more to tell than what the error message is telling.
This might fix the issue, but after that, run again ../admin/check/index.php as you might get new errors.
http://php.net/manual/en/fileinfo.installation.phpEnsure that the fileinfo extension is installed and enabled
This might fix the issue, but after that, run again ../admin/check/index.php as you might get new errors.
Re: Error 500 - When submitting
Hello
Thanks for your help.
After fixing / enabling FileInfo extension.
Email non configuration errors.
Smtp non configuration errors.
The real error showed up :
max_file_size MantisBT option is less than or equal to the upload_max_filesize directive in php.ini
max_file_size is currently 5,000,000 bytes which is greater than the limit of 2,097,152 bytes imposed by the php.ini directive upload_max_filesize.
Et voilà, I put 6M in the php.ini file for the upload_max_filesize and everything now for the moment is Peachy.
Thanks again.
Thanks for your help.
After fixing / enabling FileInfo extension.
Email non configuration errors.
Smtp non configuration errors.
The real error showed up :
max_file_size MantisBT option is less than or equal to the upload_max_filesize directive in php.ini
max_file_size is currently 5,000,000 bytes which is greater than the limit of 2,097,152 bytes imposed by the php.ini directive upload_max_filesize.
Et voilà, I put 6M in the php.ini file for the upload_max_filesize and everything now for the moment is Peachy.
Thanks again.
-
- Posts: 1
- Joined: 07 Feb 2019, 07:21
Re: Error 500 - When submitting
I am trying to send the content in this form to an email. However, it isn't working and when I submit it gives me an internal error. Here is the code that runs when I am submitting the form.
<?php
if(!isset($_POST['submit']))
{
//This page should not be accessed directly. Need to submit the form.
echo "error; you need to submit the form!";
}
$name = $_POST['first_name']; // required
$job = $_POST['job']; // required
$company = $_POST['company']; // required
$email = $_POST['email']; // required
$telephone = $_POST['telephone']; // required
$psn = $_POST['psn']; // required
$un = $_POST['un']; // required
$weight = $_POST['weight']; // not required
$pieces = $_POST['pieces']; // required
$dgpacked = $_POST['dgpacked']; // required
$address = $_POST['address']; // required
$readytime = $_POST['readytime']; // required
$deliverytype = $_POST['deliverytype']; // required
<?php
if(!isset($_POST['submit']))
{
//This page should not be accessed directly. Need to submit the form.
echo "error; you need to submit the form!";
}
$name = $_POST['first_name']; // required
$job = $_POST['job']; // required
$company = $_POST['company']; // required
$email = $_POST['email']; // required
$telephone = $_POST['telephone']; // required
$psn = $_POST['psn']; // required
$un = $_POST['un']; // required
$weight = $_POST['weight']; // not required
$pieces = $_POST['pieces']; // required
$dgpacked = $_POST['dgpacked']; // required
$address = $_POST['address']; // required
$readytime = $_POST['readytime']; // required
$deliverytype = $_POST['deliverytype']; // required