Skip to content

Common issues

Andreas edited this page Oct 31, 2023 · 12 revisions

C# Example: Error CS0246 The type or namespace name '....' could not be found...

Click to see fix
  1. Right-click on the project name to open a context menu.
  2. In the context menu, select "Manage NuGet Packages..." option.
  3. This will open the "NuGet Package Manager" window.
  4. Click on the "Restore" button in the top-right corner of the "NuGet Package Manager" window.

Discord Bot Example: Value error: Invalid response format: 'status' not found or not 'success'

Click to see fix for Linux

    Linux:

  1. Run ifconfig | grep -oE 'inet [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | awk '{print $2}' or ip addr | grep -oE 'inet [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | awk '{print $2}'
  2. Copy your IP Address.
  3. Click on Admin in the panel navbar.
  4. Click on IP Whitelist.
  5. Add the IP Address you copied before.

Click to see fix for Windows

    Windows:

  1. Run the bot on the same server as the api.
  2. or
  3. Go to IP Chicken on the device on which the bot should run.
  4. Click on Admin in the panel navbar.
  5. Click on IP Whitelist.
  6. Add the IP Address from IP Chicken.

setup.php: "Please change your PHP version to 8.0 or higher"

The panel needs certain functions that are only available in PHP 8.0.x

setup.php: "PHP does not have read and write access to usercontent/avatar"

To resolve this issue, you can set the directory owner to the PHP user using the command sudo chown -R www-data /var/www/ on Linux. This will give PHP read and write access to the usercontent/avatar directory.

Error 500: "Invalid command 'php_flag' perhaps misspelled or defined by a module not included in the server configuration"

If you encounter this error message, it means that your web space uses apache and does not support the use of the .htaccess file. To fix this issue, you should delete the .htaccess file, as it is not necessary for your web space and may cause problems. The .htaccess file is only used to configure the PHP error log.


I am always getting redirected to e.g /panel...

If you are experiencing issues with incorrect redirects, it is likely due to an incorrect setting in the app/core/Config.php file. Double-check that the subdirectory in this file is set correctly, as this can affect how the application routes requests. (and check the setup.php)


MySQL Error: "Access denied for user 'username'@'localhost' (using password: YES)"

This error means the MySQL user lacks the necessary database permissions. Check the username, password, and permissions.


"No such file or directory in C:\xampp\htdocs\..."

The panel doesn't work with xampp. Please use a free hoster if you want to test it.


Other problems when using free hoster

The hosters infinityfree and epizy can not be used to host the panel.

Free host alternatives:

000webhost
awardspace
byte-host

Cheap paid host alternatives:

Hetzner
Digital Ocean
IONOS


Do you still have a problem?

Click here to submit a bug report or feature request