SYSTEM WARNING in MantisEnum.class.php

Get help from other users here.

Moderators: Developer, Contributor

M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

SYSTEM WARNING in MantisEnum.class.php

Post by M@rce »

After make changes into:

config_inc.php

Code: Select all

#$g_priority_enum_string	= '10:none,20:low,30:normal,40:high,50:urgent,60:immediate,200:no aplica';
strings_spanish.txt

Code: Select all

$s_priority_enum_string	= '10:Inmediata,20:Alta,30:Media,40:Baja,50:Sin asignar,60:ninguna,200:no aplica';
and Admin Config page to a determined project

Code: Select all

priority_enum_string 	
string 	
'array(
10:Inmediata,
20:Alta,
30:Media,
40:Baja,
50:Sin asignar,
)' 
When I enter to view all bugs inserted, the system displays the warning below:
Mantis details 11
Mantis details 11
mantis details 11.jpg (231.14 KiB) Viewed 32584 times
This could be a bug :?: Anybody can help me :?: thanks :!:
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING in MantisEnum.class.php

Post by atrol »

I don't have time for a deeper look, but this line of your code in config_inc.php is probably not what you want.
You should uncomment it if you want to use it.

Code: Select all

#$g_priority_enum_string   = '10:none,20:low,30:normal,40:high,50:urgent,60:immediate,200:no aplica';
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: SYSTEM WARNING in MantisEnum.class.php

Post by M@rce »

atrol wrote: You should uncomment it if you want to use it.
I uncommented to try new priority string, but with Comment or uncommented the line, always displays the same message :?
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING in MantisEnum.class.php

Post by atrol »

M@rce wrote: strings_spanish.txt

Code: Select all

$s_priority_enum_string	= '10:Inmediata,20:Alta,30:Media,40:Baja,50:Sin asignar,60:ninguna,200:no aplica';
Again and again you are not following what I wrote
don't change any existing MantisBT file, but use custom_strings_inc.php for localization.
http://www.mantisbt.org/forums/viewtopi ... 938#p50925
http://www.mantisbt.org/forums/viewtopi ... 373#p51362

Sorry to say, but I can not go on to support you as long as you do not follow the documented rules and as long as I can not be sure that you are describing me the real configuration of your system.
http://www.mantisbt.org/forums/viewtopi ... 876#p51874

You should start with a fresh test installation and describe step by step what you do, what you get and what you expect to get.
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: SYSTEM WARNING in MantisEnum.class.php

Post by M@rce »

atrol wrote:Again and again you are not following what I wrote
atrol wrote:Sorry to say, but I can not go on to support you as long as you do not follow the documented rules and as long as I can not be sure that you are describing me the real configuration of your system.
The description about my system is real y true, but I didn't know what are the steps to make a upgrade, and further this task is not frecuently; I found the information to do this in http://www.mantisbt.org/manual/manual.i ... rading.php.
Now I understand that is needed make for every time that i upgrade my app always make a new installation and what files must be overwritten.
Well, i will do all from zero.

Sorry for the inconvenience and thanks again :!:
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING in MantisEnum.class.php

Post by atrol »

M@rce wrote: I found the information to do this in http://www.mantisbt.org/manual/manual.i ... rading.php.
Use this manual (also delivered with your installation) http://www.mantisbt.org/docs/master-1.2 ... LL.UPGRADE

The manual you refer to http://www.mantisbt.org/manual/ is for older versions of MantisBT.
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: SYSTEM WARNING in MantisEnum.class.php

Post by M@rce »

atrol wrote:Use this manual (also delivered with your installation) http://www.mantisbt.org/docs/master-1.2 ... LL.UPGRADE
After I did a new installation, copy only config_inc.php and custom_strings_inc.php files from older version (I don't have custom_constants_inc.php and custom_functions_inc.php), in case also uncomment the new priority string, I did the upgrade, but the app continuing displaying the message SYSTEM WARNING. :(

What is I am doing wrong this time :?:
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING in MantisEnum.class.php

Post by atrol »

M@rce wrote: config_inc.php and custom_strings_inc.php files from older version
Upload the two files (replace database password and other confidential information by xxxxx)
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: SYSTEM WARNING in MantisEnum.class.php

Post by M@rce »

atrol wrote:Upload the two files (replace database password and other confidential information by xxxxx)
There are go!
Attachments
config_inc.txt
Config File
(7.32 KiB) Downloaded 539 times
custom_strings_inc.txt
Custom File
(3.09 KiB) Downloaded 538 times
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING in MantisEnum.class.php

Post by atrol »

I am not able to reproduce your issue.
M@rce wrote: After I did a new installation
Does this mean new empty database?
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: SYSTEM WARNING in MantisEnum.class.php

Post by M@rce »

atrol wrote:I am not able to reproduce your issue.
Does this mean new empty database?
No no, only app...the database is always the same, because that will be update in production enviroment.
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING in MantisEnum.class.php

Post by atrol »

Seems the problem is in your database.
Goto Manage > Manage Configuration > Configuration report
Click "Reset Filter"
Delete your various _enum_ settings if there are any.
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: SYSTEM WARNING in MantisEnum.class.php

Post by M@rce »

atrol wrote:Goto Manage > Manage Configuration > Configuration report
Click "Reset Filter"
Delete your various _enum_ settings if there are any.
Still happens the error :(
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING in MantisEnum.class.php

Post by atrol »

Maybe you are able to reproduce the issue using Mantis2Go and a step by step description what you did?
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: SYSTEM WARNING in MantisEnum.class.php

Post by M@rce »

atrol wrote:Maybe you are able to reproduce the issue using Mantis2Go and a step by step description what you did?
Well, i don't know this app, anyway I'll install and try...later I'll tell you the results.
Thanks :!:
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
Post Reply