WordPress.org

Ready to get started?Download WordPress

Forums

Affiliate Hoover
[resolved] Error when activating (16 posts)

  1. joemillano
    Member
    Posted 2 years ago #

    Hi ,

    Love the idea of this plugin - However installed and get the following on activation:

    Fatal error: Cannot redeclare class pagination in /home/goalpost/public_html/wp-content/plugins/affiliate-hoover/libs/pagination.class.php on line 2

    Cheers
    Stephen

    http://wordpress.org/extend/plugins/affiliate-hoover/

  2. AndyWalpole
    Member
    Plugin Author

    Posted 2 years ago #

    oh dear, that is a third-party library that I used to create the pagination. This most probably means that another addon is using the same library, hence the "cannot redeclare class pagination" warning.

    hmmm, I'll see if I can come up with a solution

  3. AndyWalpole
    Member
    Plugin Author

    Posted 2 years ago #

    try version 1.04

    I've renamed the pagination class so hopefully that would have stopped the clash

  4. joemillano
    Member
    Posted 2 years ago #

    Hi Andy ,

    you are a star - No errors.

    I will report back anything I find :-)

    Cheers!
    Stephen

    On a complete side - Affiliate Window for example sends the CSV out compressed...

    I wonder if you could look at "unzip feed" option - found this - http://www.timlinden.com/blog/website-development/unzip-files-with-php/

    In the meantime , I am using cronjob to download the zip , then scripting unzip

  5. AndyWalpole
    Member
    Plugin Author

    Posted 2 years ago #

    Sure I'll take look into it.

    There are unzip functions in the module already for ZIP and GZIP so should be reasonably easy to add the feature for file uploads

  6. joemillano
    Member
    Posted 2 years ago #

    Dont worry about it too much :-) Just a thought. Im sure there is enough hard work gone into this plugin as it stands mate.

    Cheers
    Stephen

  7. joemillano
    Member
    Posted 2 years ago #

    Hi Andy ,
    just something I noticed , I couldnt logon via
    website.com/wp-admin ( blank screen so errs ) so I disabled the last plugin I had installed ( via phpadmin - no other way in..)

    I disabled Affiliate Hoover and was then able to get in...weird.

    Also noticed that I could still get in using wp-login.php page direct instead...

    Just fyi ..

  8. AndyWalpole
    Member
    Plugin Author

    Posted 2 years ago #

    That is weird. I have no explanation for that.

    When I go to website.com/wp-admin and I'm not logged in it automatically redirects to website.com/wp-login.php with the AH hoover installed

  9. AndyWalpole
    Member
    Plugin Author

    Posted 2 years ago #

    Just as another point

    If you have an Affiliate Window URL for a CSV file in either GZIP or ZIP then cut and pasted it into 'The URL of the feed' field on the upload page and then click save changes (this is instead of manually uploading a file).

    What should happen next is that it un-ZIPs / GZIPs the CSV file and then it is ready to go for the next stage.

    If it doesn't do that then can you let me know because that means there is a bug that needs fixing

  10. joemillano
    Member
    Posted 2 years ago #

    Hi Andy ,
    I created a blog from scratch using a "Dormant" domain I have.

    Installed Affiliate Hoover and get the following:

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/xxxxxxxx.co.uk/wp-content/plugins/affiliate-hoover/home.php:77) in /home/xxxxx/public_html/xxxxxx/wp-includes/option.php on line 563

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/xxxxx/wp-content/plugins/affiliate-hoover/home.php:77) in /home/xxxxx/public_html/jxxxx/wp-includes/option.php on line 564

    This appears on each Admin page.

    I will test using URL direct anyway and see how it goes.

    Cheers!

  11. joemillano
    Member
    Posted 2 years ago #

    Added name of a feed , saved got the following:

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/xxxx/wp-content/plugins/affiliate-hoover/home.php:77) in /home/xxxx/public_html/xxxxwp-content/plugins/affiliate-hoover/model/Form_Model_Beta.php on line 1957

    I will just keep posting any findings to help out :-)

  12. AndyWalpole
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry, I've been busy elsewhere over the last couple of days

    Needless to say, that shouldn't be happening

    I can't replicate those errors on my server

    I know what is causing it - those lines of code were put there to prevent conflict with another addon

    Try version 1.08 and see if that rectifies the issue

  13. AndyWalpole
    Member
    Plugin Author

    Posted 2 years ago #

    actually, not 1.08, 1.09 - the latest version

  14. sivakrishna
    Member
    Posted 2 years ago #

    I got error, like this

    Fatal error: Class 'Config\Configuration' not found in C:\xampp\htdocs\wpaff\wp-content\plugins\affiliate-hoover\home.php on line 37

    please help to me

  15. AndyWalpole
    Member
    Plugin Author

    Posted 2 years ago #

    The causes of that error are a total mystery as the class it says it can't find is loaded before in include_once ('config.php');

  16. AndyWalpole
    Member
    Plugin Author

    Posted 1 year ago #

    resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic