AJAX error when selecting queue - ticket creation

Moderator: crythias

Locked
GabrieL
Znuny newbie
Posts: 3
Joined: 18 Jul 2013, 15:10
Znuny Version: 3.2.8
Real Name: Gabriel
Company: Magna

AJAX error when selecting queue - ticket creation

Post by GabrieL »

Hello all!

I have just upgraded from OTRS 3.0.10 to 3.2.8. I used to run it in Windows + Apache, but now I run it with Windows + IIS

There was no guide on the internet on how to upgrade it, so I kinda had to figure it out on my own. Upgraded the database, ran the perl scripts, copied over the Config.pm, GenericAgent.pm and ZZZAuto.pm, etc.

It's up and running but I'm eventually getting some AJAX errors when creating tickets, especially on Google Chrome, both on Customer Panel and Agent Panel.

The weird thing is that this does not happen all the time, although quite frenquently. When I or a customer chooses a Queue, this AJAX error comes up in form of a popup:

"Error during AJAX communication". In the PERL logs, I have this:

Code: Select all

*** 'C:\Program Files (x86)\OTRS\OTRS\bin\cgi-bin\index.pl' log message at: 2013/07/18 09:48:29
'C:\Program Files (x86)\OTRS\OTRS\bin\cgi-bin\index.pl' script produced no output

*** 'C:\Program Files (x86)\OTRS\OTRS\bin\cgi-bin\index.pl' log message at: 2013/07/18 09:48:43
Precompiler: Execute Error:
	Filename:[C:\Program Files (x86)\OTRS\OTRS\bin\cgi-bin\index.pl]
	Package:[PerlEx::Precompiler::c_::program20files2028x8629::otrs::otrs::bin::cgi2dbin::index_pl]
Params[]
encountered object 'true', but neither allow_blessed nor convert_blessed settings are enabled at C:/Program Files (x86)/OTRS/OTRS/bin/cgi-bin/../../Kernel/System/JSON.pm line 106.
or

Code: Select all

*** 'C:\Program Files (x86)\OTRS\OTRS\bin\cgi-bin\customer.pl' log message at: 2013/07/18 10:17:32
'C:\Program Files (x86)\OTRS\OTRS\bin\cgi-bin\customer.pl' script produced no output

*** 'C:\Program Files (x86)\OTRS\OTRS\bin\cgi-bin\index.pl' log message at: 2013/07/18 10:17:40
Precompiler: Execute Error:
	Filename:[C:\Program Files (x86)\OTRS\OTRS\bin\cgi-bin\customer.pl]
	Package:[PerlEx::Precompiler::c_::program20files2028x8629::otrs::otrs::bin::cgi2dbin::customer_pl]
Params[]
encountered object 'false', but neither allow_blessed nor convert_blessed settings are enabled at C:/Program Files (x86)/OTRS/OTRS/bin/cgi-bin/../../Kernel/System/JSON.pm line 106.
Any ideas? :?

Thanks!
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: AJAX error when selecting queue - ticket creation

Post by crythias »

you needed to upgrade to 3.1.latest before upgrading to 3.2.latest

Not sure anything else I can help with at this point.
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
GabrieL
Znuny newbie
Posts: 3
Joined: 18 Jul 2013, 15:10
Znuny Version: 3.2.8
Real Name: Gabriel
Company: Magna

Re: AJAX error when selecting queue - ticket creation

Post by GabrieL »

I did run the scripts for 3.1 before running the ones for 3.2
GabrieL
Znuny newbie
Posts: 3
Joined: 18 Jul 2013, 15:10
Znuny Version: 3.2.8
Real Name: Gabriel
Company: Magna

Re: AJAX error when selecting queue - ticket creation

Post by GabrieL »

Tried the following in PPM:

URI-Escape-XS marked for install
JSON-XS marked for remove

SEEMS to have stopped giving me errors :)
steste123
Znuny wizard
Posts: 554
Joined: 25 Sep 2012, 19:04
Znuny Version: OTRS Help Desk
Real Name: Stefan

Re: AJAX error when selecting queue - ticket creation

Post by steste123 »

I think this is the answer!!!
Now we wont get any ajax error...
OTRS 5.x - Debian 8 - apache 2.4 - MySQL 5.x
Locked