News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Music Database [3.1]

Started by Cccddd, April 21, 2005, 08:12:38 AM

Previous topic - Next topic

Mikomi

#160
I get the same error. I guess it's because I wanted to use the filemanager with the database and now I can't change the settings at 'Edit Features and Options'. The only way to get the database working properly again is to uncheck the filemanager option. Anyone knows if I can uncheck that option manually?

edit: Nevermind, I just found out how to do it.  :) I set the 0 to 1 in this string of ModSettings.php.

if (isset($modSettings['mdb_enable_fm_features']) && $modSettings['mdb_enable_fm_features'] > 0)

The 'Edit Features and Options' part worked again and I was able to uncheck the 'enable filemanager' option. Now everything works smoothly again.

CuTe_MaN

i have this problem that is coming when i click on music or musicadmin

An Error Has Occurred!
Unable to load the 'main' template. 


any body can help plzzz

thx

CuTe_MaN

the problem was solved

and it was that i had to upload all the files manually

but is there a way that i can upload the songs to the database?

becuase i want to make the music database for some personal videos

if any body can help

thx

JayBachatero

No at the moment you cant.  Also DO NOT install the filemanager.  It is not working.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Zegis

Hello all, I am aware this is not being developed at the moment, but My sql is not great yet, and I need to know what changes to make in the upgrade_sql.php file to upgrade my existing music tables to the new version.
I tried stripping the php code but it errors out in phpmyadmin. Does the install_sql need to be run as well?  If I cant directly use the files I may try modding the xml file to only run the SQL portion as I manually applied the mod. I am still learning this stuff  :P 

Thanks in advance for any help.

J. S.

#165
Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit


??? Where can I do that? The text is NOT to long, it is a normal lyric.


http://forum.alltheweb.ro/index.php 
Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit



8: Undefined index: mdb_enable_fm_features
File: /home/public_html/forum/Sources/ModSettings.php
Line: 56

8: Undefined index: mdb_maxlyrics
File: /home/public_html/forum/Sources/MusicAdmin.php
Line: 198

8: Undefined index: ID_FILE
File: /home/public_html/forum/Sources/MusicAdmin.php
Line: 184

J. S.

#166
I've removed

if (strlen($_REQUEST['lyrics']) > $modSettings['mdb_maxlyrics'])
fatal_error("Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit");


..but I am getting Hacking attempt... when I am trying to add a 1.500 chars text

Zegis

Quote from: Zegis on November 30, 2005, 11:12:26 AM
Hello all, I am aware this is not being developed at the moment, but My sql is not great yet, and I need to know what changes to make in the upgrade_sql.php file to upgrade my existing music tables to the new version.
I tried stripping the php code but it errors out in phpmyadmin. Does the install_sql need to be run as well?  If I cant directly use the files I may try modding the xml file to only run the SQL portion as I manually applied the mod. I am still learning this stuff  :P 

Thanks in advance for any help.


Nevermind, I figured out a workaround for the SQL. I just modified package_info.xml and created a new zip. Worked really well for me.  Probably an obvious solution, but hey, +1learn for me  :D


Oldiesmann

Quote from: J. S. on December 01, 2005, 10:19:01 PM
Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit


??? Where can I do that? The text is NOT to long, it is a normal lyric.


http://forum.alltheweb.ro/index.php 
Too much text. Try not typing the chorus over and over, or ask the admin to raise the limit



8: Undefined index: mdb_enable_fm_features
File: /home/public_html/forum/Sources/ModSettings.php
Line: 56

8: Undefined index: mdb_maxlyrics
File: /home/public_html/forum/Sources/MusicAdmin.php
Line: 198

8: Undefined index: ID_FILE
File: /home/public_html/forum/Sources/MusicAdmin.php
Line: 184

Admin -> Edit Features and Options ("Features and Options" in 1.1). Settings are at the bottom of that section.

Not sure why you're getting the "undefined index: mdb_enable_fm_features" error. The "undefined index: ID_FILE" errors can be fixed by modifying Music.template.php (look for if(isset($info['ID_FILE'])) and change that to if(array_key_exists('ID_FILE', $info))).
Michael Eshom
Christian Metal Fans

JayBachatero

That error is caused to enabling the filemanager feature.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Oldiesmann

I was getting that error even when the filemanager features weren't enabled. I also had to edit the template to not show the "play" button for a song if the filemanager features weren't enabled.
Michael Eshom
Christian Metal Fans

JayBachatero

Yeah.  I was supposed to take a look into the mod but I've been way too busy to do that.  There is a bug that if you add one song it will replace all the NULL with 0.  I have no idea when Chescire will be back so I might try to update it.  I got his permission to do so.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Bigguy

This is the same problem I get when clicking on the music buttons. Any help.

Quote from: CuTe_MaN on November 24, 2005, 04:46:19 AM
i have this problem that is coming when i click on music or musicadmin

An Error Has Occurred!
Unable to load the 'main' template. 


any body can help plzzz

thx

J. S.

Take a look at the size of the file (al mod files!) in your FTP, if it is zero you sould copy it again..

LordSimion

Howdy folks, I am new to the forum because I have not nhad any trouble with this software (applauds creaters), but I am really excited about this mod. I have gone through and read this entire thread and have come to one conclusion..... I CAN NOT GET THIS THING TO WORK!!!! roflmao.

  OK, I have uploaded the packages, I have added the file manager, when that messed up I changed the string to 1 instead of 0, then I un-iinstalled it and unchecked the box.... now what?


  I would REALLY like this mod on my site that I am rebuilding after post nuke let me down with a hacking attach. I do know that some people have it working... even if I have to add one file at at time... how?

  When I added a song there is no where to upload ( of course) but when you click the play button I get a link that says     

index.php?action=fmdl;ID_FILE=0

what can I do????
Anyone????
please????
*pulls out hair*

JayBachatero

It's a bug in this mod that once you add a file to one song it will add the value of 0 to the ID_FILE collum in the db when it's supposed to be NULL.  You can either edit the template and remove the play button or go into the db and change the values for the music-songs table and change the value to 0.  You can use phpmyadmin.

What is phpMyAdmin?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

LordSimion

what will it do when I change the value to 0?


JayBachatero

It will show as if 0 is the id of the file that is going to play NULL is nothing and it will now show the play button.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

LordSimion

Well... this is wierd... It will not let me make the change.
I am in phpMyAdmin and trying to alter it, but when I make the change it does not change... hmmmm

Let me keep trying I guess....lol... Thanks for your help

JayBachatero

Try leaving the field empty.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: