Fantastico Common Errors in cPanel

Last modified: August 1, 2020
You are here:
Estimated reading time: 2 min

In this documentation we can check the fantastico common errors in cPanel and how to fix those errors.

 

1) If fantastico link disappears in the cPanel, please use the following steps to resolve the issue.

mkdir /usr/local/cpanel/base/frontend/x/cells
mv /usr/local/cpanel/3rdparty/fantastico/xskin.html usr/local/cpanel/base/frontend/x/cells/fantastico.html
ln -s /usr/local/cpanel/base/frontend/x/cells /usr/local/cpanel/base/frontend/x2/cells

 

2) If you want to uninstall the fantastico from the server, use the following commands.

rm -rf /var/netenberg/fantastico_de_luxe/
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/
rm -rf /usr/local/cpanel/3rdparty/fantastico*
rm -rf /usr/local/cpanel/base/frontend/*/fantastico
rm -f /usr/local/cpanel/base/frontend/x/cells/fantastico.html
rm -f /usr/local/cpanel/base/frontend/x/cells/cpanelplugin_Fantastico_De_Luxe.html
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi

 

3) Unable to install scripts from fantastico.

Please check the permission of the following files. It must be 755:

/bin/tar
/bin/gzip

 

4) Parse Error on fantastico icon in cPanel.

Check the disk space usage of /tmp partition. If it is 100% full, delete the unnecessary session files.

Check the MySQL service and database connection. If it reach the max connections, kill the process and restart MySQL service.

Update the cPanel using the following scripts.

/scripts/upcp -f

 

5) Internal Server Error 500

Edit the following file and put the code at the top of the file.

/usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi

#!/bin/sh eval ‘if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x — $0 ${1+”$@”}; else exec /usr/bin/perl -x $0 ${1+”$@”}; fi;’
if 0;
#!/usr/bin/perl

6) Invalid Token or Initial Install loops asking you to re-enter your username and password.

Execute the following commands via ssh.

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz

 

7) Ioncube Error in Fantastico

Check to see if Ioncube is enabled. If not, please enable it via WHM >> Tweak Settings >> PHP. Then look for the last item: cPanel PHP loader. Select ‘ioncube’.

If that didn’t fix the issue, try rebuilding cPanel’s internal and restart the cPanel service.

/scripts/makecpphp

/etc/init.d/cpanel restart

 

 

8) Fantastico Showing Blank Page

Change the following on config.php file. If the server is PHP-SUEXEC enabled, the plugin_rootdir should be given as “plugins” in config.php file.

#define(“PLUGIN_ROOTDIR”,”/tmp”);
define(“PLUGIN_ROOTDIR”,”plugins”);

 

9) Unable to install more than one script in the root directory of a domain.

You can fix the issue using the following g steps.

a) Log in cPanel and click on File Manager.

b) Navigate to .fantasticodata folder in your Home Directory.

c) Delete the file php.

 

10) Access denied for user ‘username’@’localhost’.

You got this error because of MySQL password has become ‘desynced’ with the account password.

You can fix the issue by match the password for the MySQL user with the cPanel password.

 

11)  SourceGuardian ixed Error

You can resolve the sourceguardian error by using the following steps.

a) In your cPanel WHM, under ‘Server Setup’, click ‘Tweak Settings’

b) In the ‘Software’ section, make sure that ‘sourceguardian’ is selected and hit ‘Save’ at the bottom of the page.

c) Log into SSH as ‘root’ and run: /scripts/upcp

 

12)  Fantastico is not installed at the default location. 

You can fix the issue by running the following commands.

/scripts/makecpphp

/etc/init.d/cpanel restart

 

That is how we can resolve common fantastico errors.

 

If you need any further help please reach our support department.

 

Was this article helpful?
Dislike 0
Views: 6