We have two separate databases of SugarCRM running on the same server.
A serious problem has occurred when a user opens one database and then the other. Investigation has revealed that it has something to do with the cookie tracking the sortation of the views.
For some reason the cookie or session keeps track of the sortation field in the previous database (or other browser window of the DB). It then tries to do a sortation based on this cookie, and the window dies because the field does not exist.
The problem was quickly and temporarily rectified by adding in a dummy field matching the name of the field in the other database. It had nothing to do with the list view configuration of either database, and upon testing by trying to open both databases at the same time (on the same server) the program was duplicated in the opposite direction.
The problem effects every list view with sortation ability.
I found information here about changing the session_dir variable - however this merely broke the login! Perhaps there is something I am doing wrong, but I tried changing the session dir to the database's name to try to separate them. The cookie shows up on the client side browser named nothing but the IP address. I also tried changing the unique ID but that had no effect whatsoever.
The proper solution to the problem would be to be able to rename the cookie on the client side (?) so the browser doesnt get the two mixed up (?) or alternatively have something server side changed so that the browser does not try to tell Sugar to sort a listview like it was done in the other database (comes up cannot find column, etc as the field does not exist).
Any ideas would be very much appreciated.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks