WordPress.org

Ready to get started?Download WordPress

Forums

DukaPress
Fatal Error (3 posts)

  1. Toggy
    Member
    Posted 3 years ago #

    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

  2. moshthepitt
    Member
    Plugin Author

    Posted 3 years ago #

    How are you installing it?

  3. moshthepitt
    Member
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags