dnk6742
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Error on lines 295 and 457bernbe01, I really appreciate your help 🙂 Thanks! Sorry for the delay.
The point is that the copy ow WP I am running was installed in the way U described. More than, I reinstalled it couple of times in the same way.
Another seed of craziness is that there is a second site running the same WP on the same vhost – and it doesn’t have the problem.
And yes, I have already copied the engine files of one site to another, changing the .cfg – with no success, as U can see.
I suggest that we focus on the diagnostics of what goes wrong with the connection. That’s what I’ve got as a dump of raw_response of line 457:
URL:string(50) "https://api.wordpress.org/themes/update-check/1.1/" RAW_RESPONSE:object(WP_Error)#4259 (2) { ["errors":"WP_Error":private]=> array(1) { ["http_request_failed"]=> array(1) { [0]=> string(65) "Operation timed out after 3000 milliseconds with 0 bytes received" } } ["error_data":"WP_Error":private]=> array(0) { } }Meanwhile http://novorossinfo.org/wp.php
$url = 'https://api.wordpress.org/themes/update-check/1.1/'; print_r(get_headers($url));opens the same URL with the following result:
Array ( [0] => HTTP/1.1 200 OK [1] => Server: nginx [2] => Date: Sat, 28 Feb 2015 07:20:48 GMT [3] => Content-Type: text/plain; charset=utf-8 [4] => Connection: close [5] => X-Frame-Options: SAMEORIGIN )I can’t really figure out why this time-out occurs in the first case if in the 2nd it runs fine.
Thanks again.
Forum: Fixing WordPress
In reply to: Error on lines 295 and 457Thanks, bernbe01. I added the lines, no change so far.
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, true);
define(‘SCRIPT_DEBUG’, true);and still only the same error messages, no new information.
Forum: Fixing WordPress
In reply to: Error on lines 295 and 457And my situation is one of these…
This site is able to apply these updates automatically. Cool!
The point is, that it really does… The problem takes place with plugins and themes only.
Forum: Fixing WordPress
In reply to: Error on lines 295 and 457Thanks Matt,
obviously my hosters are more lazy than yours. I hope someone can at least highliht me the direction to the solution.Forum: Fixing WordPress
In reply to: Robots.txt `host` directiveFirst of all, thanks. Second, I believe this should be endine functionality, at least to certain extent.
But yes, thanks for the plugin again 🙂
Forum: Fixing WordPress
In reply to: Robots.txt `host` directiveThe first example crossing my mind is the situation when you can’t access FTP for whatever reason. In this case – and if robots.txt is written by WP – having an access to WP admin panel is enough.
Then, keep in mind that the directive “Ask search engines not to index the site” will not work if robots.txt exists.Forum: Fixing WordPress
In reply to: Robots.txt `host` directiveClaytonJames, thank you for reminding me of this 🙂
Having a hand-written robots.txt is a solution, yet that is ideologically wrong, as I can see.
This option is worth having, I think.Forum: Plugins
In reply to: [Events Manager ESS] End date is wrongly decodedHotfix for 0.9.8:
ESS_Import:910:
Date format isH-i-s, but it should beH:i:s. Strtotime doesn’t decode the time with dashes.Thanks.
Forum: Plugins
In reply to: [Events Manager ESS] The feed is doubling the eventsPlease consider fixing in 0.98 the error similar to one already fixed with URLs, where it was reprocessing htmlspecialchars:
FeedVaildator:1592:
), ENT_QUOTES, $charsetshould be replaced with
), ENT_QUOTES, $charset, FALSEThanks for the update.
Forum: Plugins
In reply to: [Events Manager ESS] ESS Feed incorrectly shows URLSo be it. Thanks for the fix!
Forum: Plugins
In reply to: [Events Manager ESS] Finding event category by slug is not always a good ideaIt concerns all sites where slugs are customized 🙂 Thanks.
Forum: Plugins
In reply to: [Events Manager ESS] End date is wrongly decodedIn my case the feed looks like:
<dates> <item type="standalone" unit="hour" priority="1"> <name>Date: 2013-11-22T11:00:00 03:00</name> <start>2013-11-22T11:00:00+03:00</start> <duration>2360</duration> </item> </dates>So,
unitis a part of item parameters. It is IMHO reasonable to make it mandatory element of a dates/item xml type for standalone events as well.Besides that, ESS_Feed.php:120 hard-codes the default duration in hours:
$duration_s = FeedValidator::getDateDiff( 'h', $event_start, $event_stop ); // number of seconds between two dates.I believe there are very few events that last less than one hour, not taking into account flashmobs and particle annihilations 🙂 Keep also in mind that the pludin itself doesn’t allow to schedule the event times up to seconds.
Forum: Plugins
In reply to: [Events Manager ESS] MORE tag is stripped – a mistake?Yes, actually, I do have a suggestion 🙂
I believe that sending <!–more–> in the feed text is reasonable – it substitutes the excerpt most of the times. In my opinion, it is good to strip the tag (or just ignore it) during the import, if user chooses to do so in the “options” tab. It will be way easier to make excerpts on a receiving side.
Forum: Plugins
In reply to: [Events Manager ESS] ESS Feed incorrectly shows URLAdding double_encode = false as fourth parameter to all htmlspecialchars () calls helps to fix the problem.
Forum: Plugins
In reply to: [Events Manager ESS] Error while syndicating feedsI replaced
if ( $child->$feed->count() > 0 )
withif ( count ( $child->$feed ) > 0 ). So far it works.