Engilsh GUI won't work after SVN update

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Engilsh GUI won't work after SVN update

Postby dspaan » Thu Dec 18, 2014 8:14 am

Hi all,

I have a problem which is the English interface won't work anymore but the Dutch interface still works after updating to the lastest SVN last night:

svn info /usr/src/astguiclient/trunk
Path: /usr/src/astguiclient/trunk
URL: svn://svn.eflo.net:3690/agc_2-X/trunk
Repository Root: svn://svn.eflo.net:3690
Repository UUID: 3d104415-ff17-0410-8863-d5cf3c621b8a
Revision: 2222
Node Kind: directory
Schedule: normal
Last Changed Author: mattf
Last Changed Rev: 2222
Last Changed Date: 2014-12-17 12:58:47 +0100 (Wed, 17 Dec 2014)


I tried to copy /usr/src/astguiclient/trunk/www/agc to /srv/www/htdocs/agc but this didn't help.

The problem is that when i try to login as agent i get to see the endless Loading screen. I think it might be because of an old customization we had on this server.

Which logs can i check to figure out the problem?

In my Firefox developer console i see:
TypeError: genderIndex is undefined


With the Dutch interface i don't get this error.
I don't see anything relevant in the apache error log.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Engilsh GUI won't work after SVN update

Postby mflorell » Thu Dec 18, 2014 11:56 am

I can't replicate this problem on a newly upgraded system, with or without the Gender field being hidden with the ---HIDE--- label.

So, not sure what to suggest for you other than to ask if your Firefox Console shows what line that error is on, and what the code block around it looks like in source code.

I usually use Chrome to debug because it's easier to click to see the code, and it doesn't crash as often as Firefox now seems to.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Engilsh GUI won't work after SVN update

Postby dspaan » Thu Dec 18, 2014 12:34 pm

I went to debug with Chrome and now i can login without problems in both Firefox and Chrome, i don't understand.... Maybe my colleague found something, i'll post back if that is the case.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Engilsh GUI won't work after SVN update

Postby DarthGamer » Tue Dec 23, 2014 6:22 am

I have the same problem.

I had to go and modify agc/vicidial.php to ignore all ifs containing $hide_gender.
DarthGamer
 
Posts: 15
Joined: Wed Jul 24, 2013 8:40 am

Re: Engilsh GUI won't work after SVN update

Postby mflorell » Tue Dec 23, 2014 7:50 am

I'm trying to figure out what it causing this, Do you have the System Setting label for Gender set to ---HIDE---?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Engilsh GUI won't work after SVN update

Postby DarthGamer » Tue Dec 23, 2014 9:54 am

Where can I find that? I looked everywhere and didn't find where to set the Gender to ---HIDE---, so you may say I'm using the default value after an upgrade.
DarthGamer
 
Posts: 15
Joined: Wed Jul 24, 2013 8:40 am

Re: Engilsh GUI won't work after SVN update

Postby dspaan » Tue Dec 23, 2014 1:16 pm

He means at Admin>System Settings>scroll down.

In our case yes it is set to hide because we use m, v, o values in dutch. So we can' use the default values.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Engilsh GUI won't work after SVN update

Postby mflorell » Tue Dec 23, 2014 9:14 pm

I made a couple of small changes in svn/trunk for this issue. Please let me know if they help.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Engilsh GUI won't work after SVN update

Postby DarthGamer » Wed Dec 24, 2014 8:18 am

dspaan wrote:He means at Admin>System Settings>scroll down.

In our case yes it is set to hide because we use m, v, o values in dutch. So we can' use the default values.


Thank you for the instructions.

Yes, gender is set to --HIDE--

Can't test the changes done on trunk now, but when I manage to do it, will confirm if worked or not.
DarthGamer
 
Posts: 15
Joined: Wed Jul 24, 2013 8:40 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 41 guests