Raised This Month: $ Target: $400
 0% 

Jukebox for Source, Streaming Music System - Beta Release


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SirLamer
Senior Member
Join Date: Oct 2008
Old 08-17-2009 , 01:58   Re: Jukebox for Source, Streaming Music System - Beta Release
Reply With Quote #1

I'm having trouble registering a new user, too. It worked before, but I will review the code and see what the issue is. In the meantime, you can just rename the default "admin" user in your database to whatever you'd like, and then change the password using the Edit Account link.

Raydan, I agree that the web interface is very bare right now - it's purely functional. I didn't spend time on making it pretty yet. However, it works plenty well enough for administrative purposes, as that's all who will be using it. I have used it to upload over 1000 tracks. However, if you have any specific functional criticisms or comments please share them - I cannot act on vague statements. ;) Remember that I put this script here and labelled it "beta" for a reason - I know it has bugs. However, since it's very likely the largest and most complicated SourceMod plugin to date, I hope you can extend me some patience. ;) After all, how many other plugins come with a web-based administrative panel at all?

Panda, that error comes from the first SQL query in the program, so that tells me that the query failed, possibly because your MySQL user credentials are incorrect. Please review them in the jukebox.cfg file founds in addons/sourcemod/configs/. This particular query doesn't even read from any tables or anything, it just gets a timestamp, and is only sensitive to your database username and password. For some reason I didn't think to put error catching there because it's so simple, but I should have because it's the first query!
__________________
Visit TEAM CHEESUS, a TF2 community with our own brand of injected shenanigans, for added flavor.

Plugins: Jukebox for Source
SirLamer is offline
raydan
Senior Member
Join Date: Aug 2006
Old 08-17-2009 , 02:13   Re: Jukebox for Source, Streaming Music System - Beta Release
Reply With Quote #2

Code:
in upload.php
function get_meta_data($full_path, $do_md5 = FALSE) {
 require_once "include/getid3/getid3.php";
where is the "getid3" file in the zip file
raydan is offline
Sexual Harassment Panda
Veteran Member
Join Date: Dec 2008
Location: San Diego, CA
Old 08-17-2009 , 02:45   Re: Jukebox for Source, Streaming Music System - Beta Release
Reply With Quote #3

Quote:
Originally Posted by SirLamer View Post
I'm having trouble registering a new user, too. It worked before, but I will review the code and see what the issue is. In the meantime, you can just rename the default "admin" user in your database to whatever you'd like, and then change the password using the Edit Account link.

Raydan, I agree that the web interface is very bare right now - it's purely functional. I didn't spend time on making it pretty yet. However, it works plenty well enough for administrative purposes, as that's all who will be using it. I have used it to upload over 1000 tracks. However, if you have any specific functional criticisms or comments please share them - I cannot act on vague statements. ;) Remember that I put this script here and labelled it "beta" for a reason - I know it has bugs. However, since it's very likely the largest and most complicated SourceMod plugin to date, I hope you can extend me some patience. ;) After all, how many other plugins come with a web-based administrative panel at all?

Panda, that error comes from the first SQL query in the program, so that tells me that the query failed, possibly because your MySQL user credentials are incorrect. Please review them in the jukebox.cfg file founds in addons/sourcemod/configs/. This particular query doesn't even read from any tables or anything, it just gets a timestamp, and is only sensitive to your database username and password. For some reason I didn't think to put error catching there because it's so simple, but I should have because it's the first query!
I checked jukebox.cfg in addons/sourcemod/config and all the tables are named properly in there. Also, the back to main button does not work as it tries to go to main.php, but in fact it should be going to index.php

Also, I'm sorry but there's more bad news, assuming i'm doing things correctly: When i upload a file and try to add it, it gives me this error. it can browse the file structure, but it doesn't see the file, and gives me an error wherever there are files -
Code:
Fatal error:  require_once() [function.require]: Failed opening required 'include/getid3/getid3.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/doering/public_html/parlourroomjesters.com/jukebox/upload.php on line 354
__________________

Last edited by Sexual Harassment Panda; 08-17-2009 at 03:42.
Sexual Harassment Panda is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode