Seite 3 von 5

Verfasst: 17.07.2003 20:19
von AWSW
Hallo Elvis,
ja sollte so passen... In der Version 1.00 musste man da noch den kompletten Pfad in der portal.php für eintragen, also

http://www.irgendwas.de/ForumOrdner/...

Diese Zeile ermittelt den Domainnamen plus den phpBB-Ordnernamen nun automatisch...

Verfasst: 17.07.2003 20:29
von Elvis
dann is ja jut :)

dachte schon ich kapiere da was net.

also keine änderung machen am Code ;)

alles klar Danke

Verfasst: 17.07.2003 20:31
von AWSW
Hallo,
steht das bei Dir denn nicht in der Datei als Hinweis ?!? :o Hab ich was vergessen ?

Bei mir sieht die im Download an der Stelle so aus:
# Hinweis: Hier wird der Pfad zu Deinem Forum automatisch gesetzt. Bitte nicht ändern !!!
#
# Sollte der Pfad im Syntax "http://www.domain.de" oder "http://www.domain.de/DeinForumOrdner/" nicht generiert werden,
# erscheint eine Fehlermeldung im Portal und Du musst den Pfad manuell hier angeben im folgenden Syntax:
# $PathToCalendar = "http://www.domain.de/DeinForumOrdner/";
#
# Note: The path to your forum will be set automaticly. Please do not change !!!
#
# If the path will not be createt in this syntax "http://www.domain.com" or "http://www.domain.com/YourForumDirectory/",
# you will have an error message in the portal and you have to set the path manualy in the following way:
# $PathToCalendar = "http://www.domain.com/YourForumDirectory";

$PathToCalendar = "http://" . $_SERVER['HTTP_HOST'] . $board_config['script_path'];

Verfasst: 17.07.2003 20:44
von Elvis
jetzt ja.

ich hatte das Portal + Into gelöscht die zip Datei also hatte ich nix mehr gehabt :(

nun wollte ich mir das einstellen und da ist mir das halt auf gefallen mit dem

Code: Alles auswählen

$PathToCalendar = "http://" . $_SERVER['HTTP_HOST'] . $board_config['script_path']; 
und das kam mir komisch vohr.

habs aber wieder von hier gedownloadet.

Verfasst: 17.07.2003 20:52
von AWSW
Hallo Elvis,
alles klar.... ;)

Die kleine Zeile macht sich aber echt bemerkbar, denn seit dem hat keiner mehr gefragt was die Fehlermeldung im Portal heißen soll: ;)
Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using --disable-ipv6 option to configure) in /home/cynox.ch/www/hellhound/phpBB2/portal.php on line 245

Warning: file(http://www.SET_PATH_IN_PORTAL_CONFIG_PHP.com/FORUM_DIRECTORY/escalendar.php): failed to open stream: Success in /home/cynox.ch/www/hellhound/phpBB2/portal.php on line 245

Warning: implode(): Bad arguments. in /home/cynox.ch/www/hellhound/phpBB2/portal.php on line 245
Das sollte nun der Vergangenheit angehören.... Einzig auf lokalen Servern läuft das Kalenderscript nicht, aber das kann ich leider nicht ändern...

HTH !!! :wink:

Verfasst: 17.07.2003 21:04
von Elvis
Stimmt :)

klar läuft das auf dem localen Server.

es wird nur net der Kalender angezeigt.

Original...

Code: Alles auswählen

$PathToCalendar = "http://" . $_SERVER['HTTP_HOST'] . $board_config['script_path'];
Local...

Code: Alles auswählen

$PathToCalendar = "localhost" . $_SERVER['HTTP_HOST'] . $board_config['script_path'];
oder meinste das mit der Anzeige vom Kalender?

Verfasst: 17.07.2003 21:43
von AWSW
... ja genau das meinte ich ;)

Verfasst: 17.07.2003 22:36
von Elvis
dann habe ich nix gesagt.

Verfasst: 17.07.2003 22:42
von AWSW
:D :wink: :D

Fehler Kalenderdarstellung!!

Verfasst: 19.07.2003 18:38
von Yakumo
Griast eich,

hätte eine Frage zu diesem Fehler:

Notice: Undefined variable: uc in D:\wwwroot\phpbb2\escalendar.php on line 60

