[resolved] Duplicator- "Parse error: Syntax error" (6 posts)

  1. dorearendil
    Posted 3 years ago #

    Hi there!

    Thanks for developing Duplicator, which looks like an awesome plugin.
    I just created my first package + install, on my localhost server (Mamp). This all seems to work fine if I launch the install locally.

    However, once everything is uploaded to my server and I access the install.php file, all I get is this error:

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /[...]/installer.php on line 182

    File permissions are OK, and safe mode is disabled. Anything else I should check?



  2. Cory Lamle
    Plugin Author

    Posted 3 years ago #

    It probably has to do with the version of PHP on the server your trying to install. What version are you using? It should be version 5.2.17 or better...

  3. dorearendil
    Posted 3 years ago #

    Indeed it should!
    Old server, was running under PHP4.

    Thanks for the quick support!

    (now I just need to buy access to an extra database on my server... Shame Duplicator has to erase all existing tables :( )

  4. Cory Lamle
    Plugin Author

    Posted 3 years ago #

    In future versions it may provide the ability to choose which tables to overwrite.... Right now its just a simple utility to migrate and move...

  5. oblivius
    Posted 2 years ago #

    JUST A "LOVE THIS PLUGIN" !! ATTA BOY !! Terrific time saver..and YES it's always the PHP version slop... I tried to proactively change that but with all the files getting overwritten I guess it's just an extra step..Peace

  6. Cory Lamle
    Plugin Author

    Posted 2 years ago #

    Thanks oblivius!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Duplicator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic