phplayers bug in .9

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

phplayers bug in .9

Post by Ted »

I'll try to debug this this afternoon. I have a way to figure out what it calling and should be able to trace it. I'll post the results and/or fix.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

phplayers bug in .9

Post by Greg »

JP you can get the StyleSheet Browser here CSS Stylesheet Browser
Greg
jptechnical
Forum Members
Forum Members
Posts: 131
Joined: Wed Jan 12, 2005 12:18 am

phplayers bug in .9

Post by jptechnical »

Thanks Greg, I like!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: phplayers bug in .9

Post by Ted »

I have exorcised the demons!

It's such a stupidly simple bug, that I can't believe I didn't find it earlier.  Basically, I was calling the same loop twice, so it was displaying it for EACH module that was installed and active.

If you want to fix this now, edit stylesheet.php and remove one of the 2 foreach lines (doesn't matter which), the { below it, and it's corrosponding } below.  That will fix it.
Post Reply

Return to “Developers Discussion”