f0rud
Forum Replies Created
-
And some how, in rtl weblogs like mine, the code shown in right to left ?? but in old version it was ok, I made many change to css to fix this problem.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Warning that “pages do not match. timestamps differ”I fix my problem.
There is
$wp_cache_slash_check=1;
In my wp-cache-config.php file. but in
wp_cache_serve_cache_file()
function, its undefined! (I know its a global variable and there is a global declare of this in begin of function but ….)
And since I use 404 handler instead of .htaccess file, the last check fail ?? so I set $wp_cache_slash_check=1; in begin of the function and anything is ok right now.Forum: Plugins
In reply to: [Plugin: WP Super Cache] Warning that “pages do not match. timestamps differ”It must be a meta file per every cache ?
I change the code a bit (on serve function):$tmp=wp_super_cache_init() ; extract( $tmp ); foreach ($tmp as $_kk=>$_vv){ wp_cache_debug( "(Mine)=>$_kk : $_vv", 5 ); }
and the result is :
08:24:08 /564/a-small-tip-in-php/ (Mine)=>key : 221fa6f46b2eed9ea4f78b57633b1259 08:24:08 /564/a-small-tip-in-php/ (Mine)=>cache_filename : wp-cache-221fa6f46b2eed9ea4f78b57633b1259.html 08:24:08 /564/a-small-tip-in-php/ (Mine)=>meta_file : wp-cache-221fa6f46b2eed9ea4f78b57633b1259.meta 08:24:08 /564/a-small-tip-in-php/ (Mine)=>cache_file : 08:24:08 /564/a-small-tip-in-php/ (Mine)=>meta_pathname :
No cache file and no meta path name. Why? is this ok?
I’m going to check other functions.
Any advice on where I should lock?Forum: Plugins
In reply to: [Plugin: WP Super Cache] Warning that “pages do not match. timestamps differ”I get the same error here, but the log is different.
06:39:08 /564/a-small-tip-in-php/ supercache dir: ...../cache/supercache/cyberrabbits.net/564/a-small-tip-in-php/
06:39:08 /564/a-small-tip-in-php/ No wp-cache file exists. Must generate a new one.
06:39:09 /564/a-small-tip-in-php/ In WP Cache Phase 2
06:39:09 /564/a-small-tip-in-php/ Setting up WordPress actions
06:39:09 /564/a-small-tip-in-php/ Created output buffer
06:39:09 /564/a-small-tip-in-php/ supercache dir: ....../cache/supercache/cyberrabbits.net/564/a-small-tip-in-php/
06:39:10 /564/a-small-tip-in-php/ Output buffer callback
06:39:10 /564/a-small-tip-in-php/ supercache dir: ....../cache/supercache/cyberrabbits.net/564/a-small-tip-in-php/
06:39:10 /564/a-small-tip-in-php/ Anonymous user detected. Only creating Supercache file.
06:39:10 /564/a-small-tip-in-php/ supercache dir: ....../wp-content/cache/supercache/cyberrabbits.net/564/a-small-tip-in-php/
06:39:10 /564/a-small-tip-in-php/ Gzipping buffer.
06:39:10 /564/a-small-tip-in-php/ Writing non-gzipped buffer to supercache file.
06:39:10 /564/a-small-tip-in-php/ Writing gzipped buffer to supercache file.
06:39:10 /564/a-small-tip-in-php/ Renamed temp supercache file to ..../wp-content/cache/supercache/cyberrabbits.net/564/a-small-tip-in-php/index.html
06:39:10 /564/a-small-tip-in-php/ Renamed temp supercache gz file to ...../wp-content/cache/supercache/cyberrabbits.net/564/a-small-tip-in-php/index.html.gz
06:39:10 /564/a-small-tip-in-php/ Writing gzip content headers. Sending buffer to browser
The problem is, the cache generated, (OK) the file is there, but with any new request, the plugin create cache again and I see the above note again and again in log file.
I think there is problem with IIS , (I use PHP option, not mod_rewrite or legacy )
any idea how I can fix this? even with editing plugin to work with IIS ..
ThanksAnd at last I change the link structure ??
I think WP_Query has problem with this type of uniq linkI check the plugin and monitor the queries :
Normal front page query :SELECT SQL_CALC_FOUND_ROWS wp_posts.*, yarpp.score FROM wp_posts join wp_yarpp_related_cache as yarpp on wp_posts.ID = yarpp.ID WHERE 1=1 AND yarpp.score >= 5 and yarpp.reference_ID = 430 AND wp_posts.post_type IN ('page', 'post') ORDER BY yarpp.score DESC limit 5
But check the “Page” query :
SELECT SQL_CALC_FOUND_ROWS wp_posts.*, yarpp.score FROM wp_posts join wp_yarpp_related_cache as yarpp on wp_posts.ID = yarpp.ID WHERE 1=1 AND yarpp.score >= 5 and yarpp.reference_ID = 430 AND wp_posts.post_type IN ('page', 'post') AND wp_posts.post_date >= '2010:08:13 00:00:00' AND wp_posts.post_date < '2010:08:14 00:00:00' ORDER BY yarpp.score DESC limit 5
Never select a row because of
wp_posts.post_date >= '2010:08:13 00:00:00' AND wp_posts.post_date < '2010:08:14 00:00:00'
But wordpress has no problem to show the post.
So I think its a problem on select current post on YARRPThanks for your reply. I try to find the problem ??
I think this is a bug, how I can report this??
for example this to link are to same post :
related post are ok :
https://cyberrabbits.net/?p=411No related post :
https://cyberrabbits.net/1389/05/12/mysql-menu-part-3/Hi again ??
As you can see my problem not solved (I can’t see any related post in “post page”)
I found this is beacuse I use my custome unique link structure:/%year%/%monthnum%/%day%/%postname%/
I use IIS and an error document to use this type of links.
If I use default type of link, anything is ok.Why?
And the related posts are ok in feed now.
Thanks.
Yes, table has about 30 record. and the other thing , about put the code manually in template , and now its VERY FUNNY!!
I have the related posts on the front page (like cat pages or tag pages where the post are not complete, and you should click on more) and the data are OK. but in post page I have two ” Related Post not found” and this is not what i expected. I change the setting to remove the “auto” insert of related tag.
The problem not solved. I have related on front page but not in the real post. and the plugin shows not found in the post page. “Not found” and no “Show nothing at all” it show somthing and that thing is “Not found any post”Sorry if my English is so bad ??
No error. not in log , not in page. I think there is a problem in my server so I create a PHP file with some error (Div By Zero) and php show me the warning. so there is no error.
I think this is so rare ??
I use PHP 5.2.6 on IIS (hope this help )Yes. I have related post in edit post and new post -but no YARPP box in new/edit page – and I always get “there is no related post” on the blog.
After install , it said some thing about Innodb and myiasm , I fix that, then i copy the template (with some change only in message to be in my language not in php code)
I check the settings many times. There no ignored catagory , nor tag.
Once I disable all other plugins and no result.
If you need I can provide screen shotSorry for my not-good-English ??