The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where did /public_html/ go?

Discussion in 'General Discussion' started by GoWilkes, Apr 11, 2012.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    WHM did just update a few day ago, and I'm now using cPanel 11.32.2 (build 15).

    Today, I created a new account for the first time after the upgrade. The client tried to install Templates Express via Fantastico, but received an error that "You cannot install more than one script in the root directory of a domain." Fantastico does not show any prior installations, though.

    After mentioning this error to me, I tried to FTP in to see what was existing. I'm surprised, though, to find that there's no longer a /www/ or /public_html/ directory! All I have is:

    /.cpan/
    /.cpanel/
    /.cpcpan/
    /.fantasticodata/
    /.htpasswds/
    /.HttpRequest/
    /.MirrorSearch/
    /.trash/
    /access_logs/
    /perl/
    /public_ftp/
    /tmp/
    .bash_logout
    .bash_profile
    .bashrc
    .canna
    .contactemail
    .emacs
    .lastlogin
    .zshrc
    public_html (a file, not a directory)

    The file "public_html" contains the following:

    <?php $version = '1.7' ; ?>

    Previously created accounts still have the /www/ and /public_html/ directories, just not this one. I tried logging in as root, too, and see the same thing.

    So, I'm lost. Where do I go to view/edit the /www/ files?
     
  2. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Nevermind, it doesn't seem to be a cPanel bug, after all. I deleted the account then re-created it, and the /public_html/ directory showed up correctly. I don't know if it was a glitch with the first install, or if the client did something weird, but either way, deleting and recreating fixed it.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    I'm pretty sure the client did something such as remove folders (hopefully, they aren't using FrontPage and choosing to wipe folders not on the local system, which then wipes public_html and a slew of other directories). The reason I believe the client did it is that mail folder and etc are also missing. This is typical of what happens when someone uses FrontPage and has it wipe directories in fact.
     
Loading...

Share This Page