Support » Plugins and Hacks » DukaPress » [Plugin: DukaPress] Fatal Error

  • I get this error when trying to activate
    Parse error: syntax error, unexpected T_IF in /home/xxxxxx/public_html/xxxxxx/wp-content/plugins/dukapress/php/dp-payment.php on line 1

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author moshthepitt

    (@moshthepitt)


    How are you installing it?

    Plugin Author moshthepitt

    (@moshthepitt)


    The problem comes about because the FTP client is using the ASCII transfer type. This sometimes causes files to be corrupted.
    Possible solutions:
    1.Change your FTP transfer type to “Binary” and re-upload
    2.Upload your plugin via a method other than FTP (The WordPress internal installer works GREAT)

    Another solution: you need to find a way to replace the broken dp-payment.php with a copy that works. This can be done easily via “File Manager” type of programs on your server or via the WordPress plugins editor.

    Hint: If this happens, you can quickly “restore” your website by renaming the DukaPress folder on your server. This disables the DukaPress plugin without forcing you to delete it from your server.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: DukaPress] Fatal Error’ is closed to new replies.