Saturday, June 19, 2010

Fantastico is not installed at the default location

SkyHi @ Saturday, June 19, 2010

The error was


Fantastico is not installed at the default location
/usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory
from it's current location to /usr/local/cpanel/3rdparty/fantastico OR
enable ioncube loaders in WHM -> Tweak settings.

Enabling ioncube did not fix it for me. Maybe it will for you. After looking I found cpanel now uses /var/cpanel/3rdparty/bin/php NOT /usr/local/cpanel/3rdparty/bin/php

After doing a php info I saw it did not have a php.ini file in the new location. The fix was:


cp /usr/local/cpanel/3rdparty/etc/php.ini /var/cpanel/3rdparty/etc<br />

Other Possible Fixes


You may want to first try enabling ioncube in WHM->Tweak Settings

Second you may want to try to update fantastico with cd /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/scripts/ ; /usr/local/cpanel/3rdparty/bin/php cron.php

Third you may want to rebuild cpanel's php with /scripts/makecpphp

Fourth you may want to try a cpanel update with /scripts/upcp --force



Today I found this error while trying to open Fantastico page in cPanel.


Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.





Though I did not do this in my case, if you are facing same problem, first of all, try restarting cpanel.


service cpanel restart



I have made it confirm that ioncube is installed. However, I reinstalled it by following command:



/scripts/phpextensionmgr install IonCubeLoader



This did not solve the problem. Then somewhere in forum/blog I have read it that rebuilding cpanel’s internal php may solve it. I did that:


/scripts/makecpphp



I have restarted cPanel (look above for command) and the problem is fixed like magic.


REFERENCES

http://wiki.cpaneldirect.net/wiki/index.php/Fantastico_is_not_installed_at_the_default_location

http://controlpanelblog.com/cpanel/fantastico-is-not-installed-at-the-default-location-usrlocalcpanel3rdpartyfantastico-either-move-the-fantastico-directory-from-its-current-location-to-usrlocalcpanel3rdpartyfantastico-or.html