Fivestar parse error

am 21.11.2010 - 00:46 Uhr in
Hallo zusammen,
habe seit kurzem folgendes Problem.
Wenn ich einen Blogeintrag erstellen will und auf speichern gehe, erhalte ich folgende fehlermeldung
Parse error: syntax error, unexpected '<' in /var/www/vhosts/xxx/subdomains/mike/httpdocs/sites/all/modules/fivestar/fivestar_field.inc(144) : eval()'d code on line 1
Die ersten Zeilen von fivestar_field.inc sehen dann so aus:
**************************************************************************************
<?php
// $Id: fivestar_field.inc,v 1.3.2.20 2009/10/05 01:06:26 ezrag Exp $
/**
* @file
* Provides CCK integration for fivestar module
*/
/**
* Implementation of hook_field_info().
*/
function fivestar_field_info() {
return array(
'fivestar' => array(
'label' => t('Fivestar Rating'),
'description' => t('Store a rating for this piece of content.'),
),
);
}
/**
* Implementation of hook_field_settings().
*/
function fivestar_field_settings($op, $field) {
switch ($op) {
case 'form':
// Multiple is not supported with Fivestar.
$form['multiple'] = array(
'#type' => 'value',
'#value' => 0,
);
$form['stars'] = array(
'#type' => 'select',
'#title' => $field['widget']['type'] == 'stars' ? t('Number of Stars') : t('Number of Options'),
'#options' => drupal_map_assoc(range(1, 10)),
'#default_value' => $field['stars'] ? $field['stars'] : 5,
);
*****************************************************************************************************
Leider habe ich nun keine Ahnung was ich jetzt machen kann.
Das 2. Problem ist, dass anstatt den Sternchen (im Anrisstext) nur Zahlen sind (zb 3 (für 3 Sterne) und
keine Sternchen.
Danke schon mal für die Hilfe.
Schöne Grüsse Mike
- Anmelden oder Registrieren um Kommentare zu schreiben
Neue Kommentare
vor 2 Stunden 47 Minuten
vor 17 Stunden 16 Minuten
vor 1 Woche 4 Tagen
vor 1 Woche 4 Tagen
vor 1 Woche 4 Tagen
vor 1 Woche 6 Tagen
vor 1 Woche 6 Tagen
vor 1 Woche 6 Tagen
vor 1 Woche 6 Tagen
vor 2 Wochen 1 Tag