Notice: Undefined variable: ms in D:\wwwroot\phpbb2\escalendar.php on line 75

Notice: Undefined variable: nbc in D:\wwwroot\phpbb2\escalendar.php on line 80

Notice: Undefined variable: mbc in D:\wwwroot\phpbb2\escalendar.php on line 81

Notice: Undefined variable: tfc in D:\wwwroot\phpbb2\escalendar.php on line 82

Notice: Undefined variable: ds in D:\wwwroot\phpbb2\escalendar.php on line 112

Notice: Undefined variable: ny in D:\wwwroot\phpbb2\escalendar.php on line 117

Notice: Undefined variable: nt in D:\wwwroot\phpbb2\escalendar.php on line 122

Notice: Undefined variable: ot in D:\wwwroot\phpbb2\escalendar.php on line 127

Notice: Undefined variable: tw in D:\wwwroot\phpbb2\escalendar.php on line 133

Notice: Undefined variable: th in D:\wwwroot\phpbb2\escalendar.php on line 134

Notice: Undefined variable: cs in D:\wwwroot\phpbb2\escalendar.php on line 141

Notice: Undefined variable: cp in D:\wwwroot\phpbb2\escalendar.php on line 142

Notice: Undefined variable: al in D:\wwwroot\phpbb2\escalendar.php on line 148

Notice: Undefined variable: fsm in D:\wwwroot\phpbb2\escalendar.php on line 154

Notice: Undefined variable: fsd in D:\wwwroot\phpbb2\escalendar.php on line 155

Notice: Undefined variable: fsn in D:\wwwroot\phpbb2\escalendar.php on line 156

Notice: Undefined variable: fwm in D:\wwwroot\phpbb2\escalendar.php on line 158

Notice: Undefined variable: fwd in D:\wwwroot\phpbb2\escalendar.php on line 159

Notice: Undefined variable: fwn in D:\wwwroot\phpbb2\escalendar.php on line 160

Notice: Undefined variable: mo in D:\wwwroot\phpbb2\escalendar.php on line 192

Notice: Undefined variable: yr in D:\wwwroot\phpbb2\escalendar.php on line 193

Notice: Undefined variable: es in D:\wwwroot\phpbb2\escalendar.php on line 214

Notice: Undefined variable: smc in D:\wwwroot\phpbb2\escalendar.php on line 229
Notice: Undefined variable: mtc in D:\wwwroot\phpbb2\escalendar.php on line 257
>
Juli 2003
Notice: Undefined variable: dtc in D:\wwwroot\phpbb2\escalendar.php on line 265
>
Notice: Undefined variable: cw in D:\wwwroot\phpbb2\escalendar.php on line 270
Mo
Notice: Undefined variable: cw in D:\wwwroot\phpbb2\escalendar.php on line 270
Die
Notice: Undefined variable: cw in D:\wwwroot\phpbb2\escalendar.php on line 270
Mit
Notice: Undefined variable: cw in D:\wwwroot\phpbb2\escalendar.php on line 270
Do
Notice: Undefined variable: cw in D:\wwwroot\phpbb2\escalendar.php on line 270
Fr
Notice: Undefined variable: cw in D:\wwwroot\phpbb2\escalendar.php on line 270
Sa
Notice: Undefined variable: cw in D:\wwwroot\phpbb2\escalendar.php on line 270
So
Notice: Undefined variable: ntc in D:\wwwroot\phpbb2\escalendar.php on line 281
> 1 2 3 4 5 6
Notice: Undefined variable: ntc in D:\wwwroot\phpbb2\escalendar.php on line 281
> 7 8 9 10 11 12 13
Notice: Undefined variable: ntc in D:\wwwroot\phpbb2\escalendar.php on line 281
> 14 15 16 17 18 19 20
Notice: Undefined variable: ntc in D:\wwwroot\phpbb2\escalendar.php on line 281
> 21 22 23 24 25 26 27
Notice: Undefined variable: ntc in D:\wwwroot\phpbb2\escalendar.php on line 281
> 28 29 30 31

Habe das Intro und Portal V1.10 installiert und seit dem wird das im Feld vom Kalender anzeigt.

Habe schon das halbe Forum durchsucht, aber ohne Erfolg.

Keep Racing!

:grin:

Yakumo