• I have just installed Link Harvest 1.0 by Alex King
    I am running WP2.1.1
    A while after starting harvest I am getting this error message:

    The link harvest failed, make sure you have harvesting enabled in your options.

    Harvest actions are enabled, prototype.js is on its place.

    Any help?

Viewing 15 replies - 16 through 30 (of 34 total)
  • At my blog harvesting stops at post 75 of 107. According to the log file it’s a post with loads of links. Is there a limit to the number of links in one post?

    From the logs I’m seeing I believe there are a variety of reasons that harvesting fails mid-stream:

    • Too many links in a post (or similar) exhausts the memory available and the script dies.
    • Trying to check a .mp3 or .mov for a page title uses up too much memory or times out.
    • Bad Behavior begins blocking the AJAX requests.
    • etc.

    I’m not sure how many of these I’ll be able to work around.

    I don’t know if it’s coincidental or not, but my harvest also tops out at the 75 mark.

    Furthermore, I get this error when saving a post and debug V2 is activated:

    Warning: strstr() [function.strstr]: Empty delimiter. in /~/wp-content/plugins/link-harvest.php on line 305
    
    Warning: strstr() [function.strstr]: Empty delimiter. in /~/wp-content/plugins/link-harvest.php on line 305
    
    Warning: Cannot modify header information - headers already sent by (output started at /~/wp-content/plugins/link-harvest.php:305) in/~/wp-includes/pluggable.php on line 275

    I dont want to be negative, but are there people out there that had no problems using this plugin?

    @pig- You’re not negative, you’re rude. Do you point out the obvious to every person that’s spent time and effort into a problem.

    @everyone-else
    Thanks Alex. I’m thinking the same thing happened to me although very coincidental that it’s failing on post 75.

    I worked around the problem by deleting the first 75 posts then another 100 and it finally completed. Tedious but worked. I then took those tables from my dev environment and imported them into production. A time filled process but it was easier then going through all my posts. Also, it’s works out since I don’t care for my extremely old irrelevant links anyways.

    Thanks again.

    Sheesh. I am sorry. I was just curious to know the people that had it working. Perhaps they knew something we didn’t. Just trying to be helpful.

    No harm intended, Alex. Your plugins are quite helpful and I did not mean what DanCameron insinuated.

    @pig
    I sincerly apoligize. I totally just misread your comment as, “there are people out there that have had no…”. I’m transposing my words again and confused with simple puncuation like a ?.

    That’s actually a good question, so we can trouble shoot better but I think Alex nailed the problems in his last comment.

    To Pigzen: Yup: it works. My smaller blog of 42 posts is just fine. I’m not going to try it on my blog with 550 posts.

    Update: on my larger blog I was able to get through 405 posts before it died on me. The first try it only got through 225 posts and I removed the links from the page that had about 40 links in it. Second time I removed links from the last post with about 7 links, about 5 of them redundant. However, it’s still stopping on that post. I can’t figure out why.

    At any rate – because it didn’t get all the way thought the process, it won’t be updating as future posts are added. I’ll have to keep trying.

    Alex – I’ll send you the 3 log files if you’re interested, but I don’t think there’s much in there to diagnose from.

    sorry – last update – it worked and completed harvesting all links. over 400 pages and posts. Now to see if it will update links as I post them. I have many future dated posts out there and will be curious to see if the logic is in the program.

    Thanks Alex for this wonderful program. It’s both very cool and innovative.

    I am having a different Link Harvest problem, but I figured I would post it here since Alex is visiting :). When using the ###linkharvest### feature, and clicking on the “Show Links” expansion, links that do not have titles, but only show URLs can distort the size of the table by pushing everything to the right. Can someone point to a line in the code where I can add some sizing attribute to stop this, and perhaps tell me what to add too?

    I took a look at the debug log after a stall. As has been mentioned, LH seems to choke on mp3 links.

    Mine is also going dead after a few pages ?? when do expect an updated version that will work? If it works it’s a great plugin!

    Got mine working by modifying my php.ini file and increasing the following options:

    max_execution_time = 90     ; Maximum execution time of each script, in seconds
    max_input_time = 120	; Maximum amount of time each script may spend parsing request data
    memory_limit = 16M      ; Maximum amount of memory a script may consume (8MB)

    Those numbers are what worked for me. This is what I had when it was failing:

    max_execution_time = 30     ; Maximum execution time of each script, in seconds
    max_input_time = 60	; Maximum amount of time each script may spend parsing request data
    memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

    I have a completely different Problem. My Blog is in German and Italian, and as you maybe know we use some characters beyond ASCII 127 – ? ? ü ? ? ü é …

    So it’s not unusual that pages to whom I link have this characters in the page title.

    The Plugin does the harvest correctly, and puts the title with the special characters in the database, but does not show them correctly on the link list.

    Is there a way to let the plugin know, that it should use the UTF-8 codepage? Or is there a work-around?

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘Link Harvest Problem’ is closed to new replies.