samerton / NamelessMC

A complete Minecraft-related PHP website package. Please note this is an old repository, a link to the new repo is in the readme
https://github.com/NamelessMC/Nameless
MIT License
39 stars 17 forks source link

Page displays text instead of bootstrap. #67

Closed BurritoWrapped closed 8 years ago

BurritoWrapped commented 8 years ago

Hey - I'm having trouble installing the software where when I try to load the page, where instead I just get a the page code displayed.

BurritoWrapped commented 8 years ago

BUMP

TheMeq commented 8 years ago

Does your host support PHP? If not, your server won't know how to process it and display it as plain text

Sent from my iPhone

On 12 Nov 2015, at 16:58, Lachlan notifications@github.com wrote:

BUMP

— Reply to this email directly or view it on GitHub.

samerton commented 8 years ago

Hi,

As @TheMeq says, it sounds as though PHP isn't installed. If it is, would you be able to send me a link to your site?

BurritoWrapped commented 8 years ago

EDIT: Here: http://error.clashpvp.me:8070/

samerton commented 8 years ago

Yup, looks as though PHP isn't installed. Are you running the website on a dedicated server?

BurritoWrapped commented 8 years ago

I'm using a 6GB vps from VPSDime.

samerton commented 8 years ago

It looks like you already have Apache on there; try the following commands.

sudo apt-get install php5 libapache2-mod-php5

Once that's done, try the following command:

a2query -m php5

If it says the php5 module is not enabled, simply enable it with

sudo a2enmod php5 sudo service apache2 restart

samerton commented 8 years ago

I believe this is an issue with the server configuration and not Nameless itself; I'll close this issue for now.