santon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Cannot update 2.9.2 to 3.2.1SOLVED
The following lines in wp-config.php caused problem:
//-WP Tuner Plugin by MrPete------------ //-------------------------------------- $wpTunerStart = microtime(); // get start time as early as we can if ( function_exists( 'getrusage' ) ) { $wpTunerStartCPU = getrusage(); } @include_once(dirname(__FILE__).'/wp-content/plugins/wptuner/wptunertop.php'); // fire up WPTuner //-------------------------------------- //-END WP Tuner Plugin------------------
I removed them.
Forum: Fixing WordPress
In reply to: Comments disappearedI found a plugin caused that: WPML Multilingual CMS.
Forum: Fixing WordPress
In reply to: Unable to switch off post revisionsHas anyone found a fix for this?
I have 2 blogs on the same hosting with mostly identical wp-config.php files. Both having define(‘WP_POST_REVISIONS’, 3); line.
One blog stores only 3 revisions, as expected, the other blog keeps unlimited number of revisions!
I also found that on the buggy blog some pages have only 3 revisions, and other pages?— much more (and there are more revisions after every save operation).
Forum: Fixing WordPress
In reply to: Reply form moving script bug in IE8Oh, sorry!
I have already fixed the page by moving Reply form to the bottom. Now it is not overlapped when [Ответить] is pressed.
But I have recreated the old variant (Reply form at the top) by this link:
https://irma-otto.com/%d0%b3%d0%be%d1%81%d1%82%d0%b5%d0%b2%d0%b0%d1%8f-%d0%ba%d0%bd%d0%b8%d0%b3%d0%b0/?formtopSo you can test it in IE8: press the red link [Ответить] at the bottom-right corner of any comment.
In fact I want to have Reply form at the top. So, as soon as I found a fix, I will make this variant default.
Forum: Fixing WordPress
In reply to: Syntax highlighting disappeared after 2.8 -> 2.8.1 upgradeThank you.
In fact, I do not need in syntax highlighting. But disappearing of this function make me thinking that my blog upgraded incorrectly ??
For everybody who have this error. Here is my advice.
Add the following line to the beginning of your wp-config.php file:
<?php ini_set('zend.ze1_compatibility_mode', 0);
Forum: Themes and Templates
In reply to: Why almost all themes have fixed width?I’m not a designer, so it was hard for me to make a fluid layout.
So, I decided instead of this switch style when window width is more than 1230 pixels. I took Digg-3-Columns theme and highly modified it. That is what I have got: https://iproc.ru/interesting/hydro-history/ (try resising window above and below 1230 pixels width).
I thought that style switching is my original idea, but later I found this: https://www.alistapart.com/articles/switchymclayout
??Forum: Themes and Templates
In reply to: How to get value of Template Tag?Excellent!
Forum: Themes and Templates
In reply to: How to get value of Template Tag?Thank you.
But what is the simple way of finding low-level routines for each high-level template tag function?
It will be good to add references to these routines to the ?See also? sections of the template tags reference info.
Forum: Plugins
In reply to: WP Super Cache: the longest page is not cachedIt was an error inside WP-Super Cache. Fixed.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Accepted Filenames & Rejected URIsThe correct rejected URIs are:
wp-.*\.php \.(?!php)
The correct allowed URIs are:
wp-comments-popup\.php wp-links-opml\.php wp-locations\.php
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Accepted Filenames & Rejected URIsI have solved the problem: these strings are regular expressions. So, the dot symbol matches any char!
So, the default values (like “wp-.*.php”) are incorrect: it should be “wp-.*\.php”. This was the first bug in WP-Super-Cache.
The second bug was in the source code that prevented from entering backslashes in the list.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Accepted Filenames & Rejected URIsMore precise: it adds
<!-- Page not cached by WP Super Cache. No closing HTML tag. Check your theme. -->
To the end of every file like myPaper.pdf, myProgram.cpp and others which people can download from my site. I added.h .zip .pdf
to the list of forbidden URIs for caching, but now all pages which contain letter ‘h’ in their name are not cached too ??
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Accepted Filenames & Rejected URIsI want to say “all files which PERMALINK contains letter h”
Forum: Plugins
In reply to: WP Super Cache: the longest page is not cachedOther pages are cached by Super Cache and loading fast.