Can't login after upgrade to 3.1.2 -> JQuery Error

Moderator: crythias

Locked
peterm2
Znuny newbie
Posts: 4
Joined: 09 Apr 2011, 18:37
Znuny Version: 3.0.5

Can't login after upgrade to 3.1.2 -> JQuery Error

Post by peterm2 »

Hello,

I upgraded from 3.0.9 (?) to 3.1.2, followed the upgrade instructions and tested OTRS after upgrading, everythign worked.

Now I am trying to access it again and when I go to the login page, I receive a JavaScript Error message which seems to come from jquery?

Here it is:

Code: Select all

$(this).prop is not a function

SelectAllCheckboxes(0,[object HTMLInputElement])@https://<mydomain.com>/otrs-web/js/js-cache/CommonJS_e1be29497ee64b1aca20b4a22cd82dc6.js:524
trigger([object Object],(function (key, value) {var TagnameValue = $(this).prop("tagName"), ReadonlyValue = Core.Data.Get($(this), "OldReadonlyStatus"), DisabledValue = Core.Data.Get($(this), "OldDisabledStatus");if (TagnameValue === "BUTTON") {if (DisabledValue === "disabled") {$(this).attr("disabled", "disabled");}} else {if (ReadonlyValue === "readonly") {$(this).attr("readonly", "readonly");}}}))@https://<mydomain.com>/otrs-web/js/js-cache/CommonJS_e1be29497ee64b1aca20b4a22cd82dc6.js:37
SelectAllCheckboxes([object Object])@https://<mydomain.com>/otrs-web/js/js-cache/CommonJS_e1be29497ee64b1aca20b4a22cd82dc6.js:524
Init()@https://<mydomain.com>/otrs-web/js/js-cache/ModuleJS_20b7ce4f972a8f1d6c5cd4ac012b7210.js:3
(?)()@https://<mydomain.com>/:284
Ready((function (j, s) {return new b.fn.init(j, s);}))@https://<mydomain.com>/otrs-web/js/js-cache/CommonJS_e1be29497ee64b1aca20b4a22cd82dc6.js:596
trigger()@https://<mydomain.com>/otrs-web/js/js-cache/CommonJS_e1be29497ee64b1aca20b4a22cd82dc6.js:37
trigger([object Event])@https://<mydomain.com>/otrs-web/js/js-cache/CommonJS_e1be29497ee64b1aca20b4a22cd82dc6.js:37
Now the great thing is that this error appears while loading the login page - and the login button does not respond anymore, so I am actually not able anymore to use OTRS because of a JavaScript Error!?

HELP please! I already googled it but did not find something useful, I am not a programmer though.

Thanks,
Peter
marv
Znuny newbie
Posts: 10
Joined: 16 Feb 2012, 14:27
Znuny Version: 3.0

Re: Can't login after upgrade to 3.1.2 -> JQuery Error

Post by marv »

I can acknowledge this error.
My "solution" was to use 3.1.1. where this error does not occur.
(At least not at the login page, the time accounting might be faulty there too)
OTRS Live: 3.0
OTRS Test: 3.1.1
Windows 2k3
Apache/MySQL
marv
Znuny newbie
Posts: 10
Joined: 16 Feb 2012, 14:27
Znuny Version: 3.0

Re: Can't login after upgrade to 3.1.2 -> JQuery Error

Post by marv »

I'll have to correct myself.

The error does occur, but not at the login page.
In version 3.1.1 I'm getting the error at the time accounting module when entering times.
OTRS Live: 3.0
OTRS Test: 3.1.1
Windows 2k3
Apache/MySQL
peterm2
Znuny newbie
Posts: 4
Joined: 09 Apr 2011, 18:37
Znuny Version: 3.0.5

Re: Can't login after upgrade to 3.1.2 -> JQuery Error

Post by peterm2 »

...anyone??
linuxtuxie
Znuny newbie
Posts: 1
Joined: 03 Apr 2012, 09:57
Znuny Version: 3.1.2

Re: Can't login after upgrade to 3.1.2 -> JQuery Error

Post by linuxtuxie »

Hi all,

I just installed otrs 3.1.2 on my debian squeeze box and after installation I also receive the above mentioned error when trying to login to the otrs/index.pl page.

Has anyone already got an idea how to fix this issue?

Regards,
Kim
Mydnyte
Znuny newbie
Posts: 25
Joined: 23 Feb 2012, 01:03
Znuny Version: 3x1x1
Real Name: Jeremy

Re: Can't login after upgrade to 3.1.2 -> JQuery Error

Post by Mydnyte »

This issue typically occurs if you copy your entire (old) /var/ folder on top of your upgraded installation.

The new .js modules that are required for the new version to function properly are overwritten by the old ones.
I know it says you should do this in the UPGRADING file, but doing so will cause the errors you're seeing.

It's best to copy only your custom items from the (old) /var/ folder and replace them as necessary.
If you do not have any custom items (images, etc.) you will want to copy only the /var/article and /var/log folders over.

I hope this helps.
OTRS 3.2.10 - FAQ - KUBUNTU 13.04 - MySQL 5.5 - Apache2.2
Stringo
Znuny newbie
Posts: 1
Joined: 24 May 2012, 17:49
Znuny Version: 3.1.4+dfsg1-1
Real Name: Sten ring

Re: Can't login after upgrade to 3.1.2 -> JQuery Error

Post by Stringo »

Hello!
I'm experiencing the exact same problem. However I'm running a backported 3.1.4+dfsg1-1 on a Debian Squeeze installation and when I install the package
it all seem to work fine but then this error occurs.
Any news regarding this problem?
Best Regards,
Sten
pbanholzer
Znuny newbie
Posts: 1
Joined: 17 Jul 2012, 11:58
Znuny Version: 3.1.2

Re: Can't login after upgrade to 3.1.2 -> JQuery Error

Post by pbanholzer »

I have the same issue ... did you solve the problem yet?

What is your solution?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Can't login after upgrade to 3.1.2 -> JQuery Error

Post by crythias »

var/httpd/htdocs/js/ should only include the [your version] of *.js
var/httpd/htdocs/js/js-cache/ should be cleared.
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