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.
This post is part of the thread: Content Presentation – an ongoing story on this site. View the thread timeline for more context on this post.
This post is part of the project: Link Harvest. View the project timeline for more context on this post.
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.
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.
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?
Well spotted – I hang my head in shame
[…] logs coming in from the Link Harvest debug edition I released last night haven’t shown me anything conclusive […]
[…] debug versions of Link Harvest have yielded a mess of inconsistent data. It appears that the link harvest […]