Unable to install more than one script in root directory

From Acenet Knowledgebase
Revision as of 10:13, 13 January 2013 by Docs admin (talk | contribs)
Jump to navigation Jump to search

Whenever a script is installed into a domain's root directory using Fantastico, a flag is added to the /home/USERNAME/.fantasticodata/installed_in_root.php file. This flag prevents Fantastico from accidentally overwriting the script within that root directory, corrupting your website.


If the installation is manually deleted, this flag must be cleared manually. Edit the /home/USERNAME/.fantasticodata/installed_in_root.php file, and locate the URL where the script was installed. That should be set to equal '1', which means that something is installed in that location. Change that value to zero, and save the file.


For an example, the installed_in_root.php would show:

<syntaxhighlight lang="bash"> $installed_in_root["example.com/wp"] = 1; </syntaxhighlight>

Set it to zero, and save the file.

<syntaxhighlight lang="bash"> $installed_in_root["example.com/wp"] = 0; </syntaxhighlight>