Rating Widget - Update afterRating following rateHandler

In the rating widget I am implementing, I want to fade the
stars out onclick, then fade them back in with the updated
"average" value showing. I am using the rateHandler to call my fade
function, and then the fade function calls another fade to handle
the fade-in. However, during the fade-out, the afterRating updates,
so you sometimes see the new value being updated as the widget is
fading out.
Basically, I would like to update the "afterRating" value
following the fade-out, but before the fade-in. Any ideas?
Here is the URL:
Test
Code
Thanks!

Update:
Ok, the first query on the Recent tab doesnt work for me because it wont show unless its already voted, and since these are supposed to be new blurts, that kind of breaks the whole site:
"SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt Group By Id_blurt ORDER BY Blurt.`Date` DESC";
So I replaced it with what I originally had.
"SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date FROM Blurt ORDER BY Blurt.`Date` DESC";
But this doesn't provide me with the initial average rating:(

Similar Messages

  • Help with Spry Rating Widget within a Spry Repeating Region

    My link  http://www.youthinkyougotitbad.com
    This is a long question, but it seems to me if answered somewhere it could help alot of people in the spry community creating comment boards as it uses three important spry widgets: rating, repeating, and tabbed panels. I am trying to use spry rating widget within a spry repeating region within a spry tabbed panel with xml. I was trying to go with the pulse light script (http://forums.adobe.com/message/3831721#3831721) but Gramps told me about the spry rating widget. But I have ran into a couple more problems. First, I couldnt find that much information on the forums or online about how to do the php page with the spry rating widget. None of these have any information on how to do it:
    http://labs.adobe.com/technologies/spry/articles/rating_overview/index .html
    http://labs.adobe.com/technologies/spry/articles/data_api/apis/rating. html
    http://labs.adobe.com/technologies/spry/samples/rating/RatingSample.ht ml
    And it seems that the official examples are so poor (or I am just ignorant, which def could be a possiblity) it shows
    to set the initial rating value from the server, but uses a static value of 4
    http://labs.adobe.com/technologies/spry/samples/rating/RatingSample.html
    <span id="initialValue_dynamic" class="ratingContainer">
             <span class="ratingButton"></span>
             <span class="ratingButton"></span>
             <span class="ratingButton"></span>
             <span class="ratingButton"></span>
             <span class="ratingButton"></span>      
             <input id="spryrating1_val" type="text" name="spryrating1" value="4" readonly="readonly" />
             <span class="ratingRatedMsg sample">Thanks for your rating!</span>
    </span>
    <script>
    var initialValue_dynamic = new Spry.Widget.Rating("initialValue_dynamic", {ratingValueElement:'spryrating1_val'});
    </script>
    I finally found a site that has the php and mysql setup.
    http://www.pixelplant.ro/en/articles/article-detail/article/adobe-widgets-for-download.htm l
    But its not perfect. It has the same problem that I ran into with Pulse light, that you had to use php echo within the spry repeating region to set the initial value from the server:
    <span id="spryrating1" class="ratingContainer">
             <span class="ratingButton"></span>
                <input type="text" id="ratingValue" name="dynamic_rate" value="<?php echo $row['average']?>"/>
            </span>
            <script type="text/javascript"
                var rating1 = new Spry.Widget.Rating("spryrating1", {ratingValueElement:'ratingValue', afterRating:'serverValue', saveUrl: 'save.php?id=spryrating1&val=@@ratingValue@@'});
            </script>
    So instead, I tried with three of my panels (www.youthinkyougotitbad.com) to get the average rating from xml by using the following queries:
    Recent
    Returns the blurts in most recent order along with average rating
    SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt Group By Id_blurt ORDER BY Blurt.`Date` DESC
    Wet Eyed
    Returns the blurts in highest ratings order along with the average rating
    SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt, DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt AND ratings.rating_value > 0.1 Group By Id_blurt ORDER BY average_r Desc
    Dry Eyed
    Returns the blurts in lowest rating order along with the average rating
    SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt, DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt AND ratings.rating_value > 0.1 Group By Id_blurt ORDER BY average_r
    These all return the correct xml in the correct order.And they return the average rating of each blurt which I can send to my page with xml.
    My first question is that I dont know how to configure the query on my fourth panel Empathized & Advised the same way because it already has a Group By for the Comment Id.
    SELECT `Comment`.id_Blurt, COUNT(*) as frequency, Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt, DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date FROM Blurt, `Comment` WHERE Blurt.Id_blurt = `Comment`.id_Blurt GROUP BY `Comment`.id_Blurt ORDER BY COUNT(*) DESC";
    Not sure if you guys need more information to understand that all, if so just ask.
    So after I get my average value through xml to the first three panels, I set my spry repeating region up like this:
    (Blurt panel)
    <div spry:region="pv1" spry:repeatchildren="pv1">           
               <div class="blurtbox">
                <!--  most recent blurt tab-->
                <h3> "{pv1::Blurt}"</h3>
                <p> Blurted from {pv1::Location} at {pv1::Date}</p>
                <p>Empathize or Advise about {pv1::Name}'s Blurt #<a href="detailblurt.php?blurtid={pv1::Id_blurt}"> {pv1::Id_blurt}</a></a></p>
               <span id="{pv1::Id_blurt}" class="ratingContainer">
                <span class="ratingButton"></span>
                <span class="ratingButton"></span>
                <span class="ratingButton"></span>
                <span class="ratingButton"></span>
                <span class="ratingButton"></span>
                <span class="ratingRatedMsg">Thank You! Your tears have been tallied.</span>
                <input type="text" id="ratingValue" name="dynamic_rate" value="{pv1::average_r}"/>
            </span>
            <script type="text/javascript">
                // overview of available options and their values:
                // http://labs.adobe.com/technologies/spry/articles/rating_overview/index.html
                var rating1 = new Spry.Widget.Rating("{pv1::Id_blurt}", {ratingValueElement:'ratingValue', afterRating:'serverValue', saveUrl: 'save.php?id={pv1::Id_blurt}&val=@@ratingValue@@'});
            </script>
                 <br/>
               </div>
              </div>
    Ok, it registers the right vote in the database with the right blurt id each time. But I am having two problems so far:
    One, even though {pv1::average_r} returns the correct average through xml, it doesn't show the initial rating value for each of the repeating blurts. It seems to show the first one correct, and then just repeat that same value to the other ones that follow. I just dont understand since it can get the correct server value right after you vote (afterRating:'serverValue), that I can't manipulate spryrating.js in some way that I could just replace 'ratingValue' in ratingValueElement:'ratingValue' with something to give me the initial server value.
    Two: Is even more mysterious to me, if you play around with voting on the site, sometimes you are unable to vote on different blurts. Its weird. It seems like that the javascript is completely off just on those blurts. And sometimes its a whole row, sometimes none. But so far its never a problem on the first tabbed panel (Recent), only on the other three. As far as I know, the coding is exactly the same in each tab's repeating region except for the different xml input.
    And, now on the live server, sometimes the pics of tears used to voting dont show up until you click.
    Any help on those three questions (how to query the fourth panel, how to show the initial server value, and the glitches with voting) would be greatly appreciated!! I looked pretty hard on adobe forums and other sites, and didnt see much on how to really use the spry rating widget with php and xml.
    Thanks!!

    Update:
    Ok, the first query on the Recent tab doesnt work for me because it wont show unless its already voted, and since these are supposed to be new blurts, that kind of breaks the whole site:
    "SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt Group By Id_blurt ORDER BY Blurt.`Date` DESC";
    So I replaced it with what I originally had.
    "SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date FROM Blurt ORDER BY Blurt.`Date` DESC";
    But this doesn't provide me with the initial average rating:(

  • Some assistance with Spry Rating Widget

    Hello, everyone.
    I have downloaded the Spry library from the repository, and am playing with it, trying to learn it.  So far, so good. 
    I have written a page that is using both the Spry Accordion Panel (I have 8, so far) and the Spry Rating Widget (one in each panel.)
    I am displaying (below the stars) a tally of ratings for each panel (I'm keeping track in an XML file.)  The 1-5 Star title, the number of times each is clicked, and a green bar (img) indicating percentage.
    When a star is clicked, the XML is updated, but you have to refresh the page to see the new values.  How can I dynamically, and in real time, update the value display when a star is clicked?  (Once I have that, I can figure out how to dynamically change the img size/percentage.)
    Thank you,
    ^_^

    WolfShade wrote:
    And I'm just starting to learn it, just because.  It's something different.  I'll probably never use any of it in any paid projects, but it's still nice to get a feel for it.
    I have never used the rating widget, but I do have the Spry example files from when they were originally released. I assume that you have managed to download the same files from GitHub.
    Open widgets.html in the widgets folder. Scroll down to the bottom, and click the Ratings > Overview link. Close to the bottom is a section titled "Update the Ratings Value Dynamically". The example code looks like this:
    <body>
    <span id="spryrating1" class="ratingContainer">
    <span class="ratingButton"></span>
    <span class="ratingButton"></span>
    <span class="ratingButton"></span>
    <span class="ratingButton"></span>
    <span class="ratingButton"></span>
    <input type="text" id="ratingValue" name="dynamic_rate" value="2"/>
    </span>
    <script type="text/javascript">
    var rate = new Spry.Widget.Rating("spryrating1", {ratingValueElement:"ratingValue", afterRating:'serverValue', saveURL:'SpryRating.php?id=spryrating5&val=@@rw_Rating@@'});
    </script>
    </body>
    Notice that the options object contains this: afterRating: 'serverValue'. Unfortunately, the sample files (at least the ones I've got) don't include a copy of SpryRating.php. However, I assume that it probably saves the selected value, calculates the average of all saved values, and then uses echo to output "serverValue=4.5" (or whatever the average is).

  • Rating Widget and Notifiers/Observers

    Hello,
    I am trying to figure out how to get a rating widget to update as the user clicks on spry:setrow images. I believe I need an observer and notifier but not sure what comes first. I have multiple image galleries and need to have rating rate the current image. The images are contained within an HTML Panel widget, but the rating widget is outside of said container/widget.
    I want to use this to set the current row (which will give me the unique id I use to store the rating in the DB):
         var current = DATASETNAME.getCurrentRow();
    This would work graet if I could get the rating widget to properly show in the HTML Panel, but I have failed at doing so.
    A set of links on the left side of the page sets the dataset, and clicking the thumbnail sets the current row (of course). DO I need an observer for the link to set the ds for the above mentioned var? And then set another for the current row so I can match the image's {name} value with the rating value stored in the DB?
    I think I am on the right path, but need a little direction.
    Thanx!

    This script should theoretically work...
    var allDataSets = [dsNavigation, dsFavBlogs, dsFavCompany, dsGalleryList, dsDefaultGallery, dsCottonClubMain, dsIDSarrieriMain, dsPrimaDonnaMain, dsSawrenMain, dsSonataMain, dsValisereMain ];
    var srImageRate;
    for(var i = 0; i < allDataSets.length; i++){
         allDataSets[i].addObserver({
               onCurrentRowChanged: function( ds, data ){
                   if( srImageRate ){
                        srImageRate.setState('initial');
                        srImageRate.destroy();
                   srImageRate = new Spry.Widget.Rating("imageRating");
    The allDataSets array should contain all the datasets you created. It will loop through them, and adding a observer to all of them, this observer will be called on onCurrentRowChanged.
    Once the observer is called, it will reset the Spry widget.

  • Rating widget with data table

    I am using rating widgets with php generated tables... but I
    like the spry data regions better (for sorting). is it possible to
    dynamically create rating widgets in a spry data region? I tried
    doing it by applying the information from "Using HTML Fragments In
    XML Sample " but that doesnt work. Any ideas?

    Did u check:
    http://labs.adobe.com/technologies/spry/samples/tooltip/Tootlip_with_HTML_Panel.html
    http://labs.adobe.com/technologies/spry/samples/data_region/TooltipwithData.html

  • Rating Widget: CSS Float question

    I've successfully modified the Rating widget with our own rating graphics (smaller star's) but one issue I cannot figure out is how to get rid of what looks like a margin or padding around the ratingButtons... actually, everything within the ratingContainer itself. Everything works fine, just trying to tweak it's apperance on screen in relationship to other elements above and below the widget.
    In SpryRating.css, the ratingContainer is floated left as well as the ratingButton(s) by default. I didn't change that. I did however change the width and height of the .ratingButton classes to match the new width and heigh of the graphic elements.
    I think this is really more of a CSS/Float issue, but I haven't been smart enough to figure it out over the past few days while trying to research.
    The end result should make the ratingContainer the same height as the ratingButton(s).  I've already tried specific values for the height of the ratingContainer as well as 'auto'.
    Any help would be welcome and appreciated! Thanks!
    -JL

    jasonLampitt wrote:
    Really?
    So, I'm either completely misconstruing your reply (which I admit is possible) but I'm more inclined to take it at face value.
    I am sorry, I fail to see what was ambigious in my reply. I am merely stating the facts and I am sorry that you managed to see otherwise.
    As a contributor to this forum and having no connection to Adobe other than to use their products, I use my spare time to help others with THEIR problems.
    In doing so, we ask that person to assist us so that we can experience the problem first hand which in turn will be indusive to an objective answer.
    In your case we have not been able to reconstruct the problem, thus we have not been able to help. This is of no concern to us, but it does not help you.
    Have a good day!

  • Rating widget serverside response

    I am building a spry rating widget using the dynamic sample
    from the spry documentation:
    http://labs.adobe.com/technologies/spry/articles/rating_overview/index.html
    I understand how to send the information to a script.php on
    the server and processes the data, but I do not know how to
    retrieve the data from the script. Do i need to generate an xml
    page?
    thanks

    I agree. I tried to use Spry Rating and it was crap. It's
    useless if you can't post the data to the SQL backend. I am a
    seasoned LAMP developer and I couldn't figure it out. Their team
    spent all this time and effort to create these widgets and didn't
    give ample documentation on how to use them. I'm not impressed.
    Hopefully they're all jobless now because of their documentation
    deficiencies. They are certainly useless to Adobe creating
    worthless fancy widgets...
    Bobby

  • Widget update interval

    I've few widget on the desktop but only the email one is updated properly, all the rest did not update at all. For example the ForecaWeather is set to update every hour but it won't update until I manually start the internet connection, and the Facebook one keep showing me the first 3 post when I first run it, there is no individual or centralized setting for widget update interval, there is no way to change and tell when they will update, I don't know the use of the widget if they do nothing !!

    you have to have the internet connected for them to update (they won't connect for you) and they only update when in view

  • After Safari 5.1 update the following plugin is missing: Switchable Java Plug-in for WebKit

    Hi, after Safari 5.1 update the following plugin is missing: Switchable Java Plug-in for WebKit Java Switchable Plug-in (Cocoa) — von der Datei “JavaPluginCocoa.bundle”. How can I add this plugin manually? Because some applets are not working now! I restored the OS to Safari 5.0.5,
    now everything works fine. Is there any bugfix planned for Safari 5.1?

    Thanks, already managed to fix it with Time Machine Back-Up, however, you need only to restore the Safari.app file (can be found in Applications in Time Machine at a date before the last software upgrade to Safari 5.1)
    So, practically,
    go to Enter Time Machine
    -> browse (using the arrows at right hand bottom) to a date when everthing was still working
    -> go to Finder
    -> go to the hard drive (probably named Macintosh HD)
    -> go to Applications
    -> go to Safari.app
    -> highlight Safari.app by clicking on it
    -> hold 'ctrl' key and click again
    -> select from the drop menu that appears 'Get Info'
    -> next verify that is written 'version 5.0.5'
    -> close Info drop menu
    -> make sure the file Safari.app is still highlighted and click on 'Restore' under the arrows at righthand bottom of screen in Time Machine.
    Now you can leave Time Machine by clicking on Cancel on lefthand bottom
    Safari 5.0.5 will be added to the Applications under Safari.app (Safari 5.1 will also still be there and has the word (original) written behind it) drag this (original) marked file to the trash.
    That's all, works very good and means the whole system does not have to be re-installed.
    Hopefully Apple will cure this 5.1 version quickly - Make sure always to make a Time Machine Back-up before updating software!
    Hope this works for you all!

  • HT5568 when trying to down load an update the following message occurred The operation couldn't be completed. (NSURLErrorDomain error -3001.)(102)" What can I do?

    When I tried to download an update, the following message occurred "The operation couldn’t be completed. (NSURLErrorDomain error -3001.)(102)". What is this?  How can I complete the update?

    “Not Found
    The requested URL /content/downloads/53/02/041-8081/2jwp4wjrwygtm4lc608qy4h0 n4a9yyq37g/Safari6.0.2Mountain.pkg was not found on this server.“

  • HT1923 I couldn't install the update, I followed directions for reinstalling Itunes and now it won't install at all on my Windows 7

    Help!  I am running Windows 7. My version of Itunes wouldn't update and showed a missing file. I followed directions and have deleted the old version of ITunes. Now I can't reinstall. I get an error message saying I must have admin priviledges on the account which I do.

    Hello D.Ferrell,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    Best of luck,
    Mario

  • Twitter Widget Updates in iWeb Site

    Hello all
    I've come across some web pages created with iWeb (I believed) and it has a small section/square with the creator's *Twitter updates*.
    Is there such a widget readily made in iWeb, or I have to created with some perhaps, complicated script or html text?
    Thanks and cheers

    Hi all
    Ha ha ha I got it... after Googling. Using Twitter's own HTML code found in its widget page
    Thanks all

  • Audio in widgets - update

    I am using Hype to build html5 widgets.  So far I have been unable to play audio within the widget.  The Hype people have been very helpful, but so far no joy.
    Interested folks might like to read the thread at http://hype.assistly.com/customer/portal/questions/179961-audio-via-javascript-t o-be-used-in-a-widget-bound-for-ibooks-author?new=179961
    Bottom line is, so far, no audio inside a widget.
    You CAN do it via a Keynote presentation.
    In my case I'm demonstrating different types of noise (white, pink, brown, grey, blue) and the presentation needs to trigger graphical changes (smartbuilds in Keynote, timelines in Hype) and audio.  I can link a graphical change on a "quasi button" to play the sound (sound "build" is play spund WITH graphic change) but it can only be played once - the next click will change slides - keynote is designed to be linear.
    BTW, when you export a keynote file as html, (which I am guessing happens when you import a keynote presentation to iBooks Author) the sound file is converted to .m4v, but if you put that "audio-only-movie" in a hype widget, it is not accepted by Author.....

    Welcome to our community, Judy.
    Note that simply acquiring Soundbooth won't do the trick for the mass update. Mukul said this was only possible if you purchased and installed the eLearning Suite. If you just install Soundbooth, Captivate will still be unaware of it and won't work in the manner you are seeking. But you will be able to use it to edit audio clips you export from Captivate.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Backend PO number does not update SRM follow-on doc section

    Hi Guys,
    We are on SRM5.0 and ECC6.0 with Classic scenario.
    We are developing a logic in BADI BBP_CREATE_BE_PO_NEW (method FILL_PO_INTERFACE1) to determine if a Goods Receipt is required for some business conditions. Below is the logic.
    1.If GR is required then create a PO with External number range in backend. This is working fine.
    2.If GR is not required then create a PO with internal number range in backend. PO_NUMBER field will be cleared in the BADI so that backend system creates a PO with internal number range. This is working fine.
    But the problem in the point 2 above is, internal PO# is not reflecting in the follow-on doc section in SRM. I noticed that SRM allots a PO# in table BBP_PDBEI with backend external number range before it transfers the data to backend. We tried to delete the PO# in BBP_PDBEI-BE_OBJECT_ID in the same BADI so that backend system can updates this field BE_OBJECT_ID in SRM with internal number PO. We did not succeed in doing this.The SC status shows Approved but do not show the PO#.
    Can any one tell me how to populate the backend internal number PO in the Follow-on doc? Is this the right way of doing or is there any better way?  Did any one developed such logic?
    Please share your thoughts and experience.
    Thanks in advance..
    Jagdish

    I noticed that SAP takes the number sequence from number range PO and updates BBP_PDBEI field before sending the Purchase order to ECC. If the different number range is defined in IMG "Define num range per Backend system for Follow-on docs" then system takes that num range. Then BBP_GET_STATUS_2 checks the PO# and updates SRM if the PO# matches otherwise it wont update.
    But in our case we defined num range 44 for POs with Goods receipt and would like to assign another number range 22 for POs with NO GR. We can assign different PO doc type (ZEC) for NO GR by using BADI BBP_CREATE_BE_PO_NEW. But how to assign num range 22 for ZEC dynamically in BADI. System is trying to take num range 44 by default.
    Is there any way we can assign different number range in SRM BADI?
    Thanks,
    Jagadish

  • 10.5.6 update crash followed by kernel panics

    I ran the update, but it crashed midway through complaining about the media it was being run from, tried a restart, but kernel panics, tried single user mode, but get multiple "Package 0 didn't get an HPET", to fail at the end in "No HPETs available...CPU(s) configured incorrectly" followed by panic and some stack trace dump (included at end), tried resetting the System Management Controller (SMC) and the PRAM, all to no avail, ran the extended hardware test with no errors, but I am able to boot up into the emergency boot partition created by Tech Tool Pro.
    Apart from reformatting my hard drive is there any way to recover my Mac, please!
    Tue Dec 16 00:57:17 2008
    panic(cpu 0 caller 0x2E60CC93): "No HPETs available...CPU(s) configured incorrectly\n"@/SourceCache/AppleIntelCPUPowerManagement/AppleIntelCPUPowerMana gement-39.2/pmThread.c:100
    Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
    0x2e637f18 : 0x12b0fa (0x459234 0x2e637f4c 0x133243 0x0)
    0x2e637f68 : 0x2e60cc93 (0x2e60f9d8 0x0 0xbbdb338c 0x4)
    0x2e637fc8 : 0x19eccc (0x0 0x0 0x1a20b5 0x3a702e8)
    Backtrace terminated-invalid frame pointer 0
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleIntelCPUPowerManagement(59.0.1)@0x2e606000->0x2e61ffff
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    9G55
    Kernel version:
    Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386
    System model name: MacBookPro1,2 (Mac-F42DBEC8)

    It looks like "HPET" is the culprit
    http://en.wikipedia.org/wiki/HighPrecision_EventTimer
    Have you tried starting your mac up from your Leopard disk that came with the machine and if so, can you run disk permissions from there (on the startup drive you wish to recover)?
    NB: some reckon it's not desirable to run disk permissions from the disk but I have done it in the past and it got me started at least, repairing disk permissions AGAIN from the startup drive, (as the system was up and running)
    NB2: If you can start up, you could run the combo updater: http://support.apple.com/downloads/MacOS_X_10_5_6_ComboUpdate
    Message was edited by: Alexandre

Maybe you are looking for