WordPress.org

Ready to get started?Download WordPress

Forums

Help with Pictorialis re-install, please. (1 post)

  1. MsCantBWrong
    Member
    Posted 7 years ago #

    I am trying to move my Pictorialis blog from one host to another.

    I have gone into wp-config and changed the db name and password. (I think correctly) and now when I go to
    http://www.unonaphotography.com/fo.tog.ra.fie I receive the following error message:

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/unonapho/public_html/fo.tog.ra.fie/wp-includes/template-functions-general.php on line 153

    Following is the snippet of code from the above referenced error message:

    function single_cat_title($prefix = '', $display = true ) {
        global $cat;
        if(!empty($cat) && !(strtoupper($cat) == 'ALL')) { // <---- LINE 153
            $my_cat_name = get_the_category_by_ID($cat);
            if(!empty($my_cat_name)) {
                if ($display)
                    echo $prefix.strip_tags(stripslashes($my_cat_name));
                else
                    return strip_tags(stripslashes($my_cat_name));
            }
        }
    }

Topic Closed

This topic has been closed to new replies.

About this Topic