[SOLVED]Software Error :: Invalid version format

Moderator: crythias

Locked
franklinfarias
Znuny newbie
Posts: 14
Joined: 17 Jun 2011, 02:49
Znuny Version: 6.0.28
Real Name: Franklin Farias
Company: FKSapiens

[SOLVED]Software Error :: Invalid version format

Post by franklinfarias »

Hello,
After performing the upgrade OTRS (Windows) 2.7.4 to 3.0.8, one can no longer perform the closing of the ticket.
The following message appears:
Software error:

Invalid version format (non-numeric data) at E: / OTRS / OTRS / / Kernel / System / Log.pm line 160.

For help, please send mail to the webmaster (webmaster@somenet.com), giving this error message and the time and date of the error.
Has anyone solved this problem?

Franklin
Last edited by franklinfarias on 29 May 2014, 18:41, edited 1 time in total.
-- Franklin Farias
OTRS Community v6.0 on CentOS 7 with MySQL
OTRS (OnPremisse) v7.0 on CentOS 7 with MySQL
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Software Error :: Invalid version format

Post by MichaelR »

Apache Logs, OTRS Logs... Did you refresh the config? Are all the packages installed properly? etc...
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Software Error :: Invalid version format

Post by yuri0001 »

Hi!
I have a same problem: http://forums.otrs.org/viewtopic.php?f=62&t=10172
All pockets installed properly without any messages. 2 days before was installed ITSM 3.04 and made some customization in AgentTicketZoom.dtl file to disable display some fields on the screen. But I regained Config and set aside the changes in this files :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
franklinfarias
Znuny newbie
Posts: 14
Joined: 17 Jun 2011, 02:49
Znuny Version: 6.0.28
Real Name: Franklin Farias
Company: FKSapiens

Re: Software Error :: Invalid version format

Post by franklinfarias »

I checked the log file ... OTRS / / var / log / otrs.log containing the error

Code: Select all

[Mon Jun 20 09:56:54 2011][Error][Kernel::System::Ticket::TicketSearch][5124] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')  AND st.ticket_lock_id IN (2) AND st.user_id IN (11) AND st.ticket_state_id IN' at line 1, SQL: 'SELECT DISTINCT count(*) FROM ticket st, queue sq  WHERE sq.id = st.queue_id AND st.ticket_state_id IN (  )  AND st.ticket_lock_id IN (2) AND st.user_id IN (11) AND st.ticket_state_id IN (7)  AND st.until_time <= 1308574554 LIMIT 10000'
Edit ...otrs / Kernel / System / Ticket.pm on line 4135
The problem was solved.

Thanks!!!
-- Franklin Farias
OTRS Community v6.0 on CentOS 7 with MySQL
OTRS (OnPremisse) v7.0 on CentOS 7 with MySQL
Sutti
Znuny newbie
Posts: 1
Joined: 09 Mar 2011, 17:41
Znuny Version: 3.0.4
Real Name: Florian
Company: USG People Germany GmbH
Location: München

Re: Software Error :: Invalid version format

Post by Sutti »

Hey together,

i´ve had the same problem, but got solved by updating the ITSM to the newest version.

Still don´t know why this occured?!

Regards
->OTRS 3.0.4 with ITSM on Windows 2003 R2 x64 | Windows 2003 R2 x64 running the MySQL server
->OTRS 3.0.10 on Windows 2003 R2 x64 | MySQL server ^
->OTRS 3.0.9 on Windows 2003 R2 x64 | MySQL server ^
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Software Error :: Invalid version format

Post by MichaelR »

I think it occured because when closing a Ticket that screen left the ImpactID as NULL or blank, and that SQL query needed it, hence the epic fireball error.
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Software Error :: Invalid version format

Post by crythias »

franklinfarias wrote:st.ticket_state_id IN (  )
This means that what you're closing has an invalid ticket_state_id. Likely it's because the state the ticket is in doesn't match some filter. Sometimes this is a display filter, sometimes it's some other filter.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked