WordPress.org

Ready to get started?Download WordPress

Forums

Link Harvest Problem (35 posts)

  1. MarekKlein
    Member
    Posted 7 years ago #

    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?

  2. Alex King
    Member
    Posted 7 years ago #

    Are any links harvested?

  3. ComeOn
    Member
    Posted 7 years ago #

    Same issue for me... the counter never even starts counting... about one dozen links appear to have been harvested...

  4. piginzen
    Member
    Posted 7 years ago #

    I get about 75/1435 in to it. I've tried it about 5 different times. Also it never fails on the same block.

    Also using 2.1.1. And I checked my Server Loads and they were below 5 at the time of starting it and after I hit submit.

  5. Alex King
    Member
    Posted 7 years ago #

    Bummer. Don't know what to tell you guys - it works fine on my test boxes. Sorry it isn't working for you. Perhaps a script timeout issue or something...

  6. Alex King
    Member
    Posted 7 years ago #

    Lots of folks seem to be having trouble with this, I'll try to add some logging features or something when I get some roundtuit so we can see where/why it's failing.

  7. krypto
    Member
    Posted 7 years ago #

    Yep, same thing here (sorry for leaving comment on your site - didn't read post properly).

  8. Alex King
    Member
    Posted 7 years ago #

    I'm guessing there is some common thread in the content of your blogs that isn't in mine. It will be interesting to see what that is.

  9. Dan Cameron
    Member
    Posted 7 years ago #

    Thanks Alex, as you know I have the same issue.

  10. piginzen
    Member
    Posted 7 years ago #

    Thanks Alex.

    I love your plugins... I appreciate you spending the time to de-bug them for the rest of us!

    Danke.

  11. Alex King
    Member
    Posted 7 years ago #

  12. Dan Cameron
    Member
    Posted 7 years ago #

    Thanks for the debug.

    I'm not having any luck though. Mine keeps erring out around the same time no matter what post

    == Start processing post id: 201
    Found 1 links in post id: 201
    Processed link: http://www.apple.com/imac/
    About to add link for post id: 201 - http://www.apple.com/imac/
    Added link for for post id: 201 - http://www.apple.com/imac/
    == Done processing post id: 201

    == Start processing post id: 204
    == Done processing post id: 204

    Returning "75"

    I've deleted all the links in 204 to make sure it wasn't that and it erred out with this. I then deleted post 205 and it still borks out with this log.

    Still no errors.

  13. Dan Cameron
    Member
    Posted 7 years ago #

    Oh, but it doesn't give me an error anymore on the ak_action=harvest page. Instead the progress portion leaves and it says back to wordpress admin.

  14. Alex King
    Member
    Posted 7 years ago #

    Perhaps you'd like to send me the log?

  15. Dan Cameron
    Member
    Posted 7 years ago #

    IT should be in your inbox now.

    Thank you.

  16. Alex King
    Member
    Posted 7 years ago #

    I've posted a new debug version with more logging:

    http://alexking.org/blog/2007/02/28/link-harvest-10-debug-2

  17. julial49
    Member
    Posted 7 years ago #

    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?

  18. Alex King
    Member
    Posted 7 years ago #

    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.

  19. irregardless
    Member
    Posted 7 years ago #

    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
  20. piginzen
    Member
    Posted 7 years ago #

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

  21. Dan Cameron
    Member
    Posted 7 years ago #

    @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.

  22. piginzen
    Member
    Posted 7 years ago #

    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.

  23. Dan Cameron
    Member
    Posted 7 years ago #

    @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.

  24. doubledubs
    Member
    Posted 7 years ago #

    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.

  25. doubledubs
    Member
    Posted 7 years ago #

    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.

  26. doubledubs
    Member
    Posted 7 years ago #

    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.

  27. synasha
    Member
    Posted 7 years ago #

    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?

  28. FunkyDung
    Member
    Posted 7 years ago #

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

  29. Blogicle
    Member
    Posted 7 years ago #

    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!

  30. allaboutduncan
    Member
    Posted 7 years ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Topic