Issue with server account registration menu

User Tag List

Results 1 to 7 of 7
  1. #1
    denca's Avatar Member
    Reputation
    1
    Join Date
    Nov 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Issue with server account registration

    So guys i have a problem with my server account registration website i am using jeutie's blizzlike repack for wotlk 3.3.5a and the website that came with it so i set it up to be public.I dont have a problem making accounts with console but i know i need a website cus i wanna make it public since i already portforwarded the server and everything. my friends ( who are helping me test ) can't make an account here's the error message they get

    Database connection failed: Can't connect to MySQL server on '127.0.0.1' (111)

    Warning: mysqli::close(): Couldn't fetch mysqli in /srv/disk8/1981158/www/tempest-wow-registration.co.nf/SOAPRegistration.php on line 154

    Warning: mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (111) in /srv/disk8/1981158/www/tempest-wow-registration.co.nf/SOAPRegistration.php on line 109

    Note that i also get that error when trying to make an account

    here's the registration website Tempest WoW Account Registration so anyone has a solution to this i'd really be greatful

    Edit:
    Here's the lines 109 and 154

    109: $this -> db = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME);

    154: $this -> db -> close();
    Last edited by denca; 10-28-2015 at 11:03 AM.

    Issue with server account registration
  2. #2
    brotalnia's Avatar Elite User
    Reputation
    508
    Join Date
    Apr 2009
    Posts
    477
    Thanks G/R
    26/310
    Trade Feedback
    0 (0%)
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Are the website and the mysql database on the same machine? If not then that error is really obvious, the registration page is trying to connect to 127.0.0.1 which is the same computer, but there is no mysql there. You have to edit the configuration files and put the correct ip address. Also make sure the name and password are correct.

  3. #3
    denca's Avatar Member
    Reputation
    1
    Join Date
    Nov 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah they're not and i changed it but the issue is when i try to connect with the ip 192.168.x.x ip that i set now its kinda same i even tried using heidisql to try to login to the database to see what happens and it says that tempest-wow.servegame.com ( got that from no-ip thats how everyone connects ) is not allowed to connect to the database

    edit:

    Even with changed it still says database connection failed help please this is the last thing i need to do to make my server public
    Last edited by denca; 10-29-2015 at 08:28 AM.

  4. #4
    brotalnia's Avatar Elite User
    Reputation
    508
    Join Date
    Apr 2009
    Posts
    477
    Thanks G/R
    26/310
    Trade Feedback
    0 (0%)
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    192.168.x.x is a lan ip address. Unless the machine that is hosting the website is in the same lan network as the database server, it won't be able to connect. You need to type the actual wan address of the database server. To check what it is, type "what is my ip" in Google.

  5. #5
    denca's Avatar Member
    Reputation
    1
    Join Date
    Nov 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still the same error here's what the config file looks like

    // Database settings
    define('DB_HOST', '93.180.102.250 ');
    define('DB_USER', 'theusername');
    define('DB_PASS', 'thepass');
    define('DB_NAME', 'auth');

    // Soap settings
    define('SOAP_IP', '93.180.102.250');
    define('SOAP_PORT', '7878');
    define('SOAP_USER', 'soapdatabaseacc');
    define('SOAP_PASS', 'thepasswordfortheacc');

    just pasted in that part but still same issue any other ideas? btw im using biz.nf to host it uploaded the configs to there

  6. #6
    brotalnia's Avatar Elite User
    Reputation
    508
    Join Date
    Apr 2009
    Posts
    477
    Thanks G/R
    26/310
    Trade Feedback
    0 (0%)
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Are the required ports open on the database server? I think it's 3306 for mysql. If you are hosting on your home pc, is it maybe behind a router? If yes then you would need to forward all the ports to the correct lan ip.

    Also this ip 93.180.102.250 is offline for me, can't even ping it. The mysql server has to be online for the registration page to work.

  7. #7
    denca's Avatar Member
    Reputation
    1
    Join Date
    Nov 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes all the ports are open because me and 20 of my friends are currently playing on the server i made their accounts with the console and since serve is on apache and mysql are too

Similar Threads

  1. need help with server account creation site 1.12 mangos
    By evilmercenary in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 07-21-2012, 09:06 PM
  2. [Trinity] Can anyone help me out with adding account registration to my website?
    By Xioman in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 04-20-2011, 05:54 PM
  3. [Guide] How to make a great website with account registration [Noob Friendly]
    By King Shaun in forum WoW EMU Guides & Tutorials
    Replies: 84
    Last Post: 06-16-2008, 08:26 PM
  4. Replies: 5
    Last Post: 02-22-2008, 01:08 PM
  5. Issue With Server
    By foamysquirl in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-12-2008, 02:29 AM
All times are GMT -5. The time now is 11:33 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search