Difference between revisions of "Installation:website"

From NeutronAdmin
Jump to: navigation, search
m
 
(8 intermediate revisions by 5 users not shown)
Line 7: Line 7:
 
* Fill in the installation form
 
* Fill in the installation form
  
 +
===== Blank Page (Redirect Error) =====
 +
If you get redirected to a blank page, you haven't followed the steps above or you have to contact us via [[gmodstore.com]]. This could happen on XenForo and Hostinger website hosting.
 +
 +
====== Windows ======
 +
The next step is for Windows only!
 +
* Create the cache/auto folder
 +
* Right click on it -> Properties -> Security and make sure guests have access to write to the directory
 +
 +
====== Linux ======
 +
* Create the cache/auto folder
 +
* Right click on the cache/auto folder in filezilla/WinSCP and give it 0777 chmod permissions
 +
* Right click on the cache folder in filezilla/WinSCP and give it 0777 chmod permissions ''recursively''
 +
* (Alternatively just run the SSH command ''sudo chmod 0777 cache/* ''whilst in the Prometheus working directory)
 +
'''Both'''
 +
 +
If the blank page issue persists, please find a PHP error log and submit a ticket over at [[gmodstore.com]] with the error log. It's likely you are missing a depdendency.
 +
 +
=== IF YOU USE NGINX (VERY IMPORTANT) ===
 +
 +
Make sure to make your cache folder inaccessible to the public through nginx.conf or your website's config. You can do this by adding a new location block:
 +
 +
<pre style="color: red">
 +
location ~ /path/to/neutronadmin/cache {
 +
        deny  all;
 +
}
 +
</pre>
  
 
'''Done'''
 
'''Done'''
 +
 
You have now installed NeutronAdmin's web part. Move on to installing the [[Installation:lua|lua part]]
 
You have now installed NeutronAdmin's web part. Move on to installing the [[Installation:lua|lua part]]

Latest revision as of 19:08, 5 January 2020

Installing NeutronAdmin's web portion

  • Drop the files from "Web files" in the neutronadmin-complete.zip into a directory on your webserver, preferrably /admin, /apanel, /panel, or /neutronadmin. It's your choice, but you want to make the panel easily accessible for all your admins / moderators.
  • Configure the config.php file to match your MySQL database credentials
  • On your webhosts controlpanel you need to whitelist all your Garry's Mod servers' IPs in "Remote MySQL connections", if you're using NFO this is done by ticking "Allow external connections"
  • Now navigate to http://yourdomain.com/neutron/ or wherever you installed it and append install.php to the URL.
  • Fill in the installation form
Blank Page (Redirect Error)

If you get redirected to a blank page, you haven't followed the steps above or you have to contact us via gmodstore.com. This could happen on XenForo and Hostinger website hosting.

Windows

The next step is for Windows only!

  • Create the cache/auto folder
  • Right click on it -> Properties -> Security and make sure guests have access to write to the directory
Linux
  • Create the cache/auto folder
  • Right click on the cache/auto folder in filezilla/WinSCP and give it 0777 chmod permissions
  • Right click on the cache folder in filezilla/WinSCP and give it 0777 chmod permissions recursively
  • (Alternatively just run the SSH command sudo chmod 0777 cache/* whilst in the Prometheus working directory)

Both

If the blank page issue persists, please find a PHP error log and submit a ticket over at gmodstore.com with the error log. It's likely you are missing a depdendency.

IF YOU USE NGINX (VERY IMPORTANT)

Make sure to make your cache folder inaccessible to the public through nginx.conf or your website's config. You can do this by adding a new location block:

location ~ /path/to/neutronadmin/cache {
        deny  all;
}

Done

You have now installed NeutronAdmin's web part. Move on to installing the lua part