Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)
  • Terry

    (@wherewillyoube)

    I checked my debug log and have similar issues: basically centering around the failure of semaphore lock:

    [SOCIAL - 2012-11-30 15:48:48 - 149.47.187.167] Running cron_15_init
    [SOCIAL - 2012-11-30 15:48:49 - 149.47.187.167] Running request: CRON/action_cron_15
    [SOCIAL - 2012-11-30 15:48:49 - 149.47.187.167] Attempting semaphore lock
    [SOCIAL - 2012-11-30 15:48:50 - 149.47.187.167] Semaphore lock failed. (Line 40)

    The overnight PHP error_log turned out to be 1.4GB big – so I’ll regenerate a smaller error_log and see how it goes.

    Terry

    (@wherewillyoube)

    Thanks for the reply, Alex.

    I just checked the debug output – 30 minutes has passed and nothing has happened:

    # Social Debug
    
    Current Time: 2012-11-30 00:26:52
    
    ## Software Versions
    
    MySQL:     5.1.65-cll
    WordPress: 3.4.2
    PHP:       5.3.13
    Social:    2.6
    WebServer: Apache
    
    ## Social options
    
    social_locked: 1
    social_unlocked: Doesn't Exist
    social_last_lock_time: 2012-11-29 23:49:42
    social_semaphore: 1

    The site has no other plugins running. I’ll check with my host if SSH access is possible.

    [Edit]: I have also turned on error logging, and will get back with the output when I wake up tomorrow 🙂 letting it run a few hours will probably generate more useful information.

    Terry

    (@wherewillyoube)

    I am experiencing the same problem experienced by weitbrec – however, manually fetching tweets work, it’s just that the 15-minute cron job doesn’t run at all.

    The debug message I got was:

    # Social Debug
    
    Current Time: 2012-11-26 17:11:21
    
    ## Software Versions
    
    MySQL:     5.1.65-cll
    WordPress: 3.4.2
    PHP:       5.3.13
    Social:    2.6
    WebServer: Apache
    
    ## Social options
    
    social_locked: 1
    social_unlocked: Doesn't Exist
    social_last_lock_time: 2012-11-26 16:45:09
    social_semaphore: 1

    Thread Starter Terry

    (@wherewillyoube)

    Okay, I just realized I had a big brain fart. Why on earth did I change the root directory of the wildcard DNS 😛

    It should be just /public_html/

    And it worked like magic 😀

    Terry

    (@wherewillyoube)

    So far only using the author specific URL is working for me, even when I’m the admin. When I try to use my main site URL as an openid, it simply doesn’t work (it says “could not find OpenID server at [blog root url]”)

    I used to have this in my header.php file:

    <link rel="openid2.provider" href="http://www.teddy-o-ted.com/openid/server" />
    <link rel="openid2.local_id" href="http://www.teddy-o-ted.com" />
    <link rel="openid.server" href="http://www.teddy-o-ted.com/openid/server" />
    <link rel="openid.delegate" href="http://www.teddy-o-ted.com" />

    But then it also screws up the author OpenID authentication.

    Terry

    (@wherewillyoube)

    Sorry for the late reply, I was browsing through the forum and found your problem unresolved.

    You can use <?php in_category('ID') ?> or <?php in_category('category-slug') ?> to select the category you would want to 🙂

    For more information on how to use it, refer to this entry in the codex.

    Terry

    (@wherewillyoube)

    Oh, to make it clickable, just change the <div id=”header”> to <div id=”hedaer” onclick=”location.href='<?php bloginfo(‘home’) ?>'”>

    To remove the text, use the text-indent property for Header 1:

    #logo h1 {
    text-indent: -9999px;
    }

    p/s: Please don’t paste the whole style sheet next time. Just the relevant sections will do.

    Forum: Fixing WordPress
    In reply to: multi blogs
    Terry

    (@wherewillyoube)

    My recommendation is not to jump to WPMU if it’s not necessary. You can always have multiple installation of WP on the same domain. WPMU requires a community spirit, constant care and maintenance from the webmaster, so you have to do some evaluation and careful thinking before installing WPMU.

    For the stagnant pages to have different themes, you can actually create a theme file for them. Try looking at page.php (that’s the default template for a page) and you can copy the code and modify it from there, save it as another name such as about.php. Don’t forget to replace the first few lines of the page template with:

    <?php
    /*
    Template Name: About Page
    */
    ?>

    (or any other name you wish to call the template) Changing the template name allows you to identify the template you’re using. It is accessible on the right sidebar when you’re on the ‘Create a Page’.

    Thread Starter Terry

    (@wherewillyoube)

    Wow, thank you so much! It worked like a charm… I never knew you can use conditional comments in the loop as well. Thanks again!

    Thread Starter Terry

    (@wherewillyoube)

    My bad! I checked with my host and they said that the server was having hiccups and the PHP memory limit was temporarily lowered. I guess that lead to the malfunctioning of the commenting system. Now it’s all clear 🙂

    Terry

    (@wherewillyoube)

    Post, pages, comments, settings and etc are all not stored as files that are downloadable off the server through FTP – instead, they are stored into packets of data called databases. You will have to download the database of your blog and restore it later.

    The WordPress panel is referring to the possibility that you might have exported your WordPress contents (posts, pages etc) in a WXR file and requests you to reimport them to restore your blog. Since you’ve deleted the old blog, I doubt there’s anyway to recover the WXR file but you can check with your host whether do they have a backup copy.

    Alternatively, access your cPanel and download the MySQL database for your old blog, and upload it again and edit your wp-config.php accordingly.

    Terry

    (@wherewillyoube)

    Thanks for the fix gregclow! It’s a brilliant workaround, I should have thought about that! 😀 I just realised today that for comments placed in the pending queue for the same post, some can be approved just by clicking the green ‘Approve’ link while some needs to be edited (or they’ll get stuck in the Pending list forever). This is weird.

    Terry

    (@wherewillyoube)

    For starters, you might want to try assigning the following paramaters to the class .avatar (by default WordPress gives img tags of avatars with a class called ‘avatar’.

    img.avatar {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

    And to prevent the avatar from eating into the entry, clear the float for the ‘entry’ div:
    div.entry {
    clear: both;
    }

    See if it works 🙂

    Terry

    (@wherewillyoube)

    Yep precisely. We’re not being mean, but not using the Search function and post meaningless question that hog the precious WordPress.org system resources is a definite no-no. Haven’t the ‘search before you post’ rule in effect for most forums online?

    Plus, thisisedie is right about favicon having nothing to do with WordPress. There are a hell lot of favicon tutorials out there. Looks like he didn’t even bother to Google it. Wow.

    Terry

    (@wherewillyoube)

    Won’t you just follow the link whooami gave you? And read it? Instead of just complaining and whining of why the answer wasn’t SPOON-FED to you. Come on, you’re not a toddler. Learn how to feed yourself instead of being fed.

    I’m wondering if you had a IQ=0 moment.

    [Edit]: Just read Whooami’s comment. Nice one! 😀

Viewing 15 replies - 1 through 15 (of 27 total)