Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter piriet

    (@piriet)

    Esmi – thanks!

    Thread Starter piriet

    (@piriet)

    Hi esmi,

    Apologies for the confusion! My use of the word header was a general reference to the appearance of the top of the site. In that initial post I was describing that I’d changed the top of the site (header) via the style.css file, not through the header.php file … the actual change being what I described in my last post:

    in style.css
    #site-title {
    float: left;
    font-size: 0px;
    line-height: 0px;
    margin: 0 0 18px 0;
    width: 700px;

    in light of that, i am assuming that because the header.php file hasn’t changed, that I need to put that code (above) in the stylesheet – this has been done

    You also need to to place your modified twentyten_posted_on() function in the child’s functions.php file – OK great, thanks, done

    And copy the style.css changes over to the child’s stylesheet. (assuming this is related to the code above)

    The final block of code appears to have come from content.php – so you’ll need a copy of that in the child too.
    – the child theme does not have an existing content.php file
    Do I create one?

    many thanks for your patience esmi.
    Stephanie

    Thread Starter piriet

    (@piriet)

    Hi esmi,

    i didn’t change the header.php file though – do i still need to copy it? and i am assuming by that you mean via FTP…

    these are my changes i made and where I made them:

    in functions.php
    function twentyten_posted_on() { }

    in style.css
    #site-title {
    float: left;
    font-size: 0px;
    line-height: 0px;
    margin: 0 0 18px 0;
    width: 700px;

    and finally I removed this: (but i don;t know now if it was from the style or the functions file … and also not sure why it didn’t remove the metadata from the bottom of the posts on the homepage which is all i really wanted to do.)

    // Retrieves tag list of current post, separated by commas.
    $tag_list = get_the_tag_list( ”, ‘, ‘ );
    if ( $tag_list ) {
    $posted_in = __( ‘This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.’, ‘twentyten’ );
    } elseif ( is_object_in_taxonomy( get_post_type(), ‘category’ ) ) {
    $posted_in = __( ‘This entry was posted in %1$s. Bookmark the permalink.’, ‘twentyten’ );
    } else {
    $posted_in = __( ‘Bookmark the permalink.’, ‘twentyten’ );
    }
    // Prints the string, replacing the placeholders.
    printf(
    $posted_in,
    get_the_category_list( ‘, ‘ ),
    $tag_list,
    get_permalink(),
    the_title_attribute( ‘echo=0’ )
    );

    Stephanie

    Thread Starter piriet

    (@piriet)

    OK, thanks Esmi. how do I do that?
    S

    Thread Starter piriet

    (@piriet)

    update:

    found this advice from a previous string (below)and tried to fix but wp-config.php is already set to 644 and I cannot find a file called ‘update-links.php’ … perhaps this file is no longer used?

    my host is iPage, i will be contacting them about it – AGAIN but if anyone has any ideas …. thanks!

    —–

    this is an edited version of the conversation of the same issue two years ago:

    WordPress ? Support ? How-To and Troubleshooting

    [resolved] Warning: require_once wp.load

    alexjmann
    Member
    Posted 2 years ago #

    My site went from working to not working, literally overnight. I woke up in the morning and tried to log on to my dashboard, and received this error:

    Warning: require_once(/home/alexjmann/alexjmann.com/wp-config.php) [function.require-once]: failed to open stream: Permission denied in /home/alexjmann/alexjmann.com/wp-load.php on line 27

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/alexjmann/alexjmann.com/wp-config.php’ (include_path=’.:/usr/local/php5/lib/php:/usr/local/lib/php’) in /home/alexjmann/alexjmann.com/wp-load.php on line 27

    I’ve made major edits to the CSS, so I’d like to avoid replacing all of the files. Help would be appreciated.

    If we are all on Dreamhost, it could be a problem with their apache settings or php library or how they run php as cgi…. I’m resolved. The issue was on Dreamhost’s end.

    Dreamhost says: “Sorry for the trouble. The issue was One-Click related. A push out inadvertently changed the permissions on wp-config.php. Running chmod 644 wp-config.php will fix it. We’re aggressively working on correcting the issue now. Thanks for your patience.”

    You can fix it yourself by changing the file permissions on wp-config.php to 644. But they’ll do it for you soon enough.

    Change the line

    require_once(‘../wp-load.php’);

    to

    require_once( ABSPATH . ‘wp-load.php’);

    I have to change this line with each upgrade. My error shows up in the file update-links.php.

    JSayHello
    Member
    Posted 1 year ago #

    Bill your a savior! I couldn’t figure this out until i replaced that line like you suggested

    Thread Starter piriet

    (@piriet)

    maoski and psampaio i really appreciate the help. I think I need to start fresh, there is something else going on here as well as this back up, i think something has damaged a lot of files or something because every new version of WP locks me out with fatal error messages as soon as i add anything from a past version.

    thanks!!

    Thread Starter piriet

    (@piriet)

    no:( i didn’t delete anything.

    realized about an hour ago the database i was trying to upload into another database (it took me a while to realize this was silly) already existed. so.. i changed the details in the wp-config file to match the database I thought i was already uploading only to find that it didn’t change anything at all… weird.

    i have since opened the sql file with text edit and found a lot of my content intact there so I don’t know if i should just try and cut and past that back into the new WP or keep trying to sort out the upload.

    when i realized the database i was trying to upload already existed and tried to point the site to it (and found it to be not helpful) i deleted it, thinking i could re-create it using the backup but iPage won’t let me because it says it already exists.

    any suggestions?

    Thread Starter piriet

    (@piriet)

    ummmm… there is one user for that database: wrdVK8X75jK and “set privileges” radio buttons are all set to yes.

    i thought i was using phpmyadmin … i go from the control panel in iPage to MySQL beta and from there access phpmyadmin.. does that answer the question?

Viewing 8 replies - 1 through 8 (of 8 total)