CloudFlare "A fatal error"

Status
Not open for further replies.

mystateh

New Member
Messages
1
Reaction score
0
Points
1
I am trying to use cloudflare with my account but each time I click the cloudflare icon in the cPanel this shows up, does anyone know how to fix it?:

"A fatal error or timeout occurred while processing this directive."


Can't locate Cpanel/CloudFlare/Api.pm in @INC (@INC contains: /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.4/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.4 /usr/local/cpanel /opt/cpanel/perl5/514/site_lib/x86_64-linux-64int /opt/cpanel/perl5/514/site_lib) at /usr/local/cpanel/Cpanel/CloudFlare.pm line 13.
at /usr/local/cpanel/Cpanel/CloudFlare.pm line 13.
Cpanel::CloudFlare::BEGIN() called at /usr/local/cpanel/Cpanel/CloudFlare.pm line 13
eval {...} called at /usr/local/cpanel/Cpanel/CloudFlare.pm line 13
require Cpanel/CloudFlare.pm called at (eval 33) line 1
Cpanel::LoadModule::BEGIN() called at /usr/local/cpanel/Cpanel/CloudFlare.pm line 13
eval {...} called at /usr/local/cpanel/Cpanel/CloudFlare.pm line 13
eval ' use Cpanel::CloudFlare; Cpanel::CloudFlare::CloudFlare_init() if "Cpanel::CloudFlare"->can("CloudFlare_init");
;' called at /usr/local/cpanel/Cpanel/LoadModule.pm line 135
Cpanel::LoadModule::_modloader("CloudFlare") called at /usr/local/cpanel/Cpanel/LoadModule.pm line 67
Cpanel::LoadModule::loadmodule("CloudFlare") called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 40
Cpanel::Api2::Exec::api2_preexec("CloudFlare", "getbasedomains") called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 45
Cpanel::Template::plugin::Api2::_api2_exec("CloudFlare", "getbasedomains", HASH(0x5ab7410)) called at frontend/x10x3/cloudflare/cloudflare/tmpl/setup.tmpl line 2
eval {...} called at frontend/x10x3/cloudflare/cloudflare/tmpl/setup.tmpl line 2
eval {...} called at frontend/x10x3/cloudflare/cloudflare/tmpl/setup.tmpl line 7
Template::Document::__ANON__(Template::Context=HASH(0x5950110)) 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(0x5ac1fe8), Template::Context=HASH(0x5950110)) 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(0x5950110), Template::Document=HASH(0x5ac1fe8)) 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(0x593c178), "cloudflare/tmpl/setup.tmpl", HASH(0x58d5750)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
Template::process(Template=HASH(0x58d5bb8), "cloudflare/tmpl/setup.tmpl", HASH(0x58d5750), SCALAR(0x3c1c0a8)) called at /usr/local/cpanel/Cpanel/Template.pm line 461
Cpanel::Template::process_template("cpanel", HASH(0x58d5750), HASH(0x58d5828)) called at cpanel.pl line 1139
main::cptt_exectag("<?cptt cloudflare/tmpl/setup.tmpl ?>") called at cpanel.pl line 4300
main::dotag_finished_headers(0) called at cpanel.pl line 4113
main::cpanel_parseblock("<cpanel setvar=\"pagename=overview\">\x{a}\x{a}<cpanel setvar=\"headerim"...) called at cpanel.pl line 4027
main::y(GLOB(0x50daf40)) called at cpanel.pl line 5396
main::run_standard_mode() called at cpanel.pl line 831
 

glennemlee95

Member
Messages
59
Reaction score
2
Points
8
If you're using your own domain, you can bypass using the cPanel by adding the CloudFlare nameservers to your domain from CloudFlare.com directly and then point your A Records to the shared IP address for your hosting server. You can get a free domain from freenom.com if needed.

A records to use
www = Set to server shared IP
cname = www.yourdomain.ga/ml/tk blah
mx = @ = yourdomain.tld

Then go into your cPanel and add any email accounts or mail forwarders you need/want. Add the domain first if you haven't already to your cPanel as an Addon Domain pointing to your public root (public_html).

Then configure your CloudFlare settings to your heart's desire. You can do this with most hosts and bypass the need for using the cPanel directly with CloudFlare, it just means you need to edit any new subdomains at both CloudFlare and via the cPanel.

As for fixing the error **Shrug** I'm not staff, but I hope I at least helped you.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi mystateh,

The issue should now be fixed. Please could you try using the CloudFlare option in cPanel again? ;)

Thank you,
 
Status
Not open for further replies.
Top