daymobrew
Forum Replies Created
-
I have this issue (though without the 404 errors) – single event page does not work.
I am happy to open a new thread if appropriate.Using EM 4.06 with WordPress 3.1.3 on Zeus/4.3 server on Linux. Zeus uses rewrite.script instead of .htaccess.
I have deactivated and reactivated the plugin and refreshed my permalinks (month and name type).My calendar page is:
http://www.irishtriathlon.com/index.php/event-detail/
Individual pages have urls like:
http://www.irishtriathlon.com/index.php/event-detail/event/credit-crunch-half-ironman-distance/
but clicking on them brings me to the calendar page.
I did create a ‘Event’ sub page of the ‘event-detail’ page but still does not work so I have deleted that sub page.Turning on EM_DISABLE_PERMALINKS gives working urls:
http://www.irishtriathlon.com/index.php/event-detail/?event_id=14Forum: Plugins
In reply to: [WP-Ad-Manager] [Plugin: WP-Ad-Manager] Clicks zeroed on page loadI have looked at my home-made administer log file a few times. Sometimes $administer_stats only has one element but can have 7 elements and I even saw impressions being recorded for one ad.
For example, here is the first bit of my log – note that in one instance $administer_stats has 6 elements, one element in the next and then back up to 2 and then 1 and then 7!
Array ( [0] => Array ( [i] => 1 ) [4] => Array ( [i] => 2 ) [1] => Array ( [i] => 2 ) [5] => Array ( [i] => 2 ) [3] => Array ( [i] => 2 ) [6] => Array ( [i] => 1 [c] => 1 ) ) Array ( [6] => Array ( [c] => 1 ) ) Array ( [6] => Array ( [c] => 1 ) [2] => Array ( [c] => 1 ) ) Array ( [14] => Array ( [c] => 1 ) ) Array ( [6] => Array ( [i] => 1 [c] => 1 ) [2] => Array ( [i] => 1 ) [4] => Array ( [i] => 2 ) [5] => Array ( [i] => 2 ) [3] => Array ( [i] => 2 ) [0] => Array ( [i] => 1 ) [1] => Array ( [i] => 1 ) )Maybe WordPress is caching data from the db and this is messing things up.
Forum: Plugins
In reply to: [WP-Ad-Manager] [Plugin: WP-Ad-Manager] Clicks zeroed on page loadI deactivated the plugin and cleared the wp_postmeta info and then reactivated but no change.
I added some code to administer_do_redirect() to write $administer_stats to a file before doing the redirect. It only records one element for each click e.g.
Array ( [15] => Array ( [c] => 1 ) )My code is:
$ams_handle = fopen("administer.log", "a"); if ($ams_handle) { fwrite($ams_handle, print_r($administer_stats, TRUE)); fclose($ams_handle); }Forum: Plugins
In reply to: [WP-Ad-Manager] [Plugin: WP-Ad-Manager] Clicks zeroed on page loadIt’s bizarre – when I look at administer_stats in wp_postmeta, the unserialized data does not have a ‘c’ (clicks) element. It does have the ‘i’ element
When I create my own $administer_stats array, with ‘i’ and ‘c’ elements and update the wp_postmeta entry, it is soon overwritten by the plugin and replaced with an empty value or serialized data that does not have a ‘c’ element.
BTW, the data written by the plugin is:
$stats[$ad_id][i] = 1
for all the active ads. The impressions/clicks are displayed as zero in the WP Ad Manager Content tab.I might simply deactivate the plugin, clear the db of administer data and start again.
Forum: Fixing WordPress
In reply to: How to troubleshoot auto upgrade problems@daisymariposa: Yes
Forum: Fixing WordPress
In reply to: How to troubleshoot auto upgrade problems@root: It does have a css folder:
http://core.svn.wordpress.org/tags/3.0.3/wp-admin/css/theme-editor.dev.css@daisymariposa: I got the same error trying 3.0.2 to 3.0.3.
I realise that many/most people will not have problems. I am looking for debugging suggestions.
The “Could not copy file” error is from copy_dir() function in wp-admin/includes/file.php.Forum: Installing WordPress
In reply to: Upgrade from 3.0.2 to 3.0.3 with just the four changed filesThat is what I did to do the upgrade – I just FTP’d those four changed files.
Forum: Fixing WordPress
In reply to: get_the_category returns category for a pagePerfect solution, thank you.
Forum: Plugins
In reply to: [Plugin: WordPress Popular Posts] Summary does not appearAside: I think that do_pattern=1 should be implied when pattern_form is used and excerpt_length=55 (the default) should be implied when {summary} is specified in pattern_form.
Is this possible? (It might require that pattern_form not have a default in wpp_shortcode()).
Also, do you plan to use post-thumbnails for the wpp thumbnail? (or is complicated because you aren’t using a standard loop to get post info)
Forum: Plugins
In reply to: [Plugin: WordPress Popular Posts] Summary does not appearI added
excerpt_length=55to the page shortcode and{summary}is now appearing.My page shortcode is now:
[wpp range="all" cats_to_exclude="3,28,25,19" pages=0 order_by="views" wpp_start='<div class="popular-posts">' wpp_end="</div>" stats_comments=0 thumbnail_width=100 thumbnail_height=100 post_start='<div class="popular-post">' post_end="</div>" do_pattern=1 pattern_form="{image}<h2>{title}</h2><p>{summary}</p>" excerpt_length=100]I added excerpt_length=100 and changed pattern_form to pattern_form=”{image}<h2>{title}</h2><p>{summary}</p>”
Forum: Plugins
In reply to: [Plugin: WordPress Popular Posts] Summary does not appearThanks for do_pattern info. Can you add a note about do_pattern to the pattern_form help info in wordpress-popular-posts.php. I can submit a diff patch to you.
I have added do_pattern=1 but still no change.
http://www.valueseekers.ie/most-popular-offers/
I added text to the Excerpt box for the “Special beer offer at Tesco” but still nothing on the page.My page shortcode now has:
[wpp range="all" cats_to_exclude="3,28,25,19" pages=0 order_by="views" wpp_start='<div class="popular-posts">' wpp_end="</div>" stats_comments=0 thumbnail_width=100 thumbnail_height=100 post_start='<div class="popular-post">' post_end="</div>" do_pattern=1 pattern_form="{image} {title}: {summary}"]I am using a different class for wpp_start and post_start: popular-posts vs popular-post (plural and singular). This is to allow styling of the area outside the posts.