[Website] Mangos Account Creation Page Error.. Help? menu

Shout-Out

User Tag List

Results 1 to 15 of 15
  1. #1
    Hyldran0's Avatar Contributor
    Reputation
    118
    Join Date
    Nov 2008
    Posts
    374
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Website] Mangos Account Creation Page Error.. Help?

    Hello !

    I'v been doing my Mangos Acc Creation Page and it worked untill i checked it and in my browser it's like this:



    Well if you know what the problem is please fix it in this:

    Code:
    <?php include('function.php'); ?>
    <head>
    <html>
    <title>Account Registration</title> 
    <link rel="stylesheet" type="text/css" href="style.css">
    </head>
    <body style="background-image:url(<?php include ('configs.php'); echo $image ?>);font-family:arial;font-size:15px;color:<?php echo $textcolor ?>;"><?php if($_GET['do'] == "register") { Register(); }elseif($_GET['error']) { Error("" . $_GET['error'] . ""); }else{ ?>
    <div id="main">
    <center><form action='?do=register' method='POST'>
    <br />
    <h2 style="color:<?php echo $headercolor ?>;">Register Account!</h2>
    <b>Username:</b><br />
    <input type="text" name="user" value="" onfocus="this.value='';">
    <br />
    <b>Password:</b><br />
    <input type="password" name="password" value="" onfocus="this.value='';">
    <br />
    <div id="radio">
    <input type="radio" name="flags" value="0">
    Classic
    <br />
    <input type="radio" name="flags" value="1">
    Burning Crusade
    <br />
    <input type="radio" name="flags" value="2">
    Wotlk
    </div>
    <br />
    <input type="submit" value="Register"></td></tr></table>
    </div>
    <br />
    <br />
    <div id="extra">
    <br />
    <?php echo $message; ?>
    <br />
    </form>
    <div id="footer">
    <h5>Copyright (C) <?php echo $message2 ?> All Rights Reserved</h5>
    </div>
    </center>
    <?php } ?>
    </span>
    </body>
    </html>

    Giveing away 2 Cookies if you know the problem!

    ~Hyldran0~
    Last edited by Hyldran0; 05-15-2010 at 04:04 PM.
    Shit's Gone Real

    [Website] Mangos Account Creation Page Error.. Help?
  2. #2
    lol97899's Avatar Contributor
    Reputation
    104
    Join Date
    Nov 2008
    Posts
    262
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try changing this:
    <?php } ?>
    to
    ?>
    in the post over ^
    Last edited by lol97899; 05-15-2010 at 12:48 PM.


  3. #3
    Hyldran0's Avatar Contributor
    Reputation
    118
    Join Date
    Nov 2008
    Posts
    374
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <?php
    $mysql_host = "5.91.247.146"; // The MySQL Host. Usualy localhost
    $mysql_user = "root"; // Your MySQL Username
    $mysql_pass = "ascent"; // Your MySQL Password
    $mysql_db = "realmd"; // Your Logon Database. (where your accounts is stored)
    $message = "Hello and Welcome to Temple Test Realm! <br />Set Realmlist 5.91.247.146"; // This is the bottom message at the page.
    $message2 ="Yoursite.com"; //Your server name. This is for the copyright
    
    /*Customize the Look */
    $image = "img/background.jpg"; //enter the directory of your background... Include the type. for example png, jpg, gif etc..
    $textcolor = "yellow"; //change the color of the text here!
    $headercolor = "red"; // The color of the header.
    //***************************************************************
    //If you message gets to long, then use "<br />"
    //This will make it skip to a new line!
    //
    //
    //***************************************************************
    
    $core = "1"; // Type 1 to make it for MaNGOS. Type 2 to make it for ArcEmu. 
    ?>
    EDIT: Ehhmm ?? there are like 2-3 places there says so ?? xD Sorry :O can u change and Send the Whole Script ?
    Last edited by Hyldran0; 05-15-2010 at 12:50 PM.
    Shit's Gone Real

  4. #4
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Hyldran0 View Post
    Code:
    <?php
    $mysql_host = "5.91.247.146"; // The MySQL Host. Usualy localhost
    $mysql_user = "root"; // Your MySQL Username
    $mysql_pass = "ascent"; // Your MySQL Password
    $mysql_db = "realmd"; // Your Logon Database. (where your accounts is stored)
    $message = "Hello and Welcome to Temple Test Realm! <br />Set Realmlist 5.91.247.146"; // This is the bottom message at the page.
    $message2 ="Yoursite.com"; //Your server name. This is for the copyright
    
    /*Customize the Look */
    $image = "img/background.jpg"; //enter the directory of your background... Include the type. for example png, jpg, gif etc..
    $textcolor = "yellow"; //change the color of the text here!
    $headercolor = "red"; // The color of the header.
    //***************************************************************
    //If you message gets to long, then use "<br />"
    //This will make it skip to a new line!
    //
    //
    //***************************************************************
    
    $core = "1"; // Type 1 to make it for MaNGOS. Type 2 to make it for ArcEmu. 
    ?>
    I see nothing wrong with this.

  5. #5
    Hyldran0's Avatar Contributor
    Reputation
    118
    Join Date
    Nov 2008
    Posts
    374
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by P1raten View Post

    I see nothing wrong with this.
    Well.. It's not that one xD it's the Index.php File in my Thread
    Shit's Gone Real

  6. #6
    lol97899's Avatar Contributor
    Reputation
    104
    Join Date
    Nov 2008
    Posts
    262
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i cant test since i dont have Mangos, i tried:

    <?php include('function.php'); ?>
    <head>
    <html>
    <title>Account Registration</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    </head>
    <body style="background-image:url(<?php include ('configs.php'); echo $image ?>);font-family:arial;font-size:15px;color:<?php echo $textcolor ?>;"><?php if($_GET['do'] == "register") { Register(); }elseif($_GET['error']) { Error("" . $_GET['error'] . ""); }else{ ?>
    <div id="main">
    <center><form action='?do=register' method='POST'>
    <br />
    <h2 style="color:<?php echo $headercolor ?>;">Register Account!</h2>
    <b>Username:</b><br />
    <input type="text" name="user" value="" onfocus="this.value='';">
    <br />
    <b>Password:</b><br />
    <input type="password" name="password" value="" onfocus="this.value='';">
    <br />
    <div id="radio">
    <input type="radio" name="flags" value="0">
    Classic
    <br />
    <input type="radio" name="flags" value="1">
    Burning Crusade
    <br />
    <input type="radio" name="flags" value="2">
    Wotlk
    </div>
    <br />
    <input type="submit" value="Register"></td></tr></table>
    </div>
    <br />
    <br />
    <div id="extra">
    <br />
    <?php echo $message; ?>
    <br />
    </form>
    <div id="footer">
    <h5>Copyright (C) <?php echo $message2 ?> All Rights Reserved</h5>
    </div>
    </center>
    ?>
    </span>
    </body>
    </html>
    :S
    Last edited by lol97899; 05-15-2010 at 12:58 PM.


  7. #7
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <?php include('function.php'); ?>
    <head>
    <html>
    <title>Account Registration</title> 
    <link rel="stylesheet" type="text/css" href="style.css">
    </head>
    <body style="background-image:url(<?php include ('configs.php'); echo $image ?>);font-family:arial;font-size:15px;color:<?php echo $textcolor ?>;"><?php if($_GET['do'] == "register") { Register(); }elseif($_GET['error']) { Error("" . $_GET['error'] . ""); }else{ ?>
    <div id="main">
    <center><form action='?do=register' method='POST'>
    <br />
    <h2 style="color:<?php echo $headercolor ?>;">Register Account!</h2>
    <b>Username:</b><br />
    <input type="text" name="user" value="" onfocus="this.value='';">
    <br />
    <b>Password:</b><br />
    <input type="password" name="password" value="" onfocus="this.value='';">
    <br />
    <div id="radio">
    <input type="radio" name="flags" value="0">
    Classic
    <br />
    <input type="radio" name="flags" value="1">
    Burning Crusade
    <br />
    <input type="radio" name="flags" value="2">
    Wotlk
    </div>
    <br />
    <input type="submit" value="Register"></td></tr></table>
    </div>
    <br />
    <br />
    <div id="extra">
    <br />
    <?php echo $message; ?>
    <br />
    </form>
    <div id="footer">
    <h5>Copyright (C) <?php echo $message2 ?> All Rights Reserved</h5>
    </div>
    </center>
    </span>
    </body>
    </html>
    Why is line 7 so messed up? :S

  8. #8
    Hyldran0's Avatar Contributor
    Reputation
    118
    Join Date
    Nov 2008
    Posts
    374
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm.. Please you know the problem ?? Or can i take a look at it and fix it ? :O please
    Shit's Gone Real

  9. #9
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As P1raten pointed out, Line 7 (As stated in the error) is badly coded

    Code:
    <body style="background-image:url(<?php include ('configs.php'); echo $image ?>);font-family:arial;font-size:15px;color:<?php echo $textcolor ?>;"><?php if($_GET['do'] == "register") { Register(); }elseif($_GET['error']) { Error("" . $_GET['error'] . ""); }else{ ?>
    The part that is causing the error is this:

    Code:
    ?php if($_GET['do'] == "register") { Register(); }elseif($_GET['error']) { Error("" . $_GET['error']
    As its undefined, although I dont know the fix, thats the proper issue.






  10. #10
    Hyldran0's Avatar Contributor
    Reputation
    118
    Join Date
    Nov 2008
    Posts
    374
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kiev View Post
    As P1raten pointed out, Line 7 (As stated in the error) is badly coded

    Code:
    <body style="background-image:url(<?php include ('configs.php'); echo $image ?>
    <script type="text/javascript"><!--
    var _gaq = _gaq || [];
    _gaq.push(
    ['_setDomainName', '.mmowned.com'],
    ['_setAccount', 'UA-2104982-2'],
    ['_trackPageview']
    );
    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    document.documentElement.firstChild.appendChild(ga);
    })();
    //-->
    </script>
    );font-family:arial;font-size:15px;color:<?php echo $textcolor ?>;"><?php if($_GET['do'] == "register") { Register(); }elseif($_GET['error']) { Error("" . $_GET['error'] . ""); }else{ ?>
    The part that is causing the error is this:

    Code:
    ?php if($_GET['do'] == "register") { Register(); }elseif($_GET['error']) { Error("" . $_GET['error']
    As its undefined, although I dont know the fix, thats the proper issue.


    Yeah i know that ! But i hope there is someone who can fix it?? i would really need that. Haveing a server and can't do much whitout a Account Creation page. over 50 members joining and kinda hard to creat accounts to all of them by myself.. It would be REALLY great if someone could fix it!
    Shit's Gone Real

  11. #11
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The account page should still work. Its not a error, more a warning.

    Im not sure how to stop it creating the warning though.




  12. #12
    Hyldran0's Avatar Contributor
    Reputation
    118
    Join Date
    Nov 2008
    Posts
    374
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well when i try to create account it says:
    Code:
    Notice: Undefined index: do in C:\wamp\www\index.php on line 7
    Error querying database.
    But i'v did the the configs.
    Shit's Gone Real

  13. #13
    JD's Avatar Fedora Potato Johnson V
    Reputation
    1113
    Join Date
    Jan 2008
    Posts
    3,129
    Thanks G/R
    12/89
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed it for him (well, it worked on my computer with all the databases and shit)




  14. #14
    shadowman465's Avatar Member
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can anyone post how to fix this problem because I am getting the same error

  15. #15
    daycro's Avatar Sergeant
    Reputation
    1
    Join Date
    Jul 2010
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Download this Filebeam - Beam up that File Scottie! ..... Download and install Xampp apache friends - xampp ....then extract Mangos website and paste all files from Mangos Website.rar to
    C:\xampp\htdocs run Mysql Server from repack and Apache server from Xampp Control panel...So that should fix ur error...

Similar Threads

  1. Mangos Account Creation Page with ReggAcc
    By andross_01 in forum WoW EMU Guides & Tutorials
    Replies: 31
    Last Post: 07-07-2010, 01:38 PM
  2. [MaNGOS] account creation page error :( HELP!
    By beerent in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 04-06-2010, 05:35 AM
  3. Mangos account creation page
    By havak in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 04-17-2009, 04:30 AM
  4. [Help/MaNGOS] Account Creation Page
    By Tkreder123 in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 03-25-2008, 07:11 AM
  5. [Help] Need Mangos Account Creation Page
    By hahaowned in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 10-10-2007, 12:36 PM
All times are GMT -5. The time now is 02:16 PM. 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