• Resolved lmannyr

    (@lmannyr)


    Any idea why Im getting this error on the “Finish” page of the 5 min installation?

    Warning: mkdir(c:\inetpub\wwwroot/wp-content/themes/luis): Permission denied in c:\inetpub\wwwroot\wp-admin\upgrade-functions.php on line 683

    PHP latest ver
    Mysql latest ver
    MySql Admin Latest ver

    All running on Win XP IIS 5.1

Viewing 6 replies - 1 through 6 (of 6 total)
  • On a fresh install there shouldn’t be a /luis directory in the /themes folder. What’s that?

    Thread Starter lmannyr

    (@lmannyr)

    on the install.php

    I enterted the “Weblog title” ——-(in this case) —-> Luis
    under “Email” I entered one.

    then I get…..

    Second Step
    Now wea€?re going to create the database tables and fill them with some default data.

    Warning: mkdir(c:\inetpub\wwwroot/wp-content/themes/luis): Permission denied in c:\inetpub\wwwroot\wp-admin\upgrade-functions.php on line 683

    Finished!

    Now you can log in with the username “admin” and password “93c36d”.

    Note that password carefully! It is a random password that was generated just for you. If you lose it, you will have to delete the tables from the database yourself, and re-install WordPress. So to review:

    Username
    admin
    Password
    *********
    Login address
    wp-login.php
    Were you expecting more steps? Sorry to disappoint. All done! ??

    any idea?

    Thread Starter lmannyr

    (@lmannyr)

    // Create a site theme from the default theme.
    function make_site_theme() {
    // Name the theme after the blog.
    $theme_name = __get_option(‘blogname’);
    $template = sanitize_title($theme_name);
    $site_dir = ABSPATH . “wp-content/themes/$template”;

    // If the theme already exists, nothing to do.
    if ( is_dir($site_dir)) {
    return false;
    }

    // We must be able to write to the themes dir.
    if (! is_writable(ABSPATH . “wp-content/themes”)) {
    return false;
    }

    umask(0);
    LINE683 if (! mkdir($site_dir, 0777)) {
    return false;
    }

    if (file_exists(ABSPATH . ‘wp-layout.css’)) {
    if (! make_site_theme_from_oldschool($theme_name, $template)) {
    // TODO: rm -rf the site theme directory.
    return false;
    }
    } else {
    if (! make_site_theme_from_default($theme_name, $template))
    // TODO: rm -rf the site theme directory.
    return false;
    }

    // Make the new site theme active.
    $current_template = __get_option(‘template’);
    if ($current_template == ‘default’) {
    update_option(‘template’, $template);
    update_option(‘stylesheet’, $template);
    }
    return $template;

    If you upgrade from WP 1.2 to 1.5, WP installation will try to convert your old-style theme to WP 1.5’s theme and copy it to “wp-content/themes.” You have to make that directory writeable to make it happen.

    For some reason – I just tested this locally – on install now, WP creates a theme named after your blog. No clue as to why – I’ve asked for clarification.

    The initial error is a write permissions error but seeing as you can’t give permissions to a directory until it is created, and it’s not created until WP does it and it then immediately wants to write to it ….

    I can only suggest that you get a copy of 1.5.1 from here:
    https://static.www.ads-software.com/archive/
    Install, then upgrade straight away.

    Thread Starter lmannyr

    (@lmannyr)

    this is a new install fresh, first time ever to install WP.

    Just checked and I have version 1.5.1.3

    I created a dir with the name before install and completed w/o error. The folder was empty after the install too. Pointless.

    thanks for the help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warning on initial install.’ is closed to new replies.