PHP Fatal Error

jcmorris
Posts: 5
Joined: Tue Dec 14, 2010 5:38 pm

PHP Fatal Error

Postby jcmorris » Tue Dec 14, 2010 5:42 pm

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

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: PHP Fatal Error

Postby gboudreau » Tue Dec 14, 2010 5:54 pm

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.
- Guillaume Boudreau

jcmorris
Posts: 5
Joined: Tue Dec 14, 2010 5:38 pm

Re: PHP Fatal Error

Postby jcmorris » Tue Dec 14, 2010 6:10 pm

Thank you that was a quick fix. Again Thank you.

Chris

untg99
Posts: 6
Joined: Wed Dec 15, 2010 3:25 am

Re: PHP Fatal Error

Postby untg99 » Wed Dec 15, 2010 5:38 am

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...?

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: PHP Fatal Error

Postby gboudreau » Wed Dec 15, 2010 6:13 am

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.
- Guillaume Boudreau

jcmorris
Posts: 5
Joined: Tue Dec 14, 2010 5:38 pm

Re: PHP Fatal Error

Postby jcmorris » Wed Dec 15, 2010 12:52 pm

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.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: PHP Fatal Error

Postby gboudreau » Wed Dec 15, 2010 1:21 pm

untg99: is yours a new install to ?
Maybe the problem lies in new installs only, and not with updates.
- Guillaume Boudreau

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: PHP Fatal Error

Postby gboudreau » Wed Dec 15, 2010 2:58 pm

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
- Guillaume Boudreau

untg99
Posts: 6
Joined: Wed Dec 15, 2010 3:25 am

Re: PHP Fatal Error

Postby untg99 » Thu Dec 16, 2010 3:44 am

Yep, completely new install.
Followed the install from the guide.

desertblizzard
Posts: 3
Joined: Sat Dec 18, 2010 6:40 pm

Re: PHP Fatal Error

Postby desertblizzard » Sat Dec 18, 2010 6:41 pm

New install, 32bit. Same exact problem. Fixed the same way.

Who is online

Users browsing this forum: No registered users and 34 guests