Hi, i just got a vps and cpanel with it. I've been trying to fix this issue and finding resources but have failed to fix it some I'm going to attempt at personal help.
I have root access to WHM and a cpanel account i set up:
preface; i bought the vps and cpanel so i have higher speed servers to run my websites on.
problem: while i can upload files in both the cpanel file manager and FTP, i cannot see these files or folder within the cpanel file manager OR cpanel legacy file manager.
I CAN see my uploaded files and directories in FTP, but not in the file managers on cpanel.
Within the legacy file manager i also get this error:
content.screencast.com/users/bokhoy/folders/Jing/media/af24ffbb-a955-49de-a05c-2362d8e24b4d/FM%20Legacy.png
And expanded:
You can also see here, in the File Manager, that a directory exists called Test Folder 1, however it does not show up, and instead "This directory is empty is displayed".
content.screencast.com/users/bokhoy/folders/Jing/media/337dd37b-90ab-4ef0-a0c6-24ced945b9cb/FM%20No%20Folders%20or%20Files.png
And here in my FTP client, you can see both the directory and file that i created as you shoud:
content.screencast.com/users/bokhoy/folders/Jing/media/ee12a852-a742-458e-8cd1-9713b812edaf/FTP%20Exists.png
Also, on the Home cpanel menu i get this error on the left, the same as in the legacy file manager:
content.screencast.com/users/bokhoy/folders/Jing/media/60b2794b-84b3-421e-b50a-1b629dc5d1b7/Home%20error.png
Which respectivly expands to:
Things i have tried:
I have tried creating new accounts and removing broken ones
I have tried updating cpanel
I have tried changing the PHP system from suphp to dso
And just tried general tweaks that seem to do nothing to help, and have does extensive looking on the net
People suggest everywhere that these errors are related to permission problems, however there has been no real guide to change permissions for a specific user.
I did log into root, (but no doubt that is the wrong user) and modify permissions, but did not work out for me.
How to fix this would be greatly appreciated.
Lastly, here's my cpanel ver. numbers etc:
I have root access to WHM and a cpanel account i set up:
preface; i bought the vps and cpanel so i have higher speed servers to run my websites on.
problem: while i can upload files in both the cpanel file manager and FTP, i cannot see these files or folder within the cpanel file manager OR cpanel legacy file manager.
I CAN see my uploaded files and directories in FTP, but not in the file managers on cpanel.
Within the legacy file manager i also get this error:
Code:
[a fatal error or timeout occurred while processing this directive]
And expanded:
Code:
Unable to locate httpd.conf at /usr/local/cpanel/Cpanel/ConfigFiles.pm line 27.
Cpanel::ConfigFiles::find_httpconf() called at /usr/local/cpanel/Cpanel/ConfigFiles.pm line 14
Cpanel::ConfigFiles::stat_httpconf() called at /usr/local/cpanel/Cpanel/Mime.pm line 200
Cpanel::Mime::system_mime() called at /usr/local/cpanel/Cpanel/Fileman.pm line 3325
Cpanel::Fileman::_loadmimeinfo() called at /usr/local/cpanel/Cpanel/Fileman.pm line 387
Cpanel::Fileman::api2_listfiles('dir', '/home/tradevac/public_html/', 'showdotfiles', 1, 'needmime', 1) called at (eval 48) line 1
eval '$dataref = [Cpanel::Fileman::api2_listfiles(%{$rCFG})];' called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 84
Cpanel::Api2::Exec::api2_exec('Fileman', 'listfiles', 'HASH(0xfb4bce0)', 'HASH(0x17ed620)') called at cpanel line 607
main::real_cpexectag('<?cp Fileman::listfiles(^J [tr class="row-%" onContextMenu=\'g...') called at cpanel line 3879
main::dotag_finished_headers(0) called at cpanel line 3704
main::cpanel_parseblock('<cpanel setvar="dprefix=../">^J<html>^J<head>^J<title>cPanel X - <c...') called at cpanel line 3612
main::cpanel_parse('GLOB(0xfb2d930)') called at cpanel line 5121
main::run_standard_mode() called at cpanel line 424
content.screencast.com/users/bokhoy/folders/Jing/media/337dd37b-90ab-4ef0-a0c6-24ced945b9cb/FM%20No%20Folders%20or%20Files.png
And here in my FTP client, you can see both the directory and file that i created as you shoud:
content.screencast.com/users/bokhoy/folders/Jing/media/ee12a852-a742-458e-8cd1-9713b812edaf/FTP%20Exists.png
Also, on the Home cpanel menu i get this error on the left, the same as in the legacy file manager:
content.screencast.com/users/bokhoy/folders/Jing/media/60b2794b-84b3-421e-b50a-1b629dc5d1b7/Home%20error.png
Which respectivly expands to:
Code:
Unable to locate httpd.conf at /usr/local/cpanel/Cpanel/ConfigFiles.pm line 27. Cpanel::ConfigFiles::find_httpconf() called at /usr/local/cpanel/Cpanel/UserDomainIp.pm line 19 Cpanel::UserDomainIp::getdomainip('tradeva.com') called at /usr/local/cpanel/Cpanel/ExpVar.pm line 450 Cpanel::ExpVar::getip() called at /usr/local/cpanel/Cpanel/ExpVar.pm line 443 Cpanel::ExpVar::hasdedicatedip() called at /usr/local/cpanel/Cpanel/StatsBar.pm line 63 Cpanel::StatsBar::api2_stat('rowcounter', 'mainstats', 'display', 'hostingpackage|shorthostname|cpanelversion|theme|apacheversion|p...') called at (eval 13) line 1 eval '$dataref = [Cpanel::StatsBar::api2_stat(%{$rCFG})];' called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 84 Cpanel::Api2::Exec::api2_exec('StatsBar', 'stat', 'HASH(0x1ebbc5e0)', 'HASH(0x1ebc2530)') called at cpanel line 607 main::real_cpexectag('<?cp StatsBar::stat(^J[tr class="row-%"]^J [td class="stats_lef...') called at cpanel line 3879 main::dotag_finished_headers(0) called at cpanel line 3664 main::cpanel_parseblock('<table width="100%" id="stats_extended" class="truncate-table" c...') called at cpanel line 3612 main::cpanel_parse('GLOB(0x1ebba600)') called at cpanel line 2491 main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//extended_statsbar.h...', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 49 Cpanel::Branding::Branding_include('extended_statsbar.html') called at (eval 5) line 1 eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 1136 main::real_exectag('<?cp StatsBar::stat(^J[tr class="row-%"]^J [td class="stats_lef...') called at cpanel line 3876 main::dotag_finished_headers(0) called at cpanel line 3704 main::cpanel_parseblock('<cpanel Branding="include(extended_statsbar.html)">^J') called at cpanel line 3612 main::cpanel_parse('GLOB(0x1eb9f970)') called at cpanel line 5121 main::run_standard_mode() called at cpanel line 424
I have tried creating new accounts and removing broken ones
I have tried updating cpanel
I have tried changing the PHP system from suphp to dso
And just tried general tweaks that seem to do nothing to help, and have does extensive looking on the net
People suggest everywhere that these errors are related to permission problems, however there has been no real guide to change permissions for a specific user.
I did log into root, (but no doubt that is the wrong user) and modify permissions, but did not work out for me.
How to fix this would be greatly appreciated.
Lastly, here's my cpanel ver. numbers etc:
Code:
WHM 11.28.87 [TRIAL]
CENTOS 5.5 x86_64 virtuozzo on VD
(To clarify, the vps host said the cpanel is in the process of validating to full version)
Last edited by a moderator: