Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP-Media PHP Version issues

  • Most of us who are on a shared hosting environment, are on PHP Version 5.2 and have no idea on when the version will be updated to version 5.3. What are we supposed to do? I have confirmed this with three different hosts that I use (accountsupport, bluehost and hostgator).

    Would you allow for one of your builds to work for those of us on version 5.2? If there is a workaround, that would also be appreciated. Anyone who can assist or share some information so that we are able to use this plugin?

    Thank you!

Viewing 25 replies - 1 through 25 (of 26 total)
  • Avatar of Michael
    Michael
    Participant

    @fanquake

    @core212

    What version of PHP are you running exactly? I should be able to package up a nightly that will work with 5.2 and post it to our downloads page.

    @FanQuake

    I’m running 5.2.12

    If you could do this, it would be amazing! So excited!

    @FanQuake

    I’m running 5.2.12

    If you could do this, it would be amazing! So excited!

    Avatar of Michael
    Michael
    Participant

    @fanquake

    Avatar of Michael
    Michael
    Participant

    @fanquake

    Thanks so much for the quick turnaround @FanQuake I am getting the error listed below when activating the plugin though:

    Fatal error: Cannot redeclare class BPM_sUtil in /hermes/web06/b2413/as.rod7809/public_html/wp-content/plugins/build/core/utils/class.utils.system.php on line 17

    Thoughts?

    Thanks so much for the quick turnaround @FanQuake I am getting the error listed below when activating the plugin though:

    Fatal error: Cannot redeclare class BPM_sUtil in /hermes/web06/b2413/as.rod7809/public_html/wp-content/plugins/build/core/utils/class.utils.system.php on line 17

    Thoughts?

    Avatar of Michael
    Michael
    Participant

    @fanquake

    @core212 I’ve updated the version on the download page, so re download and try it out. Should be fixed now.

    Avatar of Michael
    Michael
    Participant

    @fanquake

    @core212 I’ve updated the version on the download page, so re download and try it out. Should be fixed now.

    @FanQuake: This time, it allowed for plugin activation, but on the BP-Media tab, I am getting the following message:

    Your PHP Installation is Out Of Date
    Installed: 5.2.17 | Required: 5.3.0
    BP-Media requires at least PHP 5.3.0 . Activating BP-Media on older versions of PHP can white-screen the admin page and cause errors throughout your website. Also, the current version of WordPress requires PHP 5.2.4 or higher. …so contact your web host and tell them its time to upgrade. You can get the latest distro from the official PHP download page.

    @FanQuake: This time, it allowed for plugin activation, but on the BP-Media tab, I am getting the following message:

    Your PHP Installation is Out Of Date
    Installed: 5.2.17 | Required: 5.3.0
    BP-Media requires at least PHP 5.3.0 . Activating BP-Media on older versions of PHP can white-screen the admin page and cause errors throughout your website. Also, the current version of WordPress requires PHP 5.2.4 or higher. …so contact your web host and tell them its time to upgrade. You can get the latest distro from the official PHP download page.

    Avatar of Michael
    Michael
    Participant

    @fanquake

    @core212 Ok, that was my bad, must have changed something back when I uploaded the second build. I’ve updated the one on the download page again, and it will work this time. Sorry about that…

    Avatar of Michael
    Michael
    Participant

    @fanquake

    @core212 Ok, that was my bad, must have changed something back when I uploaded the second build. I’ve updated the one on the download page again, and it will work this time. Sorry about that…

    @FanQuake: Another snag :-

    Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /hermes/web06/b2413/as.rod7809/public_html/wp-content/plugins/bp-media/core/config/class.config.system.php on line 399

    @FanQuake: Another snag :-

    Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /hermes/web06/b2413/as.rod7809/public_html/wp-content/plugins/bp-media/core/config/class.config.system.php on line 399

    Avatar of Michael
    Michael
    Participant

    @fanquake

    @core212 I’m guessing you’ve got WP_DEBUG on? You should turn that off if you want to check out the plugin, because there are allot of debug messages at the moment.

    Avatar of Michael
    Michael
    Participant

    @fanquake

    @core212 I’m guessing you’ve got WP_DEBUG on? You should turn that off if you want to check out the plugin, because there are allot of debug messages at the moment.

    how do i turn that off? it is currently off in wp-config. i have never enabled that.

    how do i turn that off? it is currently off in wp-config. i have never enabled that.

    I actually think i’ve fixed the problem. on line 399, i replaced the double colon with a -> as so:

    $self->loadCache();

    instead of $self::loadCache();

    and it seems to have done the trick.

    I actually think i’ve fixed the problem. on line 399, i replaced the double colon with a -> as so:

    $self->loadCache();

    instead of $self::loadCache();

    and it seems to have done the trick.

    Avatar of dcoschroeder
    dcoschroeder
    Member

    @dcoschroeder

    I just want to say thank you for doing this as well. This was my request awhile back. I will be testing the 5.2 version very soon, but can’t test it right now. A Big Thanks! (Add justhost to the list of 5.2 php hosts)

    p.s. I do note that bp-media will be extremely limited on shared hosting, but I’d like to try it still.

    Avatar of foxly
    foxly
    Participant

    @foxly

    T_PAAMAYIM_NEKUDOTAYIM is Hebrew for “double colon”. Two of the three original developers of the PHP team are from Israel. As PHP was successively refactored over the past 16 years, the development team has left this error message untouched just because it sounds so strange.

    @core212 @dcoschroeder

    If you want to use BP-Media 0.1.9 you’re going to have to sign-up on a web host that uses at least PHP 5.3.

    As you’ve probably discovered by now, just getting BP-Media 0.1.9 to *parse* on PHP 5.2 requires hundreds, if not thousands, of modifications to the code. But the real show-stoppers are “stability” and “security”. The number of defects fixed between version 5.2.x and version 5.3.x is spectacular.

    To safely run on old versions of PHP, we would need to write custom code to fix many of these defects. That would take a lot of time and money to do, and would be a huge waste of resources because we’d be fixing problems that have already been solved.

    PHP 5.3 has been out for *over two years* …if your web host can’t be bothered to upgrade their software, maybe its time to upgrade your web host. Hosts we’ve had good results with: http://www.hostgator.com (low traffic), http://www.mediatemple.com (medium traffic) http://www.peer1.com (high traffic)

    ^F^

    Avatar of dcoschroeder
    dcoschroeder
    Member

    @dcoschroeder

    Hostgator.com: According to @Core212 is not yet PHP 5.3.
    Reiterated here is that most shared hosting is not 5.3 and these companies seemingly have no current plans to upgrade.
    It was nice to have @FanQuake respond so quickly with a nightlybuild.
    I’ve been waiting for a year for an album plugin that can handle multiple albums and also maybe link youtube videos to a member’s profile. It is only towards the end of that wait that I find out my wait was in vain.
    Now I must hope that someone will start a new competing project with Bp-Media, because Bp-Media gives no hope of helping me.
    Or maybe when all is said and done a kind BP-Media developer who has learned a lot from being on this project could make a BP-Media lite. Maybe it wouldn’t be as hard as reinventing the wheel.
    We have a right to be frustrated/disappointed every time the response we get is “your web host sucks to much for our service.”

    Avatar of dcoschroeder
    dcoschroeder
    Member

    @dcoschroeder

    I looked it up the most basic plan ($20 per month) at http://www.mediatemple.com is also not yet PHP 5.3.

Viewing 25 replies - 1 through 25 (of 26 total)

You must be logged in to reply to this topic.