Hi chs,
Welcome to the AmpJuke forum and thanks for posting.
To answer you last question first:
The setting/variable for the prefix is stored - as you mention - in "db.php".
The variable to look for within "db.php" is: $ampjuke_tbl_prefix.
It looks like this (when using the standard prefix "ampjuke_" like you did):
- Code: Select all
$ampjuke_tbl_prefix="ampjuke_";
So - my suggestion is to check/verify the "db.php" file to see that $ampjuke_tbl_prefix is set according to what you want.
Apart from that, and if the above doesn't help: Can you perhaps be more specific about what you did before/during/after "adjusting some settings"...?
For your information, I just
downloaded AmpJuke, installed by
following the installation example, and have finally just scanned+imported approx. 5500 tracks to the database (and is listening to Alison Moyet's voice from her "Yazoo period" right now).
I have changed some personal settings (incl. the password), logged out/in a couple of times, and everything still works as expected.
Some background information:
When introducing prefixes for tables, I took the "lazy" approach.
Rather than inspecting/modifying each and every SQL-statement (there are many!) in AmpJuke, I modified the "wrapper" that does the actual SQL-processing - since it's only located in one place.
To see what I mean, you might open "sql.php" and find the line starting with:
- Code: Select all
if ((isset($ampjuke_tbl_prefix))) {
The lines of code after the above mentioned are expected to "catch" and obviously modify all SQL-statements, if $ampjuke_tbl_prefix is set (which it is, if it's present in "db.php").
The "catch" and modify stuff will - of course - have a small impact on performance...
Anyway, I hope some of this helps to clarify things and get your music collection online.
If not, please do not hesitate to update this thread (you're of course also more than welcome to update it if you succeed in getting the d*mned thing up&running

)
Happy New Year !
//Michael.
P.S. If/when you respond later today, I might not be able to read it (
literally...) until sometime tomorrow.