Search the web
Sign In
New User? Sign Up
tvdinner
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
having some trouble with lastest version   Message List  
Reply | Forward Message #92 of 121 |
Re: [tvdinner] Re: having some trouble with lastest version


On Fri, 22 Oct 2004, Pablo Martinez wrote:

> syntax. Check the manual that corresponds to your MySQL server
> version for the right syntax to use near ''10'' at line 9
> at /www/tvdinner/format/list_table.comp line 104.

Ok. Looks like there's something wrong with the way the $limit variable
coming in is handled. It's passing it to the query as a string when it
should be a numeric. Hence the problem with limit = '10'. SO, to
temporarily correct it on your system until I come up with the param to
force numeric, use this code in link_table.comp:

$list_sql = "select d.id, d.artist, d.album, d.title, p.comment
from directory d, playlists p, playlist_idx pi
where (d.id = p.dir_id)
and (pi.id = p.list_id)
and (pi.listname = ?)
and ((pi.username='$session{tvd_u}->{username}') or
(pi.flag_private = 0))
order by p.create_dt DESC
limit $limit";
$list_sth = $gdbh->prepare($list_sql);
$list_sth->bind_param(1,$listname);

Note that I removed the second bind_param.

> i tried to add/remove users as well, and that works right up until (i
> think) its about to do a table update or insert or delete. and then i
> get the following error (from deleting)
>
> error: DBD::mysql::st execute failed: Table 'mp3.user_prefs' doesn't
> exist at /www/tvdinner/system/rmuser.html line 69.

Whoops. More legacy code -- just remove that block that deletes
"user_prefs. I'm also making the change for version 0.4.3. Thanks for
catching that. (I love having testers!)

> if i may put a plug in for the new webmail-gmail. its really sleek
> interface, very streamline, and is a great replacement address for
> hotmail accounts. right now (im pretty sure) its still in beta mode,
> so in order to get an account you have to know someone who has an
> account. i have 6 invites that are just sitting there, so if anyone
> would like to take advantage of them just drop me an email
> valmasj@... and ill send you an invite. its neat for forum's
> like these because it combines messages as conversations. oh yah and
> they give you 1000mb of space *gasp*.

I agree -- I also have a GMail account and the threaded message view
feature is very nice. The only thing I can't seem to get used to is the
lack of folders -- you can make "labels", but it still doesn't feel the
same.

I have 3 invites if anyone is interested.


Sean
--
\___/ Sean Keplinger
|o,o| skeplin AT one DOT net
\/ ) http://spookyworld.dnsalias.com
----mm-----------------------------------





Fri Oct 22, 2004 4:35 pm

keane_skeplin
Offline Offline
Send Email Send Email

Forward
Message #92 of 121 |
Expand Messages Author Sort by Date

for starters the install_database.sh script didnt work for me. i had to tell it to use the mysql database when running create_user_accounts.sql. Then it...
Pablo Martinez
valmasj
Offline Send Email
Oct 21, 2004
6:44 am

... Thanks for catching that -- I fixed it in the current version. You're right, the install_database.sh script needs the following: echo "generating default...
Sean Keplinger
keane_skeplin
Offline Send Email
Oct 21, 2004
5:22 pm

ok i spent a bit more time, made sure i ran all the database configs that were in there, and then double checked the playlist_idx and by default there were 3...
Pablo Martinez
valmasj
Offline Send Email
Oct 21, 2004
7:52 pm

... The error is happening right after you login? After you recieve the error, try going to a different page by typing in the URL. For example: http://<your...
Sean Keplinger
keane_skeplin
Offline Send Email
Oct 22, 2004
12:09 pm

i entered dbstats.html in manually and it came up. it seems like i can navigate just about everywheres except main_menu. when i try to go to main_menu i get...
Pablo Martinez
valmasj
Offline Send Email
Oct 22, 2004
1:22 pm

... Ok. Looks like there's something wrong with the way the $limit variable coming in is handled. It's passing it to the query as a string when it should be a...
Sean Keplinger
keane_skeplin
Offline Send Email
Oct 22, 2004
4:35 pm

that took care of me for the login side of things. however i still have one remaining problem, and thats downloading/playing songs. im sure its a permission...
Pablo Martinez
valmasj
Offline Send Email
Oct 23, 2004
2:43 am

... Check the permissions on your /mp3 diretory -- make sure that Apache has permissions to read the files. Also, make sure you have the following in your...
Sean Keplinger
keane_skeplin
Offline Send Email
Oct 26, 2004
3:01 pm

... that was it. apache::mp3 was installed, but this file was using App::TVDinner::MP3, and the alias was incorrect for me. once i adjusted those, streaming...
Pablo Martinez
valmasj
Offline Send Email
Oct 27, 2004
3:44 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help