Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with installation #87

Closed
trentrbtaylor opened this issue Feb 2, 2016 · 5 comments
Closed

issue with installation #87

trentrbtaylor opened this issue Feb 2, 2016 · 5 comments

Comments

@trentrbtaylor
Copy link

Every time I try and install NamelessMC, I get this error.

[02-Feb-2016 00:20:52 Europe/London] PHP Notice: Undefined index: config in /home/trentrtaylor/public_html/mc/core/classes/Config.php on line 5
[02-Feb-2016 00:20:55 Europe/London] PHP Notice: Undefined index: config in /home/trentrtaylor/public_html/mc/core/classes/Config.php on line 5
[02-Feb-2016 00:20:57 Europe/London] PHP Notice: Undefined index: config in /home/trentrtaylor/public_html/mc/core/classes/Config.php on line 5
[02-Feb-2016 00:21:23 Europe/London] PHP Notice: Undefined index: config in /home/trentrtaylor/public_html/mc/core/classes/Config.php on line 5
[02-Feb-2016 00:21:23 Europe/London] PHP Notice: Undefined index: config in /home/trentrtaylor/public_html/mc/core/classes/Config.php on line 5
[02-Feb-2016 00:21:24 Europe/London] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'TripexDatabase.nl1_users_session' doesn't exist' in /home/trentrtaylor/public_html/mc/core/classes/DB.php:42
Stack trace:
#0 /home/trentrtaylor/public_html/mc/core/classes/DB.php(42): PDOStatement->execute()
#1 /home/trentrtaylor/public_html/mc/core/classes/DB.php(104): DB->query('SELECT * FROM n...', Array)
#2 /home/trentrtaylor/public_html/mc/core/classes/DB.php(134): DB->action('SELECT *', 'users_session', Array)
#3 /home/trentrtaylor/public_html/mc/core/init.php(76): DB->get('users_session', Array)
#4 /home/trentrtaylor/public_html/mc/index.php(32): require('/home/trentrtay...')
#5 {main}

thrown in /home/trentrtaylor/public_html/mc/core/classes/DB.php on line 42
[02-Feb-2016 00:21:49 Europe/London] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'TripexDatabase.nl1_users_session' doesn't exist' in /home/trentrtaylor/public_html/mc/core/classes/DB.php:42
Stack trace:
#0 /home/trentrtaylor/public_html/mc/core/classes/DB.php(42): PDOStatement->execute()
#1 /home/trentrtaylor/public_html/mc/core/classes/DB.php(104): DB->query('SELECT * FROM n...', Array)
#2 /home/trentrtaylor/public_html/mc/core/classes/DB.php(134): DB->action('SELECT *', 'users_session', Array)
#3 /home/trentrtaylor/public_html/mc/core/init.php(76): DB->get('users_session', Array)
#4 /home/trentrtaylor/public_html/mc/index.php(32): require('/home/trentrtay...')
#5 {main}

thrown in /home/trentrtaylor/public_html/mc/core/classes/DB.php on line 42

@samerton
Copy link
Member

samerton commented Feb 2, 2016

It looks like NamelessMC isn't installed in the root directory of your webserver (it is in the /mc directory); this is a requirement.

@trentrbtaylor
Copy link
Author

When I use it in the root directory, I always get a 404 error after clicking new install..

@samerton
Copy link
Member

samerton commented Feb 2, 2016

Check to see if there is a file in the root directory named ".htaccess" containing this code.

If there is, try following this guide (for Ubuntu).

@trentrbtaylor
Copy link
Author

With Godaddy, you cannot see the .htaccess file, although you can make a new one and overwrite it. I'll do that.

@samerton
Copy link
Member

samerton commented Feb 7, 2016

I'm going to close this issue as I believe it's a configuration issue on the host's side.

@samerton samerton closed this as completed Feb 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants