This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] Account Registration Page stupid simple errors  (Read 2033 times)

Domminust

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 100
    • View Profile
[SOLVED] Account Registration Page stupid simple errors
« on: February 20, 2015, 09:05:11 pm »
hi, been struggling with making an account registration page. First I had errors with mysql connection and then I realized I couldn't connect to mysql server except on my host machine and so I needed to specify profiles to which this rule applies in firewall settings. - selected all of them.
Now i can connect to mysql on my rdp from my Mac.

I've tried a few websites now using
Code: [Select]
http://www.ac-web.org/forums/showthread.php?155157-TrinityCore-Simple-Registration-Site


and I get this error:

Code: [Select]
Warning: mysql_connect() [function.mysql-connect]: Access denied for user '‘Domminust’'@'31.170.160.86' (using password: YES) in /home/a5582059/public_html/index.php on line 28


wtf thats not even my ip address and its not whats set in the config.php
it started happening after I re-configured the firewall and actually its happening with every registration pack I've tried.
« Last Edit: March 08, 2015, 05:22:05 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: [help] Account Registration Page stupid simple errors
« Reply #1 on: February 20, 2015, 09:56:48 pm »
Check in your user's privilege (with phpmyadmin) if the host of your user account is on "%".
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

Domminust

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 100
    • View Profile
Re: [help] Account Registration Page stupid simple errors
« Reply #2 on: February 20, 2015, 11:33:43 pm »
ok I am trying to figure out how to install myphpamin  :]

also I found that the i.p 31.170.160.86 is the address of the php 000webhost.com..
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Dottore

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 114
    • View Profile
Re: [help] Account Registration Page stupid simple errors
« Reply #3 on: February 21, 2015, 09:31:36 pm »
I suggest to try out azer cms or fusion cms instead of writing config files.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [help] Account Registration Page stupid simple errors
« Reply #4 on: February 22, 2015, 10:19:57 am »
'‘Domminust’'@'31.170.160.86'
Domminust = login
@ = separator
31.170.160.86 = IP where account is connecting to MySQL server FROM

Check in your registration web function config and in MySQL account manager:
Login (does it exist?)
Password (is it set correctly?)
IP

If your password is correct I would advice you to take a look especially at IP. When you create MySQL account, you can set if your account will be free to use from any connecting IP (you enter % as value) or if it will be bound to one IP, meaning that your account won't be accesible from any other IP address (you enter IP address).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Domminust

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 100
    • View Profile
Re: [help] Account Registration Page stupid simple errors
« Reply #5 on: March 01, 2015, 05:42:15 am »
Hey thanks for the tips, I got fusion cms up. Good stuff.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Domminust

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 100
    • View Profile
Re: [SOLVED] Account Registration Page stupid simple errors
« Reply #6 on: March 08, 2015, 12:11:20 am »
nevermind
« Last Edit: January 01, 1970, 01:00:00 am by Admin »