Cpanel: Fantastico error “You cannot install more than one script in root directory”

Cpanel: Fantastico error “You cannot install more than one script in root directory”

Cpanel: Fantastico error “You cannot install more than one script in root directory”

We have a client having a domain hosted on Linux/Apache based server. We offer cpanel with fantastico for this type of hosting.

He first installed wordpress on his domain. But he had some errors on it. So he removed the wordpress installation manually (deleted files and database) and tried to install wordpress again using fantastico. However, he was receiving the following error:

You cannot install more than one script in the root directory of a domain.

Cause:

This error can occur because of the following reasons:

1) Previous installation of script in the root folder (main domain or any addon domain) was removed manually.
2) Fantastico itself hasn’t removed the previous installation properly.

Solution :

1) Login into your cPanel
2) Go to Filemanager.

cpanel1

3) Now go to .fantasticodata then select the file name installed_in_root.php and remove the following code.

<?
$installed_in_root[“yourdomain.com”] = 1;
?>

cpanel2

cpanel3

cpanel4

Removing this code fixed the issue and he was then able to install script to the root directory.

Leave a Reply

Your email address will not be published. Required fields are marked *