[Resolved] [Plugin: Affiliate Hoover] Error when activating
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
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
try version 1.04
I’ve renamed the pagination class so hopefully that would have stopped the clash
Hi Andy ,
you are a star – No errors.
I will report back anything I find 🙂
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
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
Dont worry about it too much 🙂 Just a thought. Im sure there is enough hard work gone into this plugin as it stands mate.
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 ..
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
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
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.
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 🙂
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
actually, not 1.08, 1.09 – the latest version
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
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’);
- The topic ‘[Resolved] [Plugin: Affiliate Hoover] Error when activating’ is closed to new replies.