Database upgrade error after manual upgrade

Discussion in 'Installation' started by bayhouse, Jun 17, 2016.

  1. bayhouse

    bayhouse New Member

    Joined:
    Jul 6, 2007
    Messages:
    11
    Upgraded manually from 4. whatever and followed these instructions:



    Parse error: syntax error, unexpected T_STATIC in /home/yoursite.com/public_html/amember/library/Am/App.php on line 471

    Does anyone know what that means?

    Support is closed for the weekend, I paid for the upgrade a couple days ago and can't believe it'll take about week to get this done.
  2. jenolan

    jenolan aMember Coder

    Joined:
    Nov 3, 2006
    Messages:
    510
    Raise an urgent ticket, someone should get to it during the weekend
  3. bayhouse

    bayhouse New Member

    Joined:
    Jul 6, 2007
    Messages:
    11
    Thanks, I opened a ticket.
  4. robw

    robw CGI-Central Partner

    Joined:
    Dec 18, 2007
    Messages:
    287
    I'd bet money that you are using a version of PHP older than 5.3... as the error suggests your server doesn't understand late static bindings.

    Solution - upgrade your server to at least PHP 5.3, and preferably higher (5.6 recommended)

    Cheers
    Rob

    Ps - As per aMember requirements, PHP 5.3 is the minimum version supported.
    https://www.amember.com/docs/Requirements
  5. bayhouse

    bayhouse New Member

    Joined:
    Jul 6, 2007
    Messages:
    11
    Thanks, that's what it was. I recently downgraded to an older PHP version in CP to get one of my other installations working without having to pay for an upgrade right now. Fortunately 5.3 works for both.
    robw likes this.

Share This Page