# Possible Errors & Quick Fix

You uploaded an archive with the wrong structure. Please use `/update` or `/updatesubdomain` command to update your domain or subdomain with the correct `.zip` archive

<figure><img src="https://3695276748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhxIP3ibv9PPfOUXmHZ5G%2Fuploads%2FyyfEhihCoLPFYcwBAdyv%2Fimage.png?alt=media&#x26;token=bb9abd78-6b0a-42cc-8c11-2c6e5dc69732" alt=""><figcaption></figcaption></figure>

#### Failed to add domain to Cloudflare <a href="#failed-to-add-domain-to-cloudflare" id="failed-to-add-domain-to-cloudflare"></a>

In some cases Cloudflare may not accept your domain. The error may appear several times. You need to reuse the `/host` command as long as your site is hosted

#### Failed to change nameservers

Your domain has been `banned` - please use another domain

#### Failed to register domain

The domain you have chosen is already registered or you have chosen Premium domain (popular word in the name or short liquid address). You can use any external `lookup` service to check for availability

#### Solutions for issues related to `secureproxy.php` & red warnings banners

Only if you are no using Drakard Bot and are hosting on your own server:

You are not using `secureproxy.php` (it is missing from your archive - possibly you are using an older zip file that doesn’t include secureproxy.php). If you do have the file, make sure it is located in the root directory (the same place as `index.html`)

If the file is in the correct location, perform the following checks:

1. PHP Support\
   Make sure your hosting provider supports PHP and that PHP is actually installed on the server
2. PHP Version\
   If PHP is installed, verify that its version meets the requirements (from 7.\* to 8.\*). To check the version, run:\
   `php -v`\
   If the command outputs the version information, ensure it matches the required range UPD. (u need install php curl): `sudo apt-get install php8.1-curl`
3. File Permissions and Server Configuration\
   Make sure that file permissions and server settings do not prevent `secureproxy.php` from working properly
4. PHP Functionality\
   Verify that the `secureproxy.php` file is present in the root directory. Then open it in your browser (for example, yourdomain.com/secureproxy.php) and check if it shows “Missing endpoint”

If it does not appear or you get an error, try restarting PHP and the web server

Restarting PHP and the web server (a guaranteed method even if you don’t know the exact version):\
If PHP runs via PHP-FPM, try:\
`sudo systemctl restart php-fpm`\
If that doesn’t work, run:\
`systemctl list-units --type=service | grep -E 'php.*-fpm'`\
In the output, find the active service (for example, php7.4-fpm or php8.0-fpm) and restart it with:\
sudo systemctl restart \<service\_name>

If you use Apache with the PHP module, restart Apache with:\
`sudo systemctl restart apache2`\
or `sudo service apache2 restart`

If you use Nginx with PHP-FPM, restart PHP-FPM first (as above), then restart Nginx with:\
`sudo systemctl restart nginx` or `sudo service nginx restart`

{% hint style="danger" %}
Note that the drainer does not work on free domains such as `web.app`, `vercel.app`, `pages.dev`, `workers.dev`, and `netlify`
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.angelferno.us/angel-ferno-bot-control/possible-errors-and-quick-fix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
