Forums

[resolved] heeeeeeeelp for the love of god!!!! (12 posts)

  1. BlueFern
    Member
    Posted 1 year ago #

    Ok, I´ll try not to ramble because I'm in deep $%&!!... please keep in mind that I'm quite new to the world of wordpress.

    I have the BOLDY theme installed on a website, and everything worked beautifully, but by default, the theme has a different homepage than the blog... so my clients wanted to have the blog as the default homepage

    So I went inside wordpress and on the general settings tab I changed the setting for wordpress URL to the specific url for the blog... example (www.blablabla.com/blog)

    And now, my layout is gone, it's all messed up... even my wordpress admin area!!!! On the browser I hit the go back one page button, and tried to write the url exactly as it was before (www.blablabla.com) and save changes but everytime I press the save changes button it's all screwed up.

    Please please please!!!!! help me!!!

  2. Yeah. That wasn't right at all. What YOU did was to 'move' wordpress. Except you didn't.

    You'll want to edit wp-config.php

    Add these two lines to the file, immediately after the initial "<?php" line.

    update_option('siteurl','http://www.blablabla.com/');
    update_option('home','http://www.blablabla.com/');

    Once that's done, your site should be back up and running.

    Then read this: http://wordpress.site5.net/boldy/doc/

  3. Andrea_r
    team pirate
    Posted 1 year ago #

    but by default, the theme has a different homepage than the blog... so my clients wanted to have the blog as the default homepage

    So I went inside wordpress and on the general settings tab I changed the setting for wordpress URL to the specific url for the blog... example (www.blablabla.com/blog)

    Yeah....

    when you get it fixed, go to Settings -> Reading. Pick "blog" for "show on homepage".

  4. BlueFern
    Member
    Posted 1 year ago #

    The thing is I don't think I have that file, my wp installation was made via fantastico (the host is cpanel) And I´ve been looking through the files both in wp-admin and wp-content, etc... And all I can see that resembles the code I have to change is through a file called options-general.php But I don't think it lets you edit that one.

    what should I do? :(

  5. You Do have that file. You CANNOT have WordPress running without it :) It's also not in wp-admin or wp-content, but it's at the same LEVEL as those files.

    index.php
    wp-config.php
    wp-content/

    Same level :)

  6. BlueFern
    Member
    Posted 1 year ago #

    Found the file! I was looking in the wrong place (duh! like the idiot I am... typical)

    I wrote the two lines of code, but now all I got was this:

    "Fatal error: Call to undefined function update_option() in...."

    and the plot thickens :L

  7. Did you add them AFTER the <?php line?

  8. BlueFern
    Member
    Posted 1 year ago #

    yeap, right after that... what could be wrong?

  9. What's the FULL fatal error?

  10. BlueFern
    Member
    Posted 1 year ago #

    Fatal error: Call to undefined function update_option() in /home/elcuarto/public_html/wp-config.php on line 3

  11. Take those two lines out, but that is really ... Why would it say undefined for THAT.

    You're going to have to go in via the database and fix the URLs in the WP_options table for siteurl and home.

  12. BlueFern
    Member
    Posted 1 year ago #

    Holly crackadoodles!!!! Fixed!!! went through the database and cleared the mess :)

    I hope you know, that I LOVE YOU and I will be forever in your debt!!!

    You guys are awesome for putting up with total noobs like me :D

    Ipstenu, Andrea... Thank you, thank you, thank you, from the very bottom of my heart, a million times THANK YOU!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic