News:

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

Main Menu

Music Database [version 2.x through 3.0 beta]

Started by Cccddd, March 09, 2004, 01:23:33 PM

Previous topic - Next topic

HRM

In changed the line into

foreach($filecontents as $line)
foreach($keys as $word)
if (stristr($line,$key))


But it still dont work.

To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Cccddd

yeah i know. just redownload 3.0 beta 4. I removed that whole file.

HRM

Ok Done! It installed succesfully!

I also upgraded the Package manager before maybe shoundn't have done that :(

Anyway: It still gives an error now:
Quote
2: call_user_func(MusicAdmin): First argument is expected to be a valid callback
File: /home/muziek4u/public_html/forum/index.php
Line: 119
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Cccddd

that means it didnt change the index.php in your main SMF directory.

you should probably try uninstalling the music mod entirely (the SQL will still exist so you wont lose your data), and you should go ahead and install SMF 1.0.3 from the downloads page (not the package manager version).

try that and then reinstall the music mod.

Cccddd

by the way sorry you are dealing with this hassle. its really not a big deal if you know a lot about how the message board works, but for someone who doesn't make mods, it might seem like your whole board is gonna crash. Don't worry about it too much. The only problems that ever really destroy message boards are scripts that try to modify the default SMF SQL tables. That's why it's good practice to never do that, and also why I personally don't do that. As long as the integrity of those tables is maintained, fixing any problem in your message board is cake.

HRM

#165
Quote from: Cheschire on April 10, 2005, 11:38:10 AM
that means it didnt change the index.php in your main SMF directory.

you should probably try uninstalling the music mod entirely (the SQL will still exist so you wont lose your data), and you should go ahead and install SMF 1.0.3 from the downloads page (not the package manager version).

try that and then reinstall the music mod.

I was already thinking about that.

I go for it.
Tnx for the advises.
Ed
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

HRM

Quote from: Cheschire on April 10, 2005, 11:41:46 AM
by the way sorry you are dealing with this hassle. its really not a big deal if you know a lot about how the message board works, but for someone who doesn't make mods, it might seem like your whole board is gonna crash. Don't worry about it too much. The only problems that ever really destroy message boards are scripts that try to modify the default SMF SQL tables. That's why it's good practice to never do that, and also why I personally don't do that. As long as the integrity of those tables is maintained, fixing any problem in your message board is cake.

Thats no problem at all Cheschire. I'm already very glad someone is woking on  modifications like this one.
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

HRM

Arrrgh... version 3.0 beta gives an error with SMF version 1.0.3 too.

2.6 seems to works properly.
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Cccddd

what errors are you getting?

HRM

It said...


2: Invalid argument supplied for foreach()
File: /home/muziek4u/public_html/forum/Packages/temp/install_sql.php
Line: 19
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

HRM

#170
I did al the upgrading stuff, I have Smf 1.0.3 now and no other upgrades available.

The weird thing always happens to me again happened...  The upgrade action deleted all my old mods and manual modifications but I put it  all back again. But that was  completely my own fault cause I never get the point which file i have to install... The Upgrade or the Update, the big or the small one.

Anyway Now I loaded again Music Database 2.6 and it works again although it doesnt have the data from before the forum update. The forum has all other data except the one from the music database.

But still Installing mod version 3.0 beta doesnt work.
Maybe I have to copy all new code manually to the old files. ?

Tnx.
Ed
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

SeaOfSin

OK, I installed the beta version, it upgraded and installed fine, except for the sort up and sort down buttons do not appear properly. The file it is looking for is sort_up%20.gif or sort_down%20.gif. but other than that it is fine!  I am going to try and install both the filemanager and music database and see what happens. I'll let you know!

Sea Of Sin

Cccddd

#172
Quote from: SeaOfSin on April 11, 2005, 08:29:02 PM
OK, I installed the beta version, it upgraded and installed fine, except for the sort up and sort down buttons do not appear properly. The file it is looking for is sort_up%20.gif or sort_down%20.gif. but other than that it is fine!  I am going to try and install both the filemanager and music database and see what happens. I'll let you know!

Sea Of Sin

found the problem. it will be fixed in the next release.

Quote from: Homerecording man on April 10, 2005, 02:11:17 PM
It said...


2: Invalid argument supplied for foreach()
File: /home/muziek4u/public_html/forum/Packages/temp/install_sql.php
Line: 19


OH OH OH I know what the damn problem is!!! I never tried installing the upgrade to 2.6 over top of an empty database!! fixed in next release

Cccddd

Version 3.0 beta 5 is now available on my package server. A few bugfixes. Nothing too major. very very very close to a stable release. I can smell it!

************
IF YOU ARE UPGRADING, do not install any version without first uninstalling any previous versions. The SQL tables will stay on your server so your data will not be erased. There's just too many problems with trying to upgrade code. I have tried several times and it's just not flying. You have to uninstall old versions before installing new versions.
************

v3.0 beta 4 to beta 5:
* fixed sort_xx%20.gif issue
* removed upgrade from 2.6 *code*. Now ONLY upgrades SQL
* removed old version checker. Was broken.

Cccddd

#174
The next release, RC1, will have a new theme. Very much cleaner, and more intuitive IMHO.

you can see it here:
http://nrrds.com/beta/index.php?action=music

(that's my test board, so you may or may not get error messages every so often, and you might see ****** change as you load different pages while im working. dont comment, just accept that things are getting worked on ;) )


PLEASE TEST THE BETA!!!

I need all the testing I can get before I do this release candidate, and then the RC will need lots of testing before the final release. I'm very excited to get this out, and I would love to see it out this weekend as a final, stable release!

[RC1 update]
* fixed bug where 1st artist name showed instead of "Various Artists" on multi-artist albums

SeaOfSin

OK, so far with Beta 5 everything looks great!
Now I installed the filemanager this time before installing the new beta version and it lets me create directories and upload files but it always puts it in the main directory and not the sub directory.
I think maybe I have something wrong.  The filemanager settings I have are the url http://www.yoursite.com/filemanager and physical directory or /home/userid/public_html/filemanager
Are these correct?

Other than that though everything looks great!


Sea Of Sin

Elijah Bliss

Quote from: Cheschire on April 12, 2005, 03:22:14 PM
The next release, RC1, will have a new theme. Very much cleaner, and more intuitive IMHO.

you can see it here:
http://nrrds.com/beta/index.php?action=music

(that's my test board, so you may or may not get error messages every so often, and you might see ****** change as you load different pages while im working. dont comment, just accept that things are getting worked on ;) )


PLEASE TEST THE BETA!!!

I need all the testing I can get before I do this release candidate, and then the RC will need lots of testing before the final release. I'm very excited to get this out, and I would love to see it out this weekend as a final, stable release!

[RC1 update]
* fixed bug where 1st artist name showed instead of "Various Artists" on multi-artist albums


I'm registered as Elijah Bliss but I get this message:
An Error Has Occurred!

You don't have permission to view the music database.

Cccddd

oh ******ter. i forgot to set the permissions heh. default settings and all :)

alright. its all set. I also gave everyone rights to admin hte music database cuz its just a test board. have at it!

Cccddd

#178
Quote from: SeaOfSin on April 12, 2005, 07:30:08 PM
OK, so far with Beta 5 everything looks great!
Now I installed the filemanager this time before installing the new beta version and it lets me create directories and upload files but it always puts it in the main directory and not the sub directory.
I think maybe I have something wrong.  The filemanager settings I have are the url http://www.yoursite.com/filemanager and physical directory or /home/userid/public_html/filemanager
Are these correct?

Other than that though everything looks great!


Sea Of Sin

right. all the files get put in that one directory physically, but their "virtual" locations are stored in mysql. There are no actual folders created or anything, just the one folder. I havent added anything like hashes or anything to the name, so as it is, uploading files of the same name (and file extension) to multiple folders WILL overwrite the files in the other directories. It's the very first running alpha version though so give it a little slack :) . This is why I made the music mod not depend on it!

actually since the file manager now goes through the script to indirectly load files, i suppose i dont need to have the user define the URL anymore!

As soon as my music mod goes stable, I'm going to create a new thread for the file manager so we can continue this stuff in there. For now, I suggest just not worrying about the file manager until I get a chance to work on it (after my focus is off the music mod)

SeaOfSin


Advertisement: