Menu

Warning: MkDir Failed

Help
2002-03-01
2002-08-12
  • Robert Watson

    Robert Watson - 2002-03-01

    Everything seems to be working fine except one error:

    When I log into groupware using any account, upon entering the PHPWebhosting section, this error is at the top of the page:

    Warning: MkDir failed (No such file or directory) in /home/interart/public_html/members/phpgwapi/inc/class.vfs_sql.inc.php on line 1643

    My setup:
    (o) My phpgroupware directory was renamed to  "members" before I uploaded to my server and began installing groupware.
    (o) All the files and directories have "755" permissions (reverted from 777 after installation)
    (o) My "phpgroupware/files" directory, simply, "/home/files" has "777" permissions

    Any suggestions?

    Thanks,
    Rob

     
    • Jason Wies

      Jason Wies - 2002-03-02

      This is definitely a permissions or locatoin problem.  Since your files directory is world writable, the path supplied is probably wrong.  Make sure you specified "/home/files" in setup ("Enter the full path for users and group files.").

      The other cause could be that you made the /home/files directory, instead of copying the phpgroupware/files directory.  This would result in there not being a /home/files/home directory.  In this case, copy the phpgroupware/files directory to /home/files, as described in the INSTALL file.

      Jason Wies aka Zone

       
    • Robert Watson

      Robert Watson - 2002-03-02

      Thanks Jason,

      My phpwebhosting is working now.

      When I changed the permissions for the "files" directory, I overlooked changing the permissions for the "home" directory as well.

      Thanks a lot!

       
    • Chuck Roy

      Chuck Roy - 2002-03-05

      I'm having the same problem and I'm sure I'm just losing my mind missing something obvious.

      I'm on a Virtual Server where the http directories are: /home/hostacct/domain-www

      I have my Files Setting as:
      /home/hostacct/domain-www/schools

      The /home/hostacct/domain-www/schools permissions are:  drwxrwxrwx

      I can't (for security reasons) make the /home/hostacct/domain-www directory writable.

      Can anyone spot what I'm missing?

      Thanks
      Chuck

       
    • Chuck Roy

      Chuck Roy - 2002-03-05

      One other thing...

      When I downloaded the tar.gzip file today and unpacked it, my copy did not have a phpgroupware/files path.

      I've see several references to this directory

      Should I have something there?

      Thanks
      Chuck

       
      • Jason Wies

        Jason Wies - 2002-03-05

        Yes, you do need something there.  Did you read the rest of the postings in this thread?  Potential causes:

        1) Wrong files path specified in setup
        2) No "home" directory inside the files directory
        3) Wrong permissions (both the files directory and the "home" directory inside of it must be writable).

        So in your case,

        mkdir -p /home/hostacct/domain-www/schools/home
        chmod -R 777 /home/hostacct/domain-www/schools

        Make sure the path in setup is "/home/hostacct/domain-www/schools/"

        Hope this helps,
        Jason Wies aka Zone

         
    • Chuck Roy

      Chuck Roy - 2002-03-05

      Jason,

      THANK YOU - THANK YOU - THANK YOU

      I did read all of this thread, several other similar threads, the install doc, and even tried to trace the code to see what was happening.  I knew it was something obvious.  I just never actually interpreted that references to "home" was a literal value path-to-files/home.

      Thanks again.  That solved the problem!

      BTW - This is a GREAT APP!  I am looking forward to our association using it!

      Chuck

       
    • Anonymous

      Anonymous - 2002-08-12

      yeah but i did the same but demo user still having the warning line

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.