cPanel error and can't access PHP (no permission on the server)

Status
Not open for further replies.

pandor16

New Member
Messages
2
Reaction score
0
Points
1
Hi

I am using the free x10hosting.

I am getting the error in cPanel (A fatal error or timeout occurred while processing this directive)

Undefined subroutine &version::_VERSION called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Math/Trig.pm line 12.
at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Math/Trig.pm line 12.
Math::Trig::BEGIN() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Math/Trig.pm line 12
eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Math/Trig.pm line 12
require Math/Trig.pm called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Plugin/Math.pm line 70
eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Plugin/Math.pm line 69
require Template/Plugin/Math.pm called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Plugins.pm line 206
eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Plugins.pm line 206
Template::plugins::_load(Template::plugins=HASH(0x6d52dc8), "Math", Template::Context=HASH(0x6d60970)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Plugins.pm line 108
Template::plugins::fetch(Template::plugins=HASH(0x6d52dc8), "Math", undef, Template::Context=HASH(0x6d60970)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 192
Template::Context::plugin(Template::Context=HASH(0x6d60970), "Math") called at /usr/local/cpanel/base/frontend/x3/lveversion/extension-selector.tmpl line 10
eval {...} called at /usr/local/cpanel/base/frontend/x3/lveversion/extension-selector.tmpl line 7
Template::Document::__ANON__(Template::Context=HASH(0x6d60970)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161
Template::Document::process(Template::Document=HASH(0x6d01130), Template::Context=HASH(0x6d60970)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 347
eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321
Template::Context::process(Template::Context=HASH(0x6d60970), Template::Document=HASH(0x6d01130)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
Template::Service::process(Template::Service=HASH(0x6d52c00), "lveversion/extension-selector.tmpl", HASH(0x687fa30)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
Template::process(Template=HASH(0x6d52b88), "lveversion/extension-selector.tmpl", HASH(0x687fa30)) called at /usr/local/cpanel/Cpanel/Template.pm line 449
Cpanel::Template::process_template("cpanel", HASH(0x687fa30)) called at cpanel.pl line 1232
main::cptt_exectag("<?cptt LVEInfo::showPHPExtTable(lveversion/extension-selector"...) called at cpanel.pl line 4326
main::dotag_finished_headers(0) called at cpanel.pl line 4139
main::cpanel_parseblock("<cpanel setvar=\"headerimg=../images/topwebftpstats.gif\">\x{a}<cpa"...) called at cpanel.pl line 4053
main::y(GLOB(0x5fb3630)) called at cpanel.pl line 5425
main::run_standard_mode() called at cpanel.pl line 838



and also while i m trying to access php it's giving me an error (You don't have permission to access /index.php on this server.)

I tried changing permissions to 755 and to 777 but still no luck.
 
Last edited:

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
while i m trying to access php it's giving me an error...
have you tried a temporary rename of the [ .htaccess ] file(s) to something like [ .htaccess.bak ] in your account ??
###

I tried changing permissions to 755 and to 777 but still no luck.
make sure ALL file permissions are 0644 (rw-r--r--) and ALL folder permissions are 0755 (rwxr-xr-x)

IF 'permissions' set on ANY folder or file - in your account - are [ 777 ] - that makes a large security risk - so a x10hosting's free-hosting server will throw an immediate "Access Denied" (403 error code) error to protect itself
 

pandor16

New Member
Messages
2
Reaction score
0
Points
1
have you tried a temporary rename of the [ .htaccess ] file(s) to something like [ .htaccess.bak ] in your account ??
###

Yeah i just did that and it still didn't work.

make sure ALL file permissions are 0644 (rw-r--r--) and ALL folder permissions are 0755 (rwxr-xr-x)

IF 'permissions' set on ANY folder or file - in your account - are [ 777 ] - that makes a large security risk - so a x10hosting's free-hosting server will throw an immediate "Access Denied" (403 error code) error to protect itself

I just checked, none of the permission is on 777, I changed the rest of the files to 644 and folders to 755. Still no luck.
 
Status
Not open for further replies.
Top