1. Post #321
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    sounds like your webserver doesn't have SQLite support

  2. Post #322

    July 2011
    580 Posts
    Could you fix the Ubuntu error, where it formats apostrophe as \' not '

    i know this is a prob. an os prob, but if it it. how do i fix it?
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 1 (list)

  3. Post #323
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    I've had an increasing number of players get annoyed that they can't stop the music/turn the volume down/mute server broadcasts until the current song that is playing ends (when they join while one is playing). They have to wait for the song to be over for the settings to take place. Also happens on map changes. Any ideas what is causing this?

  4. Post #324
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Could you fix the Ubuntu error, where it formats apostrophe as \' not '

    i know this is a prob. an os prob, but if it it. how do i fix it?
    Turn off Magic Quotes

    Edited:

    I've had an increasing number of players get annoyed that they can't stop the music/turn the volume down/mute server broadcasts until the current song that is playing ends (when they join while one is playing). They have to wait for the song to be over for the settings to take place. Also happens on map changes. Any ideas what is causing this?
    Nope. There is only one html panel, and so the controls should be working.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Disagree Disagree x 1 (list)

  5. Post #325
    Resident Beat Eater.
    wauterboi's Avatar
    August 2009
    3,969 Posts
    I would be one of those players. Multiple songs at once, I can't turn stuff down, etc.
    Reply With Quote Edit / Delete Reply Mac United States Show Events Agree Agree x 1 (list)

  6. Post #326

    July 2011
    580 Posts
    [QUOTE=mr.wolf;33684055]Turn off Magic Quotes

    Edited:

    ; Magic quotes
    ;

    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = Off

    ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
    magic_quotes_runtime = Off

    ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    magic_quotes_sybase = Off
    Edited:

    thats how they were before you told me

    still \'

  7. Post #327
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    do you run your own web server? where did you put the config?
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 1 (list)

  8. Post #328
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    do you run your own web server? where did you put the config?
    It's a legit question... Do a phpinfo(); and show me that magic quotes is off please.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Friendly Friendly x 1 (list)

  9. Post #329
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Also Wolf, I discovered that if you enable client radio mode the songs can be skipped/volume changed without them continuing to play (server radio mode/server queue causes them to continue playing)

  10. Post #330
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    I'll check it out over the break
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Friendly Friendly x 1 (list)

  11. Post #331

    December 2011
    16 Posts
    Does this have to be used with a webserver? I just want to play music for myself in game without having to alt-tab.
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Dumb Dumb x 1 (list)

  12. Post #332
    Resident Beat Eater.
    wauterboi's Avatar
    August 2009
    3,969 Posts
    Does this have to be used with a webserver? I just want to play music for myself in game without having to alt-tab.
    You have to be in the server and you have to have the music on that same server.

  13. Post #333

    December 2011
    16 Posts
    You have to be in the server and you have to have the music on that same server.
    But I just want a decent music player to use on singleplayer. I'm currently using FuriousMP3 and it does not go to the next track automatically.

  14. Post #334
    Resident Beat Eater.
    wauterboi's Avatar
    August 2009
    3,969 Posts
    Just use Winamp and some hotkeys. You can also get the Winamp addon.

  15. Post #335
    Juze's Avatar
    November 2011
    57 Posts
    I'm getting tons of errors on Apache server (Ubuntu 10.04) with all directories chmodded to 755 recursively. Such as this one:

    Code:
    PHP Warning in /var/www/wolfdj4/verification.php on line 29:
    readdir() expects parameter 1 to be resource, boolean given
    	Stack trace:
    	#0 /var/www/wolfdj4/verification.php(29): readdir(boolean)
    WolfDJ4, fresh install. I don't have my server up btw. And there are no CSS/JS elements. SQLite won't even work at all, I'm using MySQL anyway.

  16. Post #336
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Did you chmod things as instructed..?

  17. Post #337
    Juze's Avatar
    November 2011
    57 Posts
    Did you chmod things as instructed..?
    They were already chmod 755 as I uploaded them on the server. Since that didn't work, I chmodded them all. /var/www/ is chown root, but the whole wolfdj4 folder should be chown juze recursively.

    http://i.imgur.com/iSu5Z.png

    PS: Attempting to browse to the upload page crashes Firefox.

  18. Post #338

    July 2011
    580 Posts
    if you are running on ubuntu then chmod the things to 777, try that and report back
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Winner Winner x 1 (list)

  19. Post #339
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    chmod and chown are different

  20. Post #340
    Juze's Avatar
    November 2011
    57 Posts
    if you are running on ubuntu then chmod the things to 777, try that and report back
    Works now. Weird. o_O

    chmod and chown are different
    I'm not dumb.

    EDIT: Upload page still crashes my Firefox though.
    EDIT2: My Account page now shows this:

    Code:
    Unknown Error(8192): Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    EDIT3: IE won't crash. Except there's no Java applet there. Bah, reinstalling Java.

    Edited:

    Okay, that won't work, any ideas?
    Reply With Quote Edit / Delete Reply Windows 7 Finland Show Events Dumb Dumb x 1 (list)

  21. Post #341
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    it's not weird, it says in the first post to chmod the folders.

    you said you chown'd the files, which doesn't matter as long as your webserver has permission to run the scripts
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 1 (list)

  22. Post #342
    Juze's Avatar
    November 2011
    57 Posts
    it's not weird, it says in the first post to chmod the folders.

    you said you chown'd the files, which doesn't matter as long as your webserver has permission to run the scripts
    Read my post carefully. They are both chown'd and chmod'd respectively. I am not running anything as root, I only used sudo to do chmod and chown so I'd have permissions for the files. The requirement was to chmod 777 them, not chmod 755 like described.

    Now, any luck with this Java problem? Chrome and IE fail with it too. Java 6U29 in browser and this:

    Code:
    C:\Users\Juze>java -version
    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
    EDIT: Heck, just nevermind, it works for others.
    Reply With Quote Edit / Delete Reply Windows 7 Finland Show Events Dumb Dumb x 1 (list)

  23. Post #343
    Gold Member

    October 2010
    457 Posts
    Code:
    PHP Notice in C:\xampp\htdocs\wolfdj\verification.php on line 67:
    Undefined index: playtime_string
    	Stack trace:
    It is a valid MP3, it plays fine on my computer, but when I click it, it doesn't let me verify or add the song.

  24. Post #344
    belgje10's Avatar
    September 2010
    38 Posts
    Password and name dont showup? ;s

  25. Post #345
    Gold Member
    Techbot's Avatar
    February 2010
    3,202 Posts
    don't hit me but I get this

    Code:
    Uncaught Exception in /home/techbot/public_html/dj/lib/modules/dbc_engines/sqlite.php:18
    Failed to connect to database: unable to open database: /home/techbot/public_html/dj/db/wolfdj.db
        Stack trace:
        #0 /home/techbot/public_html/dj/lib/classes/dbc.php(40): kernel_dbc_sqlite->__construct(array)
        #1 /home/techbot/public_html/dj/lib/classes/kernel.php(48): kernel_dbc->__construct()
        #2 /home/techbot/public_html/dj/lib/init.php(58): kernel->load_classes(string, string)
        #3 /home/techbot/public_html/dj/index.php(20): require_once(string)
        #4 {main}
    Edited:

    and yes all folders have 755 permissions

  26. Post #346

    July 2011
    580 Posts
    I get the error

    PHP Unknown Error in /home/******/public_html/music/lib/getid3/getid3.php on line 63:
    Function eregi() is deprecated
    Stack trace:
    #0 /home/*******/public_html/music/lib/getid3/getid3.php(63): eregi()
    #1 /home/******/public_html/music/verification.php(54): getID3->getID3()

  27. Post #347
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    not an error

    Edited:

    it's a warning, you can use http://php.net/manual/en/function.error-reporting.php to shut it up (even though it should be fixed)

  28. Post #348
    Gold Member
    Techbot's Avatar
    February 2010
    3,202 Posts
    it works now... sort of.



    uploading works, verification doesn't I get this error:



    sorry for the bump

    Edited:

    looks like it's getid3's fault.

  29. Post #349
    Gold Member
    Techbot's Avatar
    February 2010
    3,202 Posts
    it works sometimes, sometimes it doesn't

    Edited:

    meant to merge that sorry

  30. Post #350
    ben818's Avatar
    January 2012
    27 Posts
    Hello,
    Okay, I need some help here. When I have to edit the config file, and replace http://release.wolfcode.net/projects...4/songlist.php
    and
    http://release.wolfcode.net/projects/wolfdj4/song.php
    What do I put here? Where do I get them from? Any help is appreciated! Thanks!

  31. Post #351
    Gold Member
    Techbot's Avatar
    February 2010
    3,202 Posts
    uhh the url of your webspace?

  32. Post #352
    Gold Member

    June 2011
    297 Posts
    I have an error when I process the songs I've uploaded.
    Code:
    PHP Unknown Error in /var/www/www/wolfdj/lib/getid3/getid3.php on line 63:
    Function eregi() is deprecated
    	Stack trace:
    	#0 /var/www/www/wolfdj/lib/getid3/getid3.php(63): eregi()
    	#1 /var/www/www/wolfdj/verification.php(54): getID3->getID3()
    Anyone have any ideas? I'm using MySQL btw.

  33. Post #353
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    That's a warning, and you can disable it with a PHP function. I think it's error_reporting

  34. Post #354
    Gold Member

    June 2011
    297 Posts
    That's a warning, and you can disable it with a PHP function. I think it's error_reporting
    Err, I sorta gave up in the end.. It all went wrong I have no idea why as I definitely installed and configured it correctly.
    The images on the webpage wern't showing up it was all just a white page, different errors everytime I uploaded a song and in the end the in-game addon seemed to be completely broken.. Oh well.

  35. Post #355
    Gold Member
    jmazouri's Avatar
    May 2005
    1,486 Posts
    If anyone's having issues with the id3 libraries just update them to the latest versions (http://getid3.sourceforge.net/).

  36. Post #356
    TGiFallen's Avatar
    January 2010
    1,440 Posts
    I'm having problems where it's crashing a lot of people when they join.

  37. Post #357
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    I'm having problems where it's crashing a lot of people when they join.
    yeah that's probably due to the HTML panel, for some reason the game just absolutely hates doing HTML/HTTP stuff when they first join

  38. Post #358
    TGiFallen's Avatar
    January 2010
    1,440 Posts
    yeah that's probably due to the HTML panel, for some reason the game just absolutely hates doing HTML/HTTP stuff when they first join
    Is there any way I should go about fixing this?

  39. Post #359
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    Is there any way I should go about fixing this?
    the only way I could think of fixing this would be to do objPl:ConCommand( "wolfdj_starthtml" ); or something in PlayerInitialSpawn (when you do ConCommand it delays it until their entity exists clientside, I use this to delay the loading of ranks/stats on my server). That still might be too early too, but you could give it a shot

  40. Post #360
    ben818's Avatar
    January 2012
    27 Posts
    Hello,
    Okay, I need some help here. When I have to edit the config file, and replace http://release.wolfcode.net/projects...4/songlist.php
    and
    http://release.wolfcode.net/projects/wolfdj4/song.php
    What do I put here? Where do I get them from? Any help is appreciated! Thanks!
    uhh the url of your webspace?
    That doesn't really help me...