Search:

Type: Posts; User: Jonathansafc

Search: Search took 0.36 seconds.

  1. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    That didn't work. I've just been reading and it said a lot of people were having troubles with that tutorial, so I'm going to remove it and put a new one I have found in its place, I'll let you know...
  2. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    I found it, but because it was already commented out, I presumed that it was un-needed.
    My code is the same, just I assumed it wasn't needed as I wasn't aware that was what created the syntax for...
  3. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    I've just looked at another tutorial thread, and I found this.


    public synchronized static void createKillDeathConnection() {
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();...
  4. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    Yes, I have that line.

    It's // commented out, so is that why it's not working? o.O
  5. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    What do you mean, did I look through it, the MysqlManager class definition?

    Also, I searched for conn = - and it found a few, but it was just conn = null;

    I also found public static Connection...
  6. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    So I need to go to the connection class info?
  7. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    So you told me to read The Big Index because you don't know how to fix it? :3
  8. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    It doesn't say anything about assigning a connection a value...

    This is my SQL table.

    CREATE TABLE `status` (
    `id` INT(10) NOT NULL AUTO_INCREMENT,
    `date` TIMESTAMP NOT NULL DEFAULT...
  9. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    There's two.

    Trail: JDBC(TM) Database Access (The Java™ Tutorials)
    A Relational Database Overview (The Java™ Tutorials > JDBC(TM) Database Access > JDBC Introduction)
  10. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    Also, I don't even know what part I'm supposed to be looking at on that website.
  11. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    I can do MySQL databases but I don't know how to use them in my server.

    All I need to do is set conn a value, how do I do it. It's not that complicated.
  12. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    Uh, I hate when people say that.

    I know I have to learn, but I can't learn if I don't know what to look at, change etc.

    Do you have MSN/Skype so we could chat on there?
  13. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    How would I assign it the address of a Connection object? b-(

    I got it from here : [PI] Auto Donation System with Items - NEW

    Is their anyway you can help me, because the OP isn't active...
  14. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    Oh wait, is it this?


    public static Connection conn = null;
    public static Statement statement = null;
    public static ResultSet results = null;
  15. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    Sorry for sounding like a complete noob, but where would I find this?
  16. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    I'm new at programming, so I don't really know all the ins and outs.

    It appears Line 43 didn't turn into size 5, so you couldn't see it.

    This is line 43 below:


    Statement stmt =...
  17. Replies
    33
    Views
    1,234

    Re: Small problem, help please?

    I don't know what you mean.

    I'll post my MysqlManager.java file, sec.

    #2438939 - Pastie
  18. Replies
    33
    Views
    1,234

    Small problem, help please?

    java.lang.NullPointerException
    at server.util.MysqlManager.checkVote(MysqlManager.java:43)
    at server.model.players.Client.initialize(Client.java:81)
    at...
  19. Re: [SLF4J] 'java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory'

    I don't use one, I just use Notepad++ :P
  20. Re: [SLF4J] 'java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory'

    I changed from CentOS to Ubuntu and I'm currently following a guide to install it correctly, but I'm going to sleep now. I'll be back tomorrow.
  21. Re: [SLF4J] 'java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory'

    I have Private Messaged you, copeg, please answer :)
  22. [SLF4J] 'java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory'

    This is for a RuneScape Private Server.
    This is on a CentOS Virtual Private Server.



    This is the folder layout:

    http://gyazo.com/c6a116fdf90f0839f2a2de6fe76eb9d6.png
Results 1 to 22 of 22