Welcome, Guest
Username: Password: Remember me

TOPIC: PHP error regarding bccomp after 2.7.2e upgrade

PHP error regarding bccomp after 2.7.2e upgrade 13 years 11 months ago #11852

  • iwffc-admin
  • iwffc-admin's Avatar
  • Visitor
  • Visitor
Further to my previous note, a search of the forum indicates that something named BCMATH needs to be enabled. It claims you can determine this from somewhere in the back-end of Joomla. Can someone tell me where that is (how to find it)? If it isn't enabled, I will get my hosting service to do that for me.

This does seem to be the same error reported previously (should have scanned for the problem earlier however, I'm running out of time to get this site operational!).

Thanks for any help...

Regards,

Sheldon

Please Log in or Create an account to join the conversation.

PHP error regarding bccomp after 2.7.2e upgrade 13 years 11 months ago #11855

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
iwffc-admin - I deleted your other post so you don't have to monitor two for the same thing :) In Joomla, go to Help -> System Info -> PHP Information. Then do a search for "BCMath". You should find this:

BCMath support enabled

The need for this was added in 2.7.2e for various calculation fixes and improvements. This is a very common function of PHP... it just may need enabled on your server. Not a big deal. Ask your host to do it if needed. Thanks.

Please Log in or Create an account to join the conversation.

PHP error regarding bccomp after 2.7.2e upgrade 13 years 11 months ago #11860

  • harwood31
  • harwood31's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Umm not a big deal?? In 6 years of running PHP based CMSs I've never had to add this option to my PHP configuration, which btw requires you to recompile the whole dang binary from source!! Please point us in the direction to where this change was listed in your requirements for 2.7.2e? This is a huge oversight on your part. I will NOT install a bunch of functionality from seldom used options just in the off chance some app might need it, and I have never needed the BCmath option until now. What has me upset most, is that it was expected to just be there, and listed in a change log explain what & whys its now part of the base line. And asking some hosting providers to add options is both irksome and costly if they are non-responsive or charge for the changes.

I appreciate the accomplishments and challenges a some software vendor such as dth faces every day.

At the moment dtregister might be best of breed, but I expect by this time next year it wont be. For as functional is it is temperamental, your lack of change management, lack of documentation, and overall lack of professional support can not sustain this program to the next level. I strongly suggest you cease all development work on new functionality and instead focus inward on corporate maturity, SDLC process development and improvement, and then turn to product quality. Permit the customer to choose from older but stable versions of the software to download as we need what "works" right now. And start using the beta label which is what the entire 2.7 branch has apparently been since I registered a short time ago, until such time as the majority of the posts here are not pertaining to the constant string of new bugs in each micro release. There's an obvious reason why your constantly "backed up on tickets". Your doing too much and doing much of it all wrong.

Towards this end, I'll recommend it only for use "as is", and not for midlevel or enterprise use until this trend changes.

Please Log in or Create an account to join the conversation.

PHP error regarding bccomp after 2.7.2e upgrade 13 years 11 months ago #11861

  • iwffc-admin
  • iwffc-admin's Avatar
  • Visitor
  • Visitor
Thank you for your quick reply. Its good to know that this forum is monitored even on weekends.

In my PHP Information, BCMath is not enabled that I can see. Unfortunately, this leads to a couple of other questions.

Is this something I can do or must I get my hosting service to do it?

If I can do it, how do I go about it?

Regardless of how BCMath is enabled, what must I do after wards (do I simply reinstall DT Register 2.7.2e)?

Again, thank you for your quick response.

One other point for those who may read this note. Firefox seems to be the best browser for development work. IE is too flaky and Chrome doesn't allow you to edit your Messages and Emails (which is how I discovered how flaky IE is!).

Regards,

Sheldon

Please Log in or Create an account to join the conversation.

PHP error regarding bccomp after 2.7.2e upgrade 13 years 11 months ago #11862

  • harwood31
  • harwood31's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Sheldon,

I'm not the support guy. Just another user having problems working over the weekend.

Bcmath is an optional flag which is added to the configuration step of compiling the PHP executable to be used on your webserver. From your question is sounds like your not familiar with this part of system administration? If so your hosting provider will be. Somewhere in your websites administrative console (hopefully) will be some php information.

Look for the line that's called "Configure Command". After it will be an number of statements. If BCmath is enabled then it will show this entry somewhere in the line: '--enable-bcmath'

If it doesn't, then you need to get someone to add it to your php settings. Once BCmath is enabled, 2.7.2e will "just work" normally so yes just install it, but per my posts above YMMV. You need to be able to control your php file and its setting to do this yourself. Again if your not familiar with doing this, or your not aware of how to do it from the controls you have, ask your hosting provider.

If you don't have php information available in your website console, then make a new php file, call it anything and add this code to it:

<?php

phpinfo ();

?>

When you browse it, it will display all the current php settings. I'll caution you though, this is system sensitive information, so either make the file private for only yourself and team, or just put it in place long enough to view the information, and then remove it.

Please Log in or Create an account to join the conversation.

PHP error regarding bccomp after 2.7.2e upgrade 13 years 11 months ago #11887

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
The next package update will be 2.7.3 and should be released in 1-2 days. We have removed the use of BCMath in the new package and accomplished those functions another way. While this was not an issue for most, it clearly is for some so we're getting it out of the picture. Watch for the next update.

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds