Author Advertising Pro
Author Advertising Pro crash on activation (10 posts)

  1. Paul
    Posted 3 years ago #

    The plugin crashes my site on activation, completely. A printout from the errorcode is not possible, it is that big.
    It is only possible to access my site again after deleting the plugin folder from my site.
    I tried a complete fesh install of wordpress with only the plugin installed. Same result. Crash after activation.

    I am using WordPress 3.3.1 with author advertising pro 5.0.9.

    What could be the problem?


  2. testlink25
    Posted 3 years ago #

    same things happens here needs an update

  3. Paul
    Posted 3 years ago #

    I already asked the author, but he is not responding.

  4. giangel84
    Plugin Author

    Posted 3 years ago #

    The plugin need to add some tables in your wordpress database to working fine.
    When the plugin is active it should ask to you which method do you want follow to proceed.

    Maybe your server is not configured properly to doing this, or also, you have got a broken download.

    Usually the problem you described above is generated by one or some plugin's conflict as cache, firewall, wp-sentinel, or also object caching.

    You can try to install plugin directly from your dashboard->install plugin panel by searching "author advertising pro"...If this not work yet, please try to download the .zip file about lastest version here: http://downloads.wordpress.org/plugin/author-advertising-pro.5.1.0.zip

    So unzip it and try to upload manually via FTP to your /plugin folder, and then re-activate the plugin.

    I'll wait for your news about this issue.

  5. Paul
    Posted 3 years ago #


    Before I try this on my website, I tried it first on my local server. I tried everything you described, but it still crashes on activation.

    I get this error code:

    <b>Fatal error</b>: Call to undefined function kd_referral_custom_userpage() in <b>D:\server\root\wp-content\plugins\author-advertising-pro\referral-mode.php</b> on line <b>552</b>

  6. giangel84
    Plugin Author

    Posted 3 years ago #

    Ok, so there is an error! This is good.

    1) Then, open "referral-mode.php" by an text editor like Notepad++.
    2) Go to line 552 and delete it.
    3) Re-activate the plugin.

    Below here's the line 552 that you need to delete:

    echo '<textarea rows="4" cols="30" readonly><?php global $current_user; get_currentuserinfo(); echo kd_referral_custom_userpage($current_user->ID); ?></textarea>';

    Then I've an question: Why only Paul and testlink25 get tested this issue? Why your server interprets the code in the text-area such a php code and not such simple html code?

    I think because your php server is not updated.
    Are you using Apache? And which browser version?

    Thanks for your exp! :)

  7. Paul
    Posted 3 years ago #

    If I do the things you described I get this error code: Parse error: syntax error, unexpected $end in D:\server\root\wp-content\plugins\author-advertising-pro\quick-guide.php on line 17

    I brought the code back to its original, like I downloaded.

    Do I have to change something in php.ini before I even change anything in the code?

    This is my php.ini

  8. giangel84
    Plugin Author

    Posted 3 years ago #

    Ok, I'm not a true SysAdmin then I can not help you to read and setup your php.it but...I can help you in order to find what happens with the plugin.

    I think that your server has an older php compiler. Are you using Apache? If yes which version?

    Because all issues that you've identified are caused by a bad interpret about php code. Now I try explain to you why.

    "quick-guide.php" is a file that will contain some instructions which help users to configure the plugin.
    It will not be useful until next 5.1.1 version of plugin, when "quick-guide.php" will come with some updates.

    Maybe the error can be generated by line 14 about "quick-guide.php".

    So, try to substitute the tag "<?" with "<?php", save the file and try again to reactivate the plugin.

    The error "unexpected $end" should disappear, else try to delete all "quick-guide.php" file content and save it again.

    Obviously you must mantain the previous changes made to your "referral-mode.php" file. (deleting line 552).

    After this send me news about.
    No one has encountered the same errors, and there are more than 250 websites with this plugin activated and working! Please check your Php compiler version!

  9. Paul
    Posted 3 years ago #

    Ok giangel84,

    Problem solved.

    I installed XAMPP on my development pc. It is a more professional webserver than the one I used.

    I installed a clean WordPress and then I tried to download Author Advertising Pro. But it is gone!! I couldn't find it anymore. You removed it from the server. But I still had a copy from my old webserver. I made a copy to my new server, and I could activate it without error.

    Case closed

  10. giangel84
    Plugin Author

    Posted 3 years ago #

    I'm sorry about this inconvenience, the Plugin was temporarily removed from the repository to fix an issue.
    It will come back soon!

    I'm happy, your problem was resolved fine as I thought.

    Notice for other users: Make sure you're using always the last XAMPP apache/php server available! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Author Advertising Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic