Wordpress help :(

Discussion in 'WordPress' started by ecksit, Jun 19, 2008.

  1. #1
    Ok every theme I install I get this 'sidebar not defined' error message when I try to add a widget.

    So I follow the instructions with the link provided, and whenever I attempt to edit the functions.php file, wordpress tells me 'requested theme does not exist'

    and its not just the functions.php file, its any of the theme files!

    .....

    WTF!
     
    ecksit, Jun 19, 2008 IP
  2. zeldaze

    zeldaze Active Member

    Messages:
    311
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Which theme are you using? The defualt WP one? Try going to re-activate the theme in the backend to redefine the URL for it. Also make sure that the folder is CHMOD'd to 777 if you want to edit the theme files.
     
    zeldaze, Jun 19, 2008 IP
  3. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #3
    What code is showing in your functions.php file?
     
    pipes, Jun 20, 2008 IP
  4. ecksit

    ecksit Peon

    Messages:
    389
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar(array(
            'before_widget' => '',
            'after_widget' => '',
            'before_title' => '<div class="title">',
            'after_title' => '</div>',
        ));
    ?>
    PHP:
     
    ecksit, Jun 20, 2008 IP
  5. UseShots

    UseShots Peon

    Messages:
    244
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Strange. The theme is visible in the "Design" section and you can select it? Do you edit the theme from WordPress admin interface or modify files directly on disk?
     
    UseShots, Jun 21, 2008 IP
  6. ramzwatcher

    ramzwatcher Peon

    Messages:
    67
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    First of all, does that design is suitable for current wordpress version?

    Some of the template does not suitable with the latest wordpress version, even though it does
    appear at the DESIGN PAGE.

    Solutions:

    Try to use default theme first and try that sidebar. If it does not work, it mean your wordpress blog
    have a problem either at functions.php as you mentioned.

    If it works well, it mean its all about your template.

    Hopefully this help,

    Ramzan Rozali
     
    ramzwatcher, Jun 21, 2008 IP