Some folks are having trouble with my Link Harvest plugin not harvesting all their links. Since it works fine on all my test machines, I’ve added some logging to a special version to hopefully discover why it isn’t working for them.
To use this special debugging version you need to follow these steps:
- Install the plugin using the steps in the README.
- Create a aklh_log.txt file in your wp-content/plugins directory.
- Make the aklh_log.txt file writeable by your web server.
Now run enable the Link Harvest plugin and run it as described in the README - it will log actions to the file you created. Hopefully the log file will contain useful information to fix whatever is causing it to fail for some folks.
If you want to turn off the logging, open the link-harvest.php file in a text editor and change:
@define('AKLH_DEBUG', true);to:
@define('AKLH_DEBUG', false);on line 29.
Once you’ve generated a log from a failed harvest, let me know and we’ll work from there.
You can download the debug version here. This link will be dead when the debugging work is done.
Popularity: 5% [?]

Mads adds this Comment:
got the same problem but turned off bad behavior and ran it again and had no problems. When done turned BB on again. Dont know if BB was the bad guy.
February 27th, 2007 at 11:20 pm
skeddy adds this Comment:
Alex, just a quick note - the aklh_log.txt has to be in the same directory as the link-harvest.php file, otherwise you get a fatal error.
February 28th, 2007 at 1:25 am
Jeff adds this Comment:
Let’s see - step 1 is “Install the plugin using the steps in the README.” I see that says: “Put the ‘link-harvest.php’ file into your wp-content/plugins/ directory.”
Then step 2 is “Create a aklh_log.txt file in your wp-content/plugins directory.”
Looks like they should both be in the same directory if you follow the instructions. If you don’t follow the instructions and you get a fatal error, who is to blame?
February 28th, 2007 at 1:40 am
skeddy adds this Comment:
Well spotted - I hang my head in shame
February 28th, 2007 at 1:05 pm
Link Harvest 1.0 Debug Edition #2 | alexking.org adds this Pingback:
[…] logs coming in from the Link Harvest debug edition I released last night haven’t shown me anything conclusive […]
April 18th, 2007 at 12:36 pm
Link Harvest Debug Results | alexking.org adds this Pingback:
[…] debug versions of Link Harvest have yielded a mess of inconsistent data. It appears that the link harvest […]
April 18th, 2007 at 12:37 pm