• Had everything installed and running perfectly… then I mucked things up. I found directions to monkey around with avatars and went into Editing and added code into the ‘functions.php’ file. Once I did, everything went crazy. Then the site went down and I couldn’t go back to fix it. I thought the answer would be to uninstall and reinstall it… well, just did it and while the blog site is back up, all previous posts lost and set on a default template, as soon as I go into change the template, I get the same message:

    Parse error: parse error, unexpected ‘:’ in /home/content/m/i/d/midishaw/html/blog/wp-content/themes/BlockLogo5/functions.php on line 530

    Don’t know how to get rid of it. Thought that by removing and re-installing, everything would get a fresh start, but it isn’t so.

    Anyone? Please help!

Viewing 1 replies (of 1 total)
  • Your original posts are probably intact. They are sitting in a SQL database.

    But having installed a new blog, you created a new database.

    In your wp-config.php file are some settings that point to the database you want to use.

    All you need to figure out is: What is the name of the database you were using when you had it all working?

    Then you can do one of 2 things: Use your SQL manager program and transfer the data to the new database you are using currently
    OR
    Even easier, edit your wp-config file to point to the old database.

    You will need to change the following settings in the wp-config.php:

    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘HostUser_YourDataBaseName‘);

    /** MySQL database username */
    define(‘DB_USER’, ‘HostUser_YourDataBaseUserName‘);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘YourDatabasePassword‘);

    If you don’t have your database username and password, you can create new ones in your SQL admin console.

    If none of this makes sense, I wrote an easy to understand article about Manually Installing WordPress that explains what I’m talking about.

Viewing 1 replies (of 1 total)
  • The topic ‘Really mucked things up…’ is closed to new replies.