Error messages
Posted: 01 June 2007 01:34 PM   [ Ignore ]
Newbie
Rank
Total Posts:  12
Joined  2007-06-01

Why am i getting this error

Notice: Undefined index: sum_1 in C:\wamp\www\ee\system\modules\rating\mod.rating.php on line 3305

{exp:rating:stats entry_id="{entry_id}" theme="default"}{stars_overall_avg}
<p class="attributes">Based on {overall_count} review{if overall_count != “1"}s{/if}</p>
{/exp:rating:stats}


{exp:rating:form entry_id="
{entry_id}" form_name="review"  anonymous="yes" status="open" return="{path=’rating/thanks’}"}
<input type="
hidden" name="name" value="{screen_name}" />
<label for="
review">Your Rating</label>
<select name="
rating">
<option value="
1">1</option>
<option value="
2">2</option>
<option value="
3">3</option>
<option value="
4">4</option>
<option value="
5">5</option>
</select>
<input name="
Submit" type="Submit" value="Submit">
{/exp:rating:form}

Profile
 
 
Posted: 01 June 2007 05:10 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

Is your EE site running on a Windows box?

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 01 June 2007 08:22 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  12
Joined  2007-06-01

yeah that was a local offline dev machine..... my problem was solved.... i figured out that it tried to delete the review from module->rating->fields and that was the main cause.... reinstallation solves the problem.....

Thanks anyway....

Profile
 
 
Posted: 01 June 2007 10:13 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

That’s a relief.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
   
 
 
‹‹ if no results?      can use ajax based rating ››