Scan old posts?
-
Would it be possible to add a feature to scan posts from before one installed the plugin so that images in older posts can be archived locally as well?
https://www.ads-software.com/plugins/qqworld-auto-save-images/
-
That’s weird, the post content so easy even don’t have image.
Now the newest version 1.5.6 released, i bet you would like the new features. welcome to test.
Thanks.
I think the one that didn’t have an image wasn’t the problematic one, but the one afterwards. It can be hard to tell which posts are actually causing problems because the ID numbers of those posts never appears. What would be good would be when, if a post is taking longer than expected to process, QQWorld asked the user if they would like to skip that one – or just automatically skipped it and then reported at the end which ones were skipped.
PS: Error message “Including remote images those not exist.” should say “Included image files that do not exist.” or “Includes links to image files that could not be found.” or simply “Has missing images.”
The test report was much helpful, I think i’ve solved this problem in 1.5.7.
Also thank you for correcting my English mistakes.
In 1.5.7 it still seems to stall indefinitely when it hits something it can’t process.
I’m happy to continue to help testing this. I am using it on a test install, not the actual website till the issue is worked out.
That’s great, Thank you.
Seems debug system is necessary.
I created a debug system in 1.5.7.1, i hope it can catch the error, It’s now your turn.
If the system encountered error and caught nothing, could you send your database to me?
My email: [email protected]
It gave me this reply:
May be a problem with some posts: 3022, 3034, 3061, 3073, 3075, 3084, 3093, 3103, 3115, 3145
readyState: 4
responseText:
Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, www@ and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
status: 500
error: Internal Server ErrorI went back and did this range as a manual scan. Of these, only 3115 actually had an image. When I tried that one manually it gave me the same message with only that ID listed.
This is useful for me. I am unable to figure out what is wrong with that post, but at least I can skip it and keep a record of what posts are causing problems. Thanks.
Error message “Including remote images those not exist.” should say “Included image files that do not exist.” or “Includes links to image thue vps files that could not be found.” or simply “Has missing images.”
I tried a larger scale test of the new bug reporting. My goal is to scan all entries, skipping the ones that are causing problems and making a note of them. However, the current implementation of the plugin makes it difficult. If I start at the beginning and try to scan all of the posts (in increments of 10) it goes until it gets an error (the same one that appears above) and then stops. Actually, the error is only caused by 1 of the 10 entries listed there, but that isn’t a big problem. What is a problem is trying to complete the task after this is done. I’m simply not clear how to proceed? The thing is that “offset” interface currently wants the post number but the bug report gives me the post ID. This is a problem because there are posts with higher “post numbers” that have lower “post ID.” It would be best if I could start at the last post number after the error happened, but unfortunately the error report clears the list and so I can’t see where the process ended.
Short version: is it possible to get the error report to also list the post number (as well as the IDs)?
1.5.7.2 released. The new debug system can pass errors let process go to the end
I suggest set speed to 1 for debug.
The server encountered an internal error or misconfiguration and was unable to complete your request.
I’m interesting in what post contents was could made this happened.
The server encountered an internal error or misconfiguration and was unable to complete your request.
I’m interesting in what post contents was could made this happened.
Here is the raw code of the post linked above:
The link again:
https://savageminds.org/2010/01/20/place-hacking/
I removed the [gallery] shortcode (which is outdated?) and also ran the page through a filter to remove all the span elements and embedded style information. I suspect this will fix the problem, but I’m waiting for the 1.5.7.2 run to complete and it will take a while…
So 1.5.7.2 finished its run. Two important notes:
1. It didn’t finish – it still stopped with 3115. This is true even though I cleaned up the code in 3115. I suspect there may be a database error. I will try to run some DB maintenance on my MySQL database to see if that helps. Still not clear what the post number (as opposed to the post ID) is of this entry.
2. I really like that my list was not cleared. I can now see that many posts contain missing images. It would be nice to have a concise report with these posts listed, as it can be hard to see them among the hundreds of posts that were scanned.
3. All of this information is really useful. Running a WP site over time leads to some problems and it is great to be able to go back and debug them like this. You might consider adding checking for broken links and release something like this as a general WP debugging/maintenance plugin.
- The topic ‘Scan old posts?’ is closed to new replies.