Need valid SortBy (LastUpdated)!

Moderator: crythias

Locked
majo053
Znuny newbie
Posts: 52
Joined: 08 Nov 2011, 17:28
Znuny Version: 4.0.5

Need valid SortBy (LastUpdated)!

Post by majo053 »

Hi! I have in my log this messages every 2 minutes:

Tue Nov 29 19:15:25 2011 error OTRS-CGI-10 Need valid SortBy (LastUpdated)!

What is wrong? Can you please help my?

Many thanks :(

My OS is CentOS 6, OTRS 3.0.11, MySQL 5.1.52
OTRS and ITSM 4.0.6 (production), MariaDB Ver 15.1 Distrib 5.5.40-MariaDB, CentOS 7.0.1406 (Core)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Need valid SortBy (LastUpdated)!

Post by jojo »

what did you change on the code?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
majo053
Znuny newbie
Posts: 52
Joined: 08 Nov 2011, 17:28
Znuny Version: 4.0.5

Re: Need valid SortBy (LastUpdated)!

Post by majo053 »

Basically anything. I only commented ticket lock code. This is production server and on my devel server this error messages I not see.

This is files that I changed:

Kernel/Output/HTML/Standard/AgentTicketEmail.dtl
Kernel/Output/HTML/Standard/AgentTicketActionCommon.dtl
AgentDashboardTicketGeneric.dtl
AgentTicketActionCommon.dtl
AgentTicketEmail.dtl
AgentTicketEmail.pm
AgentTicketPhone.dtl
AgentTicketSearch.pm
Article.pm
CustomerLogin.dtl


My Apache error log:

[Tue Nov 29 20:05:39 2011] -e: Use of uninitialized value $Param{"Total"} in numeric gt (>) at /opt/otrs//Kernel/Output/HTML/LayoutTicket.pm line 1216.
[Tue Nov 29 20:05:39 2011] -e: Use of uninitialized value $Param{"Total"} in division (/) at /opt/otrs//Kernel/Output/HTML/LayoutTicket.pm line 1217.


Is this "Need valid SortBy" a big problem?
Last edited by majo053 on 29 Nov 2011, 21:12, edited 1 time in total.
OTRS and ITSM 4.0.6 (production), MariaDB Ver 15.1 Distrib 5.5.40-MariaDB, CentOS 7.0.1406 (Core)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Need valid SortBy (LastUpdated)!

Post by jojo »

yes, this will be an issue. plaese revert your changes and try again
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
majo053
Znuny newbie
Posts: 52
Joined: 08 Nov 2011, 17:28
Znuny Version: 4.0.5

Re: Need valid SortBy (LastUpdated)!

Post by majo053 »

Revert which file?
OTRS and ITSM 4.0.6 (production), MariaDB Ver 15.1 Distrib 5.5.40-MariaDB, CentOS 7.0.1406 (Core)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Need valid SortBy (LastUpdated)!

Post by jojo »

the files you changed
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
majo053
Znuny newbie
Posts: 52
Joined: 08 Nov 2011, 17:28
Znuny Version: 4.0.5

Re: Need valid SortBy (LastUpdated)!

Post by majo053 »

Hmm...doesn't work :( Can you help me please?
OTRS and ITSM 4.0.6 (production), MariaDB Ver 15.1 Distrib 5.5.40-MariaDB, CentOS 7.0.1406 (Core)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Need valid SortBy (LastUpdated)!

Post by jojo »

as OTRS does not throw these kinds of errors some of your changes would be the cause...

revert all changes you did, delete the caches and restart apache
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
majo053
Znuny newbie
Posts: 52
Joined: 08 Nov 2011, 17:28
Znuny Version: 4.0.5

Re: Need valid SortBy (LastUpdated)!

Post by majo053 »

If I used dev database, then it is ok! What si wrong?
OTRS and ITSM 4.0.6 (production), MariaDB Ver 15.1 Distrib 5.5.40-MariaDB, CentOS 7.0.1406 (Core)
Locked