having trouble in creating new project

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
amit.naokar
Posts: 7
Joined: 21 Aug 2013, 13:03

having trouble in creating new project

Post by amit.naokar »

Hi.. when i login to mantis with admin privileges and create new project, i get the application error #200 with message
"A required parameter to this page (name) was not found."
"Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section."

but after that when i again go back to project management, the project is created there. this happens only when there are no project added and i create anew project.
also if i try to report issue as reporter, it is not giving me option for which project the issue is.

Thanks in advance
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: having trouble in creating new project

Post by atrol »

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

Additional information listed below may 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
amit.naokar
Posts: 7
Joined: 21 Aug 2013, 13:03

Re: having trouble in creating new project

Post by amit.naokar »

I am running mantis in following environment
mantis version - 1.2.15
php - php-5.4.11-Win32-VC9-x86
apache server - httpd-2.2.22-win32-x86-openssl-0.9.8t
OS - Windows 7 64 bit
database - MySql

content of config_inc.php -
In place of password for account, i used application specific password for google account

<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = '****';
$g_db_password = '****';

$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_smtp_username = '****@gmail.com';
// I used here application specific password for gmail
$g_smtp_password = '****';
$g_administrator_email = ****@gmail.com'; //this will be your administrator email address
?>

also i changed $g_form_security_validation to OFF and $g_max_file_size to 2097152 (which is equal to php variable upload_max_filesize in php.ini) in config_defaults_inc.php to resolve application ERROR 2008
I have not installed any plugin till now
except config_defaults_inc.php and config_inc.php, i have not changed any code
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: having trouble in creating new project

Post by atrol »

amit.naokar wrote: except config_defaults_inc.php and config_inc.php, i have not changed any code
You should never change config_defaults_inc.php as you might get problems when updating to newer versions.
Configuration is done by copying the option to config_inc.php and changing the value in this file.

Run admin/check.php to find problems caused by your environment.
Check your webserver log files for PHP warnings and errors.

If possible try an older PHP version (e.g. 5.3.x is a good choice)
Please use Search before posting and read the Manual
amit.naokar
Posts: 7
Joined: 21 Aug 2013, 13:03

Re: having trouble in creating new project

Post by amit.naokar »

now i followed all your instruction and tried mantis using php-5.3.3-Win32-VC9-x86 without changing config_defaults_inc.php, but still facing the same problem
one more thing i would like to add that earlier i was getting APPLICATION ERROR #2800 saying
Invalid form security token. This could be caused by a session timeout, or accidentally submitting the form twice.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

i tried to solve error by increasing the session.gc_maxlifetime but it not worked. so although its not good practice, unwillingly i have set $g_form_security_validation to OFF.
and after that APPLICATION ERROR 2008 gone but APPLICATION ERROR 200 came
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: having trouble in creating new project

Post by atrol »

Try clearing your browser cache and cookies.
Please use Search before posting and read the Manual
amit.naokar
Posts: 7
Joined: 21 Aug 2013, 13:03

Re: having trouble in creating new project

Post by amit.naokar »

tried that also but not working.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: having trouble in creating new project

Post by atrol »

Are you able to reproduce it with different browsers, e.g. IE, FF, Chrome, ...?
Are you able to reproduce it with Mantis2Go ?
Please use Search before posting and read the Manual
amit.naokar
Posts: 7
Joined: 21 Aug 2013, 13:03

Re: having trouble in creating new project

Post by amit.naokar »

I have reproduced it in following browsers
Google Chrome version 28.0.1500.95
Mozilla Firefox version 22.0

but when i tried it on IE10, surprisingly, all goes well. what can be the problem?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: having trouble in creating new project

Post by atrol »

Maybe you have some plugins / addons installed which cause the problem.
Please use Search before posting and read the Manual
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: having trouble in creating new project

Post by atrol »

Have a look at http://www.mantisbt.org/bugs/view.php?id=16337
This might be your issue.
The bug has been fixed today. The fix will be delivered with version 1.2.16.
If you want it now you can apply the patch or wait one day and download a nightly build. http://www.mantisbt.org/builds.php
Please use Search before posting and read the Manual
Post Reply