Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Apr 2005
    Posts
    231
    Tokens
    0

    Default CrazyHabbo / HouseKeeping - Wont Work

    Just a General Questioon, Why wont they work ?

    All they do when i install them is remove user and thats it.

    Wont Add users
    Wont add server information
    Wont add Official DJ
    Wont allow you to book into timetable
    And many more..

    I have freinds of which it works fine for, but not me...

    Server spec.

    Operating system Linux
    Kernel version 2.6.9-42.0.3.EL
    Machine Type i686
    Apache version 1.3.37 (Unix)
    PERL version 5.8.7
    Path to PERL /usr/bin/perl
    Path to sendmail /usr/sbin/sendmail
    PHP version 4.4.4
    MySQL version 4.1.21-standard
    cPanel Build 10.9.0-RELEASE 118
    Theme cPanel X v2.6.0

    Any Help Would be appreciated. Of whic i got the owner of Giant-Developments ot have a go, and he got the same thing - that nothing would work.

    Cheers
    Habboshack.com
    Hosting / Shoutcast / Domains / Web Design
    VPS / Dedis / Gaming Servers(Coming Soon)

  2. #2
    Join Date
    Aug 2004
    Location
    United Kingdom
    Posts
    5,769
    Tokens
    1,249
    Habbo
    Beneficial

    Latest Awards:

    Default

    I think PHP Has to be 5.0.0+?
    what is fetch gretchen?

  3. #3
    Join Date
    Apr 2005
    Posts
    231
    Tokens
    0

    Default

    Thats also what I thought.

    Ill go rant at my host for a while, see what he can do, Cheers Pirates +Rep
    Hosting / Shoutcast / Domains / Web Design
    VPS / Dedis / Gaming Servers(Coming Soon)

  4. #4
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    K as im the maker of this exactly what error is it giving you if any?

    Your server on there has to have register globals turned on. When I made this they were and I could do that.

    But on your server they probably are not which means it needs to be defined in all posts.

    Register globals makes it so you dont have to put $username = $_POST[username]; but just $username.

  5. #5
    Join Date
    Apr 2005
    Posts
    231
    Tokens
    0

    Default

    Theres not really any specific errors, it merrly doesnt run at all.

    One of the many problems is when you try to add a user, you enter all the information asked and hit submit, only for the form to refresh with no validation of the user being created.

    This also happens with all timetable bookings, adding radio infrormation, ading Official DJs etc..

    Anything remotely linked to adding something or another..
    Any help would be appreciated.
    Hosting / Shoutcast / Domains / Web Design
    VPS / Dedis / Gaming Servers(Coming Soon)

  6. #6
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    K as im the maker of this exactly what error is it giving you if any?

    Your server on there has to have register globals turned on. When I made this they were and I could do that.

    But on your server they probably are not which means it needs to be defined in all posts.

    Register globals makes it so you dont have to put $username = $_POST[username]; but just $username.
    reaaaaaaaaaaddddddddddddd that

  7. #7
    Join Date
    Aug 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,351
    Tokens
    0

    Latest Awards:

    Default

    I have the same script. Have u edited the dbconfig.php's and the MySQL connection in the Index.php's? The only problem im having is booking timetable slots. It wont bloody work .

  8. #8
    Join Date
    Apr 2005
    Posts
    231
    Tokens
    0

    Default

    things I have tried:

    Adding 'php.ini' file containing 'register_globals = on'
    Editing all the related files with $username in them.

    The last one is a little vague as to which files require this editing Dentafrice. The php files that dont seem to work are; add_user.php as an example.

    I scanned through the coding of this and not on entry of '$username' was in there. and thus i could not replace.

    IF im wrong please point it out but you need to be more specific of files and edits...

    As for Lolly, im having the exact same problem and yes i have edited all 4 of the Index.html all 2 of the configs and the radio configs too and still nothing works.

    Care to point out how to fix this ?

    cheers anyway +rep for all if you help.
    Hosting / Shoutcast / Domains / Web Design
    VPS / Dedis / Gaming Servers(Coming Soon)

  9. #9
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    The things have to be defined.

    Like in the mysql insert it just says $username and $username IS NOT defined.

    You need to add it say:

    $username = $_POST[usernamefield];

  10. #10
    Join Date
    Apr 2005
    Posts
    231
    Tokens
    0

    Default

    Example of code from add_user.php

    Code:
    if($action == "register") {
    
    include ("dbConfig.php");
    
    if(!$username_register || !$password_register) { echo "<br><br><b>You must enter a username and password!</b>"; exit; }
    
    $password_register = ($password_register);
    
    $query = mysql_query("INSERT INTO `staff` (`username`, `password`, `email`, `level`) VALUES('$username_register', '$password_register', '$email_register', '$level_register')") or die("<br><b><font face=verdana size=1>Error: User not added to database.</b><br>
    
    You have got this error becuase the name you have chosen is being used by a current member or we cannot connect to the database, please try a different name or try again later");
    Give me an example of what I have to do

    Cheers for ya help Dentafrice. Im Repping
    Hosting / Shoutcast / Domains / Web Design
    VPS / Dedis / Gaming Servers(Coming Soon)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •