Announcement

Collapse
No announcement yet.

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTIO

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTIO

    I get the following trying to updrade from 3.8 to 4 running the upgrade script, any ideas?

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/32/dxxxxxxxx/htdocs/xxxxxx/includes/class_core.php on line 1380
    Holiday Forum
    Motor Car Forum
    Political Forum
    Web Hosting Forum

  • #2
    I have the same problem...

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.47/xxx/xxx/includes/class_core.php on line 1380

    Comment


    • #3
      I think the problem is to do with the PHP version we have 4.9 but would like to know how to upgrade the PHP to 5.2?
      Holiday Forum
      Motor Car Forum
      Political Forum
      Web Hosting Forum

      Comment


      • #4
        You will need to contact your host unless you have root access to your server.


        Vote to have Javascript refactored in vB5

        Comment


        • #5
          on the server i had I added the following line in the htheaders and it solved it

          AddType x-mapp-php5 .php
          Holiday Forum
          Motor Car Forum
          Political Forum
          Web Hosting Forum

          Comment

          Working...
          X