We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51020
    • 670 Posts
    Hi,

    I have a site which i'm just creating on a client's host.
    They are with 123reg.
    all was fine, then i decided to turn on Pretty urls - and renamed the htaccess file to .htaccess via FTP.
    Now i get the error:
    Parse error: syntax error, unexpected T_FUNCTION in /websites/123reg/LinuxPackage22/fu/si/on/fusionanimation.co.uk/public_html/dev/core/components/pdotools/model/pdotools/pdotools.class.php on line 152

    If I remove the PDO tools, it just gives me an error on another component.

    I can still FTP, and can rename the htaccess file back to ht.access, but the site is still giving the same errors - can anyone think of a resolution?

    Thanks
    Andy

    This question has been answered by tm2000. See the first response.

    • discuss.answer
      • 51020
      • 670 Posts
      UPDATE: I re ran the setup, and it said that my PHP was too old - upgraded that and all fine!