× Joomla Facebook Connect support forum

Topic-icon Turned on the plugins and site died

Active Subscriptions:

None
14 years 8 months ago #13334 by patlee
Hi there

The component installed fine and I got the app working at Facebook. But when I activated the plugins for the login.. I lost the site. Even after turning them off again, I got no site back. (MuchCaledonia.com). I do have access to the admin, just not the site.

PHP 5.2.17
MySQL is 5.0.51a.
Memory limit is 128M
Joomla Version 1.5.22 (I had found on the forum that this was workable).

I don't want to upgrade Joomla if I don't have to as getting this far was hard enough.
Any help would be appreciated.
The topic has been locked.
Support Specialist
14 years 8 months ago #13339 by alzander
1.5.22 is absolutely fine for JFBConnect. We work with anything above 1.5.15.

If you're getting a blank white page, can you please turn on error reporting, enable the plugins, and let us know what the error you're seeing is? To enable error reporting, you can see the guide on the following page:
www.sourcecoast.com/extensions/troublesh...ng-joomla-extensions

As for possible causes, it could be a few things. The main time this generally happens is if you've installed all the profile plugins and enabled them, even for components that you don't have installed. Just a thought, but if you can post the error, that will really narrow it down.

Thanks!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13440 by patlee
Hi there

There is no problem till I turn on the last plugin (User - JFBConnect Facebook) - then I get this:
Fatal error: Call to undefined function hash_hmac() in /home/queens/www/muchcaledonia.com/administrator/components/com_jfbconnect/assets/facebook-api/base_facebook.php on line 882
The topic has been locked.
Support Specialist
14 years 8 months ago #13442 by alzander
Patlee,
The function hash_hmac is a standard PHP function, that's been available since PHP 5.1.2 (see: php.net/manual/en/function.hash-hmac.php)

There's no reason that I can think of that this should be throwing an error if you're on PHP 5.2.17. I'll do a little investigation to see what we can do, but can you verify your PHP version, and if you wouldn't mind, let us know what hosting company you're on so that we can see if there are any known PHP problems with that host.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13443 by patlee
Hi there..

I really appreciate your help Alex, thank you.

The server is through Verio.. I run a ton of sites off the one virtual FreeBSD, but this is the first time using this software.
The PHP version showing on the system info is 5.2.17.
I can give you access to the admin if it helps, I'm just not sure how to get that to you.

Pat
The topic has been locked.
Support Specialist
14 years 8 months ago #13472 by alzander
Pat,
Very sorry for the delayed response. We were at Joomla Day Austin yesterday, and responded to most posts, but noticed that this one got missed.

We'd love to get into your system to understand why that function seems to be missing. If you would, create a super admin account for your site, and Private Message us the details. You can PM me by clicking the arrow under my picture (<
) and hitting the mail icon. Alternatively, you can email us at This email address is being protected from spambots. You need JavaScript enabled to view it. with the info, but please reference this thread.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13473 by patlee
No worries, I sent the info to you, I look forward to any help you can send my way.

Pat
The topic has been locked.
Support Specialist
14 years 8 months ago #13509 by alzander
Pat,
I did a bit of digging, and looking through your site configuration. I believe you'll need to contact your hosting provider. Basically, the hash function that's throwing the error has been included in PHP since version 5.1.2 (a few years ago). If you go to Help -> System Info in Joomla, and click on "PHP Information", you can search for "hash". When you do, you'll see:

mhash
MHASH support Enabled
MHASH API Version 20060101


On our server, we have:

hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128, 3 tiger160, 3 tiger192, 3 tiger128, 4 tiger160, 4 tiger192, 4 snefru gost adler32 crc32 crc32b haval128, 3 haval160, 3 haval192, 3 haval224, 3 haval256, 3 haval128, 4 haval160, 4 haval192, 4 haval224, 4 haval256, 4 haval128, 5 haval160, 5 haval192, 5 haval224, 5 haval256, 5


So it seems like the PHP running on your server was built to include the 'old' hashing functions before they were included in PHP. In PHP 5.3, the old functions aren't even supported anymore, but it looks like they can still work in PHP 5.2.

With all that said, I'd contact your provider and see if they can enable the "hash" functions that should be built into PHP.

Hope this isn't too confusing. You don't need to know what hashing functions or other stuff is, just that you need it, and Facebook, unfortunately, requires it.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13654 by patlee
Hi Alex

Since I have root access I went in and did the above myself, it all works great now.

Thank you - I really appreciate your help

Pat
The topic has been locked.
Support Specialist
14 years 8 months ago #13660 by alzander
Pat,
Fantastic! Just so I have a better understanding, did you disable the MHash library and enable the standard Hash, or something else? Would be good to know in case others run into this, but don't have a setup with that configuration to really test with.

Thanks for the feedback, and glad we got you going,
Alex
The topic has been locked.