KevinJDurant / OpenTorrentSite

A modern torrent site template that is easy to setup with an intuitive GUI. Currently in development.
MIT License
59 stars 24 forks source link

Access denied for user #2

Closed ghosthosting closed 6 years ago

ghosthosting commented 6 years ago

PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user '-----'@'localhost' (using password: YES) in /home/theghost/public_html/php/libs/database.php on line 16

KevinJDurant commented 6 years ago

Hi

Are you sure you entered the right credentials in config/config.ini.php? Does the user you've provided for the server have enough permissions on the database?

lninjo123 commented 6 years ago

I have the same issue do I have to uncomment the user credentials?

ghosthosting commented 6 years ago

import all -sql Hello Kevin config privilleges

i entered the right credentials in config/config.ini.php

ghosthosting commented 6 years ago

i'm not using ftp connection

do you think that was the problem.

and is there a way i can install this them on WordPress?

also Thanks for your hard work it is much appreciated

ghosthosting commented 6 years ago

dad-you-are-the-king

KevinJDurant commented 6 years ago

@lninjo123 Don't uncomment the credentials, it's commented for security reasons, it still gets picked up by the code.

@ghosthosting I've never tried wordpress so I can't help. Do you still have that connection issue? I think your dbname should be 'theghost_newzaz', your username 'theghost_root' and then your password.

Sorry for the late responses guys, I'm very busy IRL atm.

ghosthosting commented 6 years ago

Thanks Kevin everything works fine now.

i FINALLY UPLOAD MY FIRST TORRENT.

ONLY problem that i face now .

information about
Seeds, Leech,Download

not working.

sorry to trouble you again.

KevinJDurant commented 6 years ago

@ghosthosting

The reason you might not get any seeders/leechers statistics is because your hosting doesn't support/allow UDP requests, only HTTP requests.

Are you hosting it yourself or using a payed service?

More info on this issue: https://github.com/medariox/Scrapeer/issues/12

ghosthosting commented 6 years ago

Hi Kevin

for hosting i'm using a payed service.

Thanks for your support .

KevinJDurant commented 6 years ago

@ghosthosting

You will need to talk to your hosting provider and ask them if they can allow the UDP protocol. Some hosting providers require you to buy a static IP or a VPS service.

There is nothing I can do codewise to prevent this.

ghosthosting commented 6 years ago

understood Kevin.

Thank You very much for your support.