Hi,
I think I've found a problem when upgrading to Sugar 2.4.1....
Our users complained that when they were clicking the link to accept an emailed meeting request, they were getting the errors:
Notice: Undefined index: db in
/var/www/html/SugarSuite-Full-4.2.0a/data/SugarBean.php on line 3035
Fatal error: Call to a member function quote() on a non-object in /var/www/html/SugarSuite-Full-4.2.0a/data/SugarBean.php on line 3035
Obv, I had turned php display_errors on, otherwise they just get nothing!
After a bit of hunting, I believe I've solved the problem. It appears that during the upgrade the $GLOBAL['db'] variable was replaced by $this->db, moving away from Globals towards Classes. Think that there are three instances of $GLOBAL['db'] in the /data/SugarBean.php file that needs to be changed.
If this is right, hurray! - I've fixed it. However, if I'm being amazingly stupid can someone let me know before I break anything else!
Thanks in advance,
Rupes


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks