Page 1 of 2

PHP Fatal Error

Posted: Tue Dec 14, 2010 5:42 pm
by jcmorris
I'm getting an error of "PHP Fatal error: Call to undefined function mb_strlen() in /usr/bin/greyhole on line 3778." This happened after a fresh load and after the updates with a reboot. I haven't seen anyone else with this and was wondering if anyone had any ideal as to what is causing this. Thanks,

Chris

Re: PHP Fatal Error

Posted: Tue Dec 14, 2010 5:54 pm
by gboudreau
What caused this: a missing package.

How to fix:

Code: Select all

yum -y install php-mbstring
How it happened: good question. What version of Greyhole do you have?

Code: Select all

rpm -q hda-greyhole
The latest Greyhole in Amahi's repository (0.7.5) should have installed that dependency automatically on install...
You can check the dependencies of your installed Greyhole package with this:

Code: Select all

rpm -qR hda-greyhole
php-mbstring should be listed in the result of the above command.

Re: PHP Fatal Error

Posted: Tue Dec 14, 2010 6:10 pm
by jcmorris
Thank you that was a quick fix. Again Thank you.

Chris

Re: PHP Fatal Error

Posted: Wed Dec 15, 2010 5:38 am
by untg99
Hey,

I had the same issue with hda-greyhole-0.7.5-1.x86_64

Installing the package worked, but also, the package is in the dependencies, so that is weird...?

Re: PHP Fatal Error

Posted: Wed Dec 15, 2010 6:13 am
by gboudreau
Could you guys post your /var/log/hda-updates.log files?
Mine is 26MB, so maybe gzip the file, and upload it anywhere... http://pub.abuserz.com or something.

Re: PHP Fatal Error

Posted: Wed Dec 15, 2010 12:52 pm
by jcmorris
As soon as I get home tonight I will post it. I can put mine on the site as it is only about 20k. I did a fresh install as I got to playing and thankfully for Greyhole I had everything :) on the other drives.

Re: PHP Fatal Error

Posted: Wed Dec 15, 2010 1:21 pm
by gboudreau
untg99: is yours a new install to ?
Maybe the problem lies in new installs only, and not with updates.

Re: PHP Fatal Error

Posted: Wed Dec 15, 2010 2:58 pm
by gboudreau
jcmorris: the install log might be better then, if greyhole 0.7.5 was installed during initial install, and not during the hourly updates. Maybe post both, so we can see in which one hda-greyhole 0.7.5 was installed.
You can find the install log in /root/hda-install.log

Re: PHP Fatal Error

Posted: Thu Dec 16, 2010 3:44 am
by untg99
Yep, completely new install.
Followed the install from the guide.

Re: PHP Fatal Error

Posted: Sat Dec 18, 2010 6:41 pm
by desertblizzard
New install, 32bit. Same exact problem. Fixed the same way.