Forums

[resolved] Another "Unable to create directory" (4 posts)

  1. Anonymous
    Unregistered
    Posted 3 years ago #

    Hi there,
    I run WP2.6 on XAMPP ontop of a XP box. After install I first tried to create a post with a picture an received the "Unable to create direcotry" error. I checked the write permissions but the error resists. I digged around an found a nice bug... My directory structure is set up with trailing numbers like this:
    f:6_Web_Dev\xampp\htdocs
    I useing this kind of structure since years an had never a problem - until today. If you set up your WP please check the "Miscellaneous Settings" >> "Uploading". The setting "Store uploads in this folder" contains the path. I my case it looked like this:
    "f:6_Web_Dev\xampp\htdocs\pages\wp-content\upload" what was totaly wrong. I tried to correct it and experienced that WP interprate the "" secuence in my path! To store the correct path in the db I had to key in the following:
    "f:\06_Web_Dev\xampp\htdocs\pages\wp-content\upload". WP sores the correct value "f:6_Web_Dev\xampp\htdocs\pages\wp-content\upload" afterwards in the db.
    I took me quite a while finding this one - so i thought it could be helpfull. ;-)
    Regards,
    AxelT

  2. Anonymous
    Unregistered
    Posted 3 years ago #

    Huuuuuuuu

    as you can see in this post every "\0" will be interprated within every form!

    AxelT

  3. Anonymous
    Unregistered
    Posted 3 years ago #

    Here the correct text form above...
    I run WP2.6 on XAMPP ontop of a XP box. After install I first tried to create a post with a picture an received the "Unable to create direcotry" error. I checked the write permissions but the error resists. I digged around an found a nice bug... My directory structure is set up with trailing numbers like this:
    f:\06_Web_Dev\xampp\htdocs
    I using this kind of structure since years an had never a problem - until today. If you set up your WP please check the "Miscellaneous Settings" >> "Uploading". The setting "Store uploads in this folder" contains the path. I my case it looked like this:
    "f:6_Web_Dev\xampp\htdocs\pages\wp-content\upload" what was totaly wrong. I tried to correct it and experienced that WP interprate the "\0" secuence in my path! To store the correct path in the db I had to key in the following:
    "f:\\006_Web_Dev\xampp\htdocs\pages\wp-content\upload". WP sores the correct value "f:\06_Web_Dev\xampp\htdocs\pages\wp-content\upload" afterwards in the db.
    I took me quite a while finding this one - so i thought it could be helpfull. ;-)

  4. kristinaaa
    Member
    Posted 3 years ago #

    hei..i tried to do that..nothing have changed..can you help me?
    my wp is WordPress v.2.5.1 and i'm using internet exploer..what can i do???

Topic Closed

This topic has been closed to new replies.

About this Topic