Hi Developers,
I cannot seem to get past a user being able to save a calendar event, a task or note to a task etc. I'm on my second installation on a shared hosting webserver running Apache 2.2.14, MySql 5.0.91 & PHP 5.2.12. I've had exactly the same problem with both installations but the installation itself of epesi BIM (epesi-1.1.3-rev7318.zip) all went smoothly. Logged in with the Admin account and and set everything up without a problem including the users, dashboard, settings etc. No problems at all so far.
Wandering around the user accounts I thought I'd set up various Calendar Events and Tasks so that the client can see the Dashboard and what it contains. On both installations the following happened as soon as I tried to save what I had created when logged in as the user:
Alert Window - There was an error in one of the epesi modules etc. etc. .....
Fatal: Call to undefined function mb_strlen() in /home/travelpr/public_html/bim/data/cache/common.php on line 10996
The relevant section of code from that file is:
$emps = array();
foreach ($r['employees'] as $e) {
$e = CRM_ContactsCommon::contact_format_no_company($e, true);
$e = str_replace(' ',' ',$e);
if (mb_strlen($e,'UTF-8')>33) $e = mb_substr($e , 0, 30, 'UTF-8').'...';
$emps[] = $e;
}
I did find a post in the Installation section http://forum.epesibim.com/viewtopic.php?f=3&t=132&start=0 which addressed the same error (1071) with MySql and I checked the code you put in that post but it was the same as I had in the modules\CRM\Filters\FiltersInstall.php installation file anyway which I expected.
Comparing your '%char%' entries in MySql your character_set_server utf8 is different to mine which is character_set_server latin1.
Then I got stuck, I cannot login using Firefox as either Admin or the user. I can login as the Admin in IE8 but if I login as the user in IE8 it breaks that as well and I can't get in at all.
This is the ideal product for my client, just what they are looking for so I'd like to get this resolved if possible but I am limited in what I can do being on a shared webhost. I cannot remove the data directory from the old installation because the file permissions are set to 644 and I'm not the owner and I am limited to MySql manipulation through the Control Panel and PHPMyAdmin. It also means I cannot upload a corrected common.php file if that's what needs to be adjusted without doing a completely fresh installation.
Any light you can throw on this would be helpful.
Many Thanks
Andy.