Bonjour à tous

J'ai récupéré un guestbook nommé Jibberbook
Celui-ci marche nickel sur mon serveur chez moi.
Quand je teste sur le serveur de Free, j'ai l'erreur suivante :

Parse error: syntax error, unexpected T_CLASS in /mnt/165/sda/e/5/xxxxxxxx/data_layer/datalayer.class.php on line 2

voici le fichier en question.... je comprends pas pourquoi ça ne fonctionne pas chez Free....

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
 
<?php
	abstract class DataLayer{
 
    abstract public function __construct();
 
    abstract public function deleteComment($id);
    abstract public function deleteSpam();
 
    abstract public function addComment($data);
 
    abstract public function reclassifyComment($id);
 
    abstract public function getCount($filter);
 
    /*
        Function: getHamCount
        
        Gets the number of ham comments.
        
        Returns:
          Integer
    */
    public function getHamCount() {
        return $this->getCount(0);
    }
 
    abstract public function getComments($filter, $limit = null);
 
    /*
        Function: getHam
        
        Gets all ham comments.
        
        Parameters:
          $offset - single value will get last [value] comments, array['upper'] and array['lower'] will get a range
        
        Returns:
          Multi-dimensional array
    */
    public function getHam($offset = null) {
        return $this->getComments(0, $offset);
    }
 
    /*
        Function: getSpam
        
        Gets all spam comments.
        
        Parameters:
          $offset - single value will get last [value] comments, array['upper'] and array['lower'] will get a range
        
        Returns:
          Multi-dimensional array
    */
    public function getSpam($offset = null) {
        return $this->getComments(1, $offset);
    }
 
    /*
        Function: generateID
        
        Generates a unique id.
        
        Returns:
          String
	*/
    protected function generateID() {
        return uniqid('m' . rand(1,5), true);
    }
 
    abstract protected function notifyAkismet($obj, $type);
}
?>
une idée ?

Merci