Script works perfectly on Hostgator but NOT on Bluehost

Discussion in 'Web Hosting' started by starscream, Oct 22, 2009.

  1. #1
    I have a script (php) that works perfectly on Hostgator but for some odd reason it won't work on Bluehost.

    After uploading the script and database to Bluehost, the logins to the site doesn't work (ie, i enter the username/pass) and it gives me an invalid error. Tried 20 different login/pass that worked fine on Hostgator the previous night but it won't work on Bluehost. Also the images and css are not showing up at all.

    So just a few minutes ago, I went ahead and uploaded the same script to Godaddy and Hextrixbyte hosting, and no problem, everything works PERFECTLY.

    Contacted Bluehost's tech but they said it was my script's fault for not working, stating:

    But how can this be true if this same script works fine on Hostgator, Godaddy, and Hetrixbyte hosting accounts?

    Anyone know if there is a special feature that Bluehost has on their server that might be causing this problem for me?

    Please help me, I already paid for a full year's subscription at Bluehost and I'm stuck :(
     
    starscream, Oct 22, 2009 IP
  2. frantech

    frantech Greenhorn

    Messages:
    96
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    20
    #2
    Hey there,

    You probably need register_globals enabled :)

    Thanks,

    Francisco
     
    frantech, Oct 22, 2009 IP
  3. starscream

    starscream Peon

    Messages:
    305
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It should also be noted that I realize that Bluehost server is not reading/recognizing this line in my code

    $site = "http://$HTTP_HOST/";[/b] In my...ng special going on on Bluehost's servers? :(
     
    starscream, Oct 22, 2009 IP
  4. starscream

    starscream Peon

    Messages:
    305
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi Francisco, thanks for your quick reply to help,

    How would I get register_globals enabled?

    Is it something I would do or do tech support need to do that for me?
     
    starscream, Oct 22, 2009 IP
  5. kind_of_the_cash

    kind_of_the_cash Active Member

    Messages:
    852
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #5
    Just simply contact your customer support
     
    kind_of_the_cash, Oct 22, 2009 IP
  6. starscream

    starscream Peon

    Messages:
    305
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Great, thanks for responding kind of the cash :)

    If you don't mind me asking, what does "register_globals enabled" do?

    Do you think that's the reason my site is not working on Bluehost based on what I explained above?

    Do some hosting companies have it automatically enabled while others like Bluehost have it disabled by default?

    I only ask this because I don't remember asking hostgator to enable that feature in the past :)
     
    starscream, Oct 22, 2009 IP
  7. frantech

    frantech Greenhorn

    Messages:
    96
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    20
    #7
    Hey there,

    register_globals is 'usually' seen as being a little iffy when it comes to security. With that being said, a lot of hosts have it enabled by default.

    You can check if you do by just making a file called like, phpinfo.php with this in it

    
    <?php phpinfo(); ?>
    
    PHP:
    Then check for register_global :)

    Thanks!

    Francisco
     
    frantech, Oct 22, 2009 IP
  8. starscream

    starscream Peon

    Messages:
    305
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks Francisco, I made the file like you suggested and checked both sites Hostgator and Bluehost. Hostgator has theirs "Enabled" while Bluehost was "Disabled".

    Keeping my fingers crossed that will fix the problem.

    Still waiting on Bluehost tech to Enable global_register. Surprisingly, they have been very slow at responding to my ticket requests. 12 hours the first time, and now it's been 15 hours for my 2nd ticket without a response :(
    Anyone know the average response time of Bluehost tech support?
     
    Last edited: Oct 22, 2009
    starscream, Oct 22, 2009 IP
  9. BeardConstance

    BeardConstance Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    may be they dont have same service on c panel like mysql php and perl and others you should take a professional to completely
    fix this problem.thank you
     
    BeardConstance, Dec 20, 2010 IP