Jump to content

Nathan Johnson

Members
  • Posts

    60
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Nathan Johnson

  1. I'm on Stevie and I'm getting this error too. Also when I try to open phpMyAdmin, I am getting the error that Kli is getting:

     

    Sometimes, when I'm using phpMyAdmin, I also sometimes get "#1045 - Access denied for user 'root'@'localhost' (using password: NO)".
  2. Okay, it has been down all day today now. What's wrong with Stevie?

     

    Maybe, as xwinuser has said, adding another server or something would really help. But I know that won't happen, but if it was possible that would probably really balance out everything. Also how much sites are hosted on Stevie? It seems like a lot to be down so much. :mellow:

     

    Hopefully it will be fixed soon. I probably could have gotten loads of stuff done today on my PHP application that I'm making if it wasn't down. Good luck guys on getting Stevie back up and running. :)

  3. I close them all the time, as early as possible. I wasn't aware of any auto-closing at end of page (there might well be, I've never really given it any thought or read up on it). However if it frees up a connection slot a few milliseconds earlier on a shared server, being wrong dosen't do any harm. ;)

     

    Yeah, I'm gonna start closing them. They do close by themselves at the end of the page, but I think closing them sooner would be much better as it is only getting some info from the database, putting the info into variables, and that's it, so closing it after would be better, because if it closes it at the end, it is a longer-open connection.

     

    Also, the manual says:

     

    Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.

     

    But, once again, closing it before the end of the page is probably better.

  4. This is probably stating the obvious, but sometimes we overlook these things.

     

    Could it be that you're not closing connections after use?

    They may be accumulating if many connections are established within a short amount of time. Some sort of loop elsewhere which skips a closure may also be responsible for this.

     

    I don't know the settings on Stevie, but max_conn on Johnny is 30 and i'd expect much of the same there, it wouldn't take much clicking through pages to exceed that limit, especially if there's more than 1 active user at this stage.

     

    Just a thought...

     

    I've heard that closing MySQL connections isn't required. They automatically close at the end of the page. But, I'll try closing all them manually with mysql_close(). Thanks :)

     

    It is odd that it wasn't happening before, though...

  5. Hi

     

    I keep getting this error:

     

     

    It used to never do this. What could be happening? This is the code of 'connection.php':

     

     

    <?php
    $username = "username_here";
    $password = "password_here";
    $con = mysql_connect("localhost",$username,$password);
    if (!$con)
     {
     die('<br /><br /><strong style="font-family: arial;">Could not connect to the database: ' . mysql_error() . '</strong>');
     }
    ?>

     

    Am I doing something wrong?

  6.  

    What's wrong with Ajax? Ajax is a lot better than doing a bunch of page refreshing. It is a lot faster. The old version was horrible compared to this one.

     

    Does that mean you do not use a browser that does not refresh?

     

    Do not rely on a website to do your bidding rely on yourself!

     

    Rely on websites and you have given up control.

     

    If Refresh is what you really want use Opera.

     

    All other browsers for web development are still learning. That includes Chrome.

     

    What I meant is going to all of these different pages and stuff to reply... Ajax makes it a lot faster and easier. And, I only use webkit based browsers like Chrome :)

  7. Who is causing these downtimes? Whoever is taking up a lot of the server resources I think should be banned... they're harming everyone's sites. It seems like Stevie has been going down more than Johnny (is that true, or is Johnny worst?)

     

    This happens so frequently, I do wonder why stevie is not killed off!

    This Ajax board is a nightmare!

    What idiot thought Ajax was a solution to efficiency?

    Like Flash not really what the Internet is all about.

    Boys with toys!!

     

    This AJAX board is a lot better than the old one. The AJAX makes it a lot easier to use and faster. I love the notification and message box at the top and how there's a much better loading indicator now. Also, AJAX has nothing to do with Flash, if you didn't know ;)

  8. Yeah, the older one (I wonder how long ago that one was developed?) was a lot slower and I like this a lot better. Like how when you reply it automatically slides down the reply instead of refreshing the page, and how when you edit it it scrolls down and stuff. All of the new features make HelioNet a lot faster, better, and easier to use. :D

  9. This is a really strange issue. One time it is "images/icons.png" that has the error and then I reload the page and that one doesn't have the error, but "images/refresh.png" has it that time.

     

    Does anyone know what could be causing this?

     

    I looked in JS Console:

     

     

    It's getting on my nerves because sometimes one image wont display and then other times another image wont display.

     

    Hopefully there's a fix to it.

     

    By the way, I'm using Google Chrome. I also tried in Safari and Firefox and they both were having this issue.

×
×
  • Create New...