I just realized the music won't played on my server.
[lua]
// Locations of the song list and mp3 player
WolfDJ.RepositoryURL = 'http://predatorscompany.com/wolfdj/songlist.php'
WolfDJ.PlayerURL = 'http://predatorscompany.com/wolfdj/song.php'
[/lua]
But it was worked when i used the wolfdj 3 version(both of web_code and lua_code version of 3...)
just get a free host, i did before and it worked.
no problems at all
[QUOTE=camcole1;32301861]just get a free host, i did before and it worked.
no problems at all[/QUOTE]
No. I don't want to use free web host. Why should I ?
because yours is not working, plus these on the link offer [U][I][B]UNLIMITED[/B][/I][/U] bandwidth
It's another windows bug. Windows writes it's path separator wrong, using a \ instead of a /. Normally this isn't an issue, since the server accepts both, but for some reason it was causing JWPlayer to think it was linking to a different site, since the url was [url]http://yoursite.com\media/blah[/url] instead of [url]http://yoursite.com/media/blah[/url]. So it ignored the request because it thought it was getting files from a different domain.
TL;DR I hate windows. Grab the /lib/const.php file from revision 24 and it should be fixed.
[editline]15th September 2011[/editline]
This is only a problem for windows, so if you're running linux, you don't need this change. It won't break anything though, so you might as well get it to stay up to date.
[QUOTE=camcole1;32301861]just get a free host, i did before and it worked.
no problems at all[/QUOTE]
stop suggesting this when you have no idea what you're talking about
[QUOTE=mr.wolf;32305416]It's another windows bug. Windows writes it's path separator wrong, using a \ instead of a /. Normally this isn't an issue, since the server accepts both, but for some reason it was causing JWPlayer to think it was linking to a different site, since the url was [url]http://yoursite.com\media/blah[/url] instead of [url]http://yoursite.com/media/blah[/url]. So it ignored the request because it thought it was getting files from a different domain.
TL;DR I hate windows. Grab the /lib/const.php file from revision 24 and it should be fixed.
[editline]15th September 2011[/editline]
This is only a problem for windows, so if you're running linux, you don't need this change. It won't break anything though, so you might as well get it to stay up to date.[/QUOTE]
Thanks for reply. But What do you mean Grab the file from revision 24?
As you said I found the file and opened that.
[lua]
<?php
/*
* --------------------------------------------------
* Directory Path Constants
* --------------------------------------------------
*/
define( 'KERNEL_CONFIG', KERNEL_ROOT . 'config/' );
define( 'KERNEL_INC', KERNEL_ROOT . 'inc/' );
define( 'KERNEL_LIB', KERNEL_ROOT . 'lib/' );
define( 'KERNEL_CLASSES', KERNEL_ROOT . 'lib/classes/' );
define( 'KERNEL_MODULES', KERNEL_ROOT . 'lib/modules/' );
/*
* --------------------------------------------------
* Current Script Filename
* --------------------------------------------------
*/
define( 'KERNEL_FILENAME', basename( $_SERVER['SCRIPT_FILENAME'] ) );
/*
* --------------------------------------------------
* Base URL
* --------------------------------------------------
*/
$strHost = 'http' . (!empty($_SERVER['HTTPS']) ? 's' : '') . '://' . $_SERVER['HTTP_HOST'];
define( 'KERNEL_BASE_URL', $strHost . substr( KERNEL_ROOT, strlen( $_SERVER['DOCUMENT_ROOT'] ) ) );
?>
[/lua]
I am Sorry about asking frequently.
Download the latest version from the SVN.
[QUOTE=mr.wolf;32316429]Download the latest version from the SVN.[/QUOTE]
Thanks mr.wolf , It's works And it makes me feel love you.
Glad to hear it's working.
Grrrrr... Windooooowwwwssss...
I am running win 2008 on my dedicated server, i've created a wolfdj folder and moved all the web_code to that folder and set the permissions correctly
When i try and access it from localhost (sqlite) i get "Fatal Error: Call to undefined function sqlite_open() in C:\inetpub\wwwroot\wolfdj\lib\modules\dbc_engines\sqlite.php on line 17", but for localhost (mysql) i can login, but I get a connection refused.
I timeout when i try to connect externally in all browsers.
[QUOTE=MRDRMUFN;32372929]I am running win 2008 on my dedicated server, i've created a wolfdj folder and moved all the web_code to that folder and set the permissions correctly
When i try and access it from localhost (sqlite) i get "Fatal Error: Call to undefined function sqlite_open() in C:\inetpub\wwwroot\wolfdj\lib\modules\dbc_engines\sqlite.php on line 17", but for localhost (mysql) i can login, but I get a connection refused.
I timeout when i try to connect externally in all browsers.[/QUOTE]
You need to install the sqlite.
No, sqlite and mysql modules come included with wolfdj. also you should never have to install sqlite. [QUOTE=cyw960517;32373902]You need to install the sqlite.[/QUOTE]
edit: my end goal is to be using mysql anyways
[QUOTE=MRDRMUFN;32374236]No, sqlite and mysql modules come included with wolfdj.[/QUOTE]
even if they have the modules, PHP still needs to load them, which it wasn't
the mysql module is working, the tables are being created, im timing out when i try to access via external ip, and when i use localhost i get a connection refused when i login.
[QUOTE=MRDRMUFN;32377532]the mysql module is working, the tables are being created, im timing out when i try to access via external ip, and when i use localhost i get a connection refused when i login.[/QUOTE]
so it's an issue with your host
[QUOTE=Fleamonji;32377602]so it's an issue with your host[/QUOTE]
Yep. Double check your connection settings. It's not the code.
i have no clue what it could be, my website and forum software run just fine, and i have directory viewing enabled. Is there anything specific that is required for this to work?
@mr.wolf: my friend skapocalypse wants you to add him on steam.
If you enter your mysql connection information correctly, WolfDJ does the rest. You do have to have the ability for that account to create tables though, obviously.
If he want to add me on steam, then he should add me. I'm not going to go through the trouble of finding him because he wants to talk to me.
I have a feature request, can you add a better nomination system?
Like, people can vote a song that someone nominated by pressing 1 or 2 on their num pad and it will vote, and it would take 70% to play it?
I believe that this would be a good feature, where you vote instead of nominating (MUCH SIMPLER)
[QUOTE=camcole1;32415139]I believe that this would be a good feature, where you vote instead of nominating (MUCH SIMPLER)[/QUOTE]
vote == nominate
Literally the ONLY difference is that your version has a timer and annoying pops up on people's screen. I'm NOT doing it. Drop it already.
I'm at a complete loss, Whenever I load the site it redirects me to [url]www.mysite.comml/login.php[/url]. When I manually type in [url]www.mysite.com/login.php[/url] it works but after I try to login it adds the ml at the end of .com again..
What's your domain and path to the installation, and what kind of server are you using?
It sounds like the KERNEL_BASE_URL variable is getting set incorrectly. To confirm this, view the source of any page, and check what the value of the <base> tag is near the top of the document. If it is [url]www.mysite.comml/[/url] then that is the problem.
In order to fix the problem, I need to know what server software you're running, and what your domain and path to the installation is.
... this will make me very sad ;'(
Fatal Error: Call to undefined function sqlite_open() in /var/www/gmodmp3/lib/modules/dbc_engines/sqlite.php on line 17
your PHP installation doesn't have SQLite extensions
Yeah, im stupid, i started watching the video, tried to use the wolfdj before finishing it and notices, im stupid, sothank you, but i have it fixed :)
Got a problem when processing uploaded songs:
PHP Warning in /path/wolfdj/verification.php on line 29:
readdir() expects parameter 1 to be resource, boolean given
Stack trace:
#0 /path/wolfdj/verification.php(29): readdir(boolean)
Result is
Song Processing
No files awaiting processing...
There should be 208.
Sorry, you need to Log In to post a reply to this thread.