Skip to content
Marck200 edited this page Jan 5, 2020 · 26 revisions

FAQs

Here you can find a list of frequently asked questions and their answers.


I'm getting a 404 Not Found error whilst trying to install NamelessMC on Apache

One possibility is that you've installed NamelessMC within a subdirectory. A requirement for the package to function is that the files are installed directly into your root directory, or you use a subdomain to point to the subdirectory.

If this is not the case, you will need to modify your server configuration to enable the use of .htaccess files and also Apache's mod_rewrite module.

Usually this occurs if you are running Apache on Ubuntu/Debian, in which case the following should resolve your issue:

  • Edit /etc/apache2/sites-available/000-default.conf (or whichever conf file corresponds to your Nameless installation)
  • Before the bottom </VirtualHost>, add (but replace /var/www/html with the directory Nameless is installed in):
<Directory /var/www/html>
    AllowOverride All
</Directory>
  • Save and exit the file
  • Type sudo a2enmod rewrite to enable Apache's rewrite module
  • Type sudo service apache2 restart to restart Apache

Finally, ensure a file named .htaccess exists in your web server's root directory containing these rules.


I'm getting a 404 Not Found error whilst trying to install NamelessMC on nginx

You need to make sure your nginx configuration file matches the example configuration file provided by Nameless, specifically the

	location / {
		try_files $uri $uri/ /index.php?$args;
	}

block.


Where can I download the NamelessMC plugin?

The NamelessMC plugin is still a work in progress, but there is a pre release to download. If there is any bugs report them here. The plugin currently supports Spigot and BungeeCord, NOT Bukkit. Download here


NamelessMC won't send emails to users

Nameless will try to use PHP's mail function by default, however if this doesn't work there are a few alternatives available.

The first is to install sendmail (for example, sudo apt-get install sendmail and then sudo sendmailconfig on Ubuntu), and then configure PHP to use this (see the "Configuring PHP mail() function" section of this page, Ubuntu).

The second is to configure NamelessMC to use either an SMTP server or Gmail. If you want to use SMTP, try the steps in this post, and if you want to use Gmail try these steps instead. After completing either of these, you need to head into the AdminCP -> Core -> Email and disable the Use PHP mail() function?.

Finally, you can disable email verification altogether by disabling Enable email account verification? in the AdminCP -> Core -> Email tab, although this isn't recommended as it could effectively mean users can register with any email address.


I'm getting a white screen after installing NamelessMC

This is usually caused by the cache folder within the web root (and its subdirectories) not being writable. You will need to modify the permissions recursively of the folder so the process running PHP can write to it.

An example command for Apache and nginx on Ubuntu is

sudo chown -R www-data:www-data /var/www/html/cache


My core/config.php is not writable!

Error: Your core/config.php is not writable. Please check your file permissions.

Solution: Check the file permissions on the core/config.php file and make sure it is set to 775. If you don't know how to change the file permissions or having other difficulties, click here for a helpful video.


How can I set a favicon?

Setting a favicon is very simple! Keep in mind the process is different on both versions of Namelesss!

NamelessMC V1

  • Make sure the favicon is named favicon.ico (Notice the .ico format - for example don't rename a .png to a .ico)
  • Upload the favicon to the /core/assets directory.
  • If you cannot see the newly added favicon, all you have to do is clear the browser cache by viewing your site and pressing Ctrl + F5 on Windows, or Cmd + Shift + R on MacOS.

NamelessMC V2

  • Make sure the favicon is named favicon.ico (Notice the .ico format - for example don't rename a .png to a .ico)
  • Upload the favicon to the root directory (public_html, htdocs, or /var/www/html).
  • If you cannot see the newly added favicon, all you have to do is clear the browser cache by viewing your site and pressing Ctrl + F5 on Windows, or Cmd + Shift + R on MacOS.

How can I upgrade to NamelessMC V2?

Keep in mind, NamelessMC V2 is not for public sites. If you want to upgrade from v1, follow the instructions below. You will not be able to downgrade after you finished upgrading to the new version of Nameless so be sure to backup your site!

1 - Backup your current v1 files and your database.

2 - Remove all the v1 files from your web server.

3 - Upload all the v2 files from the Github using the links provided below.

4 - Run through the installer and make sure you select that this is an upgrade from v1 when installing.

Latest Pre-Release (v2 - pre7) - Click here!

Latest Development Code (Use at your own risk!) - Click here!