Sorry, to repost but first attempt didn't get any response. Let me know if I'm asking in the wrong way
I'm beginning to suspect that my PHP/Apache installation are to blame for the problem pasted below. I use XAMPP on my dev machine, and it install the server, php, and pear in /opt/lampp instead of /var/www. Could that be it? Should I also try switching to php v 4?
M
-----------------------------------------------
I'm doing some work on Sugar for a client, and have installed a version locally. It's very finicky and frequently bombs with this error:
Fatal error: SugarBean::save() [function.save]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "DB_mysql" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /opt/lampp/htdocs/SugarSuite-Full-4.2.1b/data/SugarBean.php on line 779
$GLOBALS['db'] is just not getting set right.
...or a similar error in jsAlerts, which I was able to suppress by commenting out
$this->addActivities();
This morning I restarted the instance that was failing in this way last night, and it looked like it had "fixed itself" until it ran a query, and it reported that the database server had gone unavailable during the query (forgot which). Other sites on the same machine work fine and interact with the database successfully, so I don't think the server itself really went unavailable.
OS: Fedora Core 5
SugarCRM version: 4.2.1b
Webserver Apache 2
PHP: 5.0.5 (also test on 4.4.1
MySQL 5.0.15


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks