Hallihallo:
gerade hab ich mir pb3 picture browser runtergeladen, ein php-Galerie-Skript.
Ohne was verändert zu haben kriege ich aber die Fehlermeldung:
Parse error: parse error, unexpected T_CLASS in /www/"verzeichnis"/"verzeichnis"/bilder/index.php on line 1
wenn ich die index.php (Hauptprogrammdatei) aufrufe.
in "verzeichnis" stehen natürlich echte Verzeichnisse ;-)
Der Anfang des Skripts sieht so aus:
<?php/*--------------------------------------------------------------------*//* Project Retorte PictureBrowser *//* Script for displaying images on the web *//*--------------------------------------------------------------------*//* *//* Read README for further information *//* *//* Author Nico Waldispuehl nw *//* Contact nw at retorte dot ch *//* Datum of creat. 27. July 2003 *//* Version 3.2.0, 17.01.2006 *//* Copyright (c) nw 2003 - 2006 *//* License GNU Public License (check out LICENSE) *//* *//*--------------------------------------------------------------------*//*--------------------------------------------------------------------*//* Classdefinition and such *//*--------------------------------------------------------------------*/class PICTURE_BROWSER{ // Declaring class variables var $version; var $aktId; var $navArray; var $pictures; var $user_comments_data; var $title; var $cols; var $thumb_width; var
bla bla bla etc.
Kann mir jemand sagen, was ich tun muss, damit das läuft ??
Dankeschön
Silvia S.