GoWilkes

Well-Known Member
Sep 26, 2006
692
33
178
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?
 

GoWilkes

Well-Known Member
Sep 26, 2006
692
33
178
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
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.