Hallo Ihr ,
mal wieder ein schreckliches Problem…
Strato-Premium Paket, eigenes cgi-Verzeichnis.
Ich habe mir ein deutsches (von Internet-Partner) übersetztes Gästebuch-cgi runtergeladen (http://mars.spaceports.com/~jextreme/) Jo, dann habe ich alles nett angepasst, so wie beschrieben. Das Perl-Verzeichnis bei Strato liegt wohl (laut Telnet which perl) auf /bin/perl.
So weit, so gut. Selbst den Pfad zu sendmail habe ich herausgefunden (usr/lib/sendmail).
Die Rechte habe ich mit chmod 0755 - wie angegeben - für die pl-Dateien verändert. Auch die Text-Dateien und html-Dateien habe ich verändert.
Das Script läuft allerdings absolut überhaupt nicht.
Kann es sein, dass mein cgi-bin Verzeichnis auf Strato auch behandelt werden muss? Vielleicht mit chmod 0777 ???
Oder das unter cgi-bin von mir ein Ordner namens „guestbook“ erstellt wurde, und der die falschen Rechte hat?
Ich habe wirklich schon alles ausprobiert. Die Dateien mit Ultraedit von dos auf unix-mode umgestellt. Die Pfadangaben tausendmal verändert.
z.B.
voller und kompletter Pfad zur Gästebuch Configurationsdatei
$cfgpath=’/cgi-bin/guestbook/gbkcfg.txt’;
dann
$cfgpath=’./cgi-bin/guestbook/gbkcfg.txt’;
dann
$cfgpath=’…/cgi-bin/guestbook/gbkcfg.txt’;
Selbst mit Telnet habe ich mit dem Befehl „perl -w“ mir die Fehler anzeigen lassen, die die scripte beim Ausführen ablassen:
skate-news.de> perl -w guestbook.pl
Unquoted string „break“ may clash with future reserved word at guestbook.pl line
113.
Useless use of a constant in void context at guestbook.pl line 113.
Name „main::headersrc“ used only once: possible typo at guestbook.pl line 81.
Name „main::guestsrc“ used only once: possible typo at guestbook.pl line 54.
Can’t locate /cgi-bin/guestbook/gbkcfg.txt in @INC (@INC contains: /opt/perl-5.0
04_04/lib/sun4-solaris/5.00404 /opt/perl-5.004_04/lib /opt/perl-5.004_04/lib/sit
e_perl/sun4-solaris /opt/perl-5.004_04/lib/site_perl .) at guestbook.pl line 51.
skate-news.de> perl -w guestadd.pl
Unquoted string „break“ may clash with future reserved word at guestadd.pl line
81.
Useless use of a constant in void context at guestadd.pl line 81.
Unquoted string „break“ may clash with future reserved word at guestadd.pl line
87.
Useless use of a constant in void context at guestadd.pl line 87.
Unquoted string „break“ may clash with future reserved word at guestadd.pl line
107.
Useless use of a constant in void context at guestadd.pl line 107.
Unquoted string „break“ may clash with future reserved word at guestadd.pl line
114.
Unquoted string „break“ may clash with future reserved word at guestadd.pl line
118.
Useless use of a constant in void context at guestadd.pl line 114.
Useless use of a constant in void context at guestadd.pl line 118.
Unquoted string „break“ may clash with future reserved word at guestadd.pl line
386.
Useless use of a constant in void context at guestadd.pl line 386.
Name „main::ipbarrier“ used only once: possible typo at guestadd.pl line 70.
Name „main::maxchar“ used only once: possible typo at guestadd.pl line 179.
Name „main::greeting“ used only once: possible typo at guestadd.pl line 456.
Name „main::replace“ used only once: possible typo at guestadd.pl line 212.
Name „main::scriptsrc“ used only once: possible typo at guestadd.pl line 249.
Name „main::ipfilter“ used only once: possible typo at guestadd.pl line 74.
Name „main::censoring“ used only once: possible typo at guestadd.pl line 497.
Name „main::namebarrier“ used only once: possible typo at guestadd.pl line 91.
Name „main::notify“ used only once: possible typo at guestadd.pl line 440.
Name „main::namefilter“ used only once: possible typo at guestadd.pl line 95.
Name „main::header“ used only once: possible typo at guestadd.pl line 200.
Name „main::badwords“ used only once: possible typo at guestadd.pl line 498.
Can’t locate /cgi-bin/guestbook/gbkcfg.txt in @INC (@INC contains: /opt/perl-5.0
04_04/lib/sun4-solaris/5.00404 /opt/perl-5.004_04/lib /opt/perl-5.004_04/lib/sit
e_perl/sun4-solaris /opt/perl-5.004_04/lib/site_perl .) at guestadd.pl line 59.
skate-news.de> perl -w gbkadmin.pl
Name „main::util_url“ used only once: possible typo at gbkadmin.pl line 113.
Name „main::admin_pass“ used only once: possible typo at gbkadmin.pl line 62.
Can’t locate /cgi-bin/guestbook/gbkcfg.txt in @INC (@INC contains: /opt/perl-5.0
04_04/lib/sun4-solaris/5.00404 /opt/perl-5.004_04/lib /opt/perl-5.004_04/lib/sit
e_perl/sun4-solaris /opt/perl-5.004_04/lib/site_perl .) at gbkadmin.pl line 58.
skate-news.de> perl -w gbkutil.pl
Unquoted string „break“ may clash with future reserved word at gbkutil.pl line 1
34.
Useless use of a constant in void context at gbkutil.pl line 134.
Name „main::headersrc“ used only once: possible typo at gbkutil.pl line 95.
Name „main::guestsrc“ used only once: possible typo at gbkutil.pl line 68.
Name „main::admin_url“ used only once: possible typo at gbkutil.pl line 124.
Can’t locate /cgi-bin/guestbook/gbkcfg.txt in @INC (@INC contains: /opt/perl-5.0
04_04/lib/sun4-solaris/5.00404 /opt/perl-5.004_04/lib /opt/perl-5.004_04/lib/sit
e_perl/sun4-solaris /opt/perl-5.004_04/lib/site_perl .) at gbkutil.pl line 59.
Vielleicht kann jemand etwas damit anfangen.
Ich (und auch mein Mann) sind leider völlig überfordert…
Vielen Dank schon mal für die Hilfe
Kirsten
((((
cfgpath=’/guestbook/gbkcfg.txt’