Seite 1 von 1

[Unschönheit] Vorschau bei Weiterleitung

Verfasst: Di 11. Jul 2006, 12:21
von Dalamar
Wenn man einen Artikel anlegt und die Weiterleitung aktiviert, und danach auf Vorschau klickt, können Fehler auftreten.

In meinem Fall (Contenido 4.6.8.5) habe ich einen Artikel angelegt, der auf "?idart=3" weiterleitet. Klicke ich nun auf Vorschau, dann erscheinen folgende Fehler:

Code: Alles auswählen

Warning: main(config.php): failed to open stream: No such file or directory in /xxx/backend/external/backendedit/front_content.php on line 24

Warning: main(): Failed opening 'config.php' for inclusion (include_path='.:/usr/lib/php') in /xxx/backend/external/backendedit/front_content.php on line 24

Warning: chdir(): No such file or directory (errno 2) in /xxx/backend/external/backendedit/front_content.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/conlib/session.inc on line 479

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/conlib/session.inc on line 484

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/conlib/session.inc on line 485

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/conlib/session.inc on line 486

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/conlib/session.inc on line 487

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/conlib/session.inc on line 488

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/conlib/session.inc on line 489

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/conlib/session.inc on line 128

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/backend/external/backendedit/front_content.php on line 147

Warning: Cannot modify header information - headers already sent by (output started at /xxx/backend/external/backendedit/front_content.php:24) in /xxx/backend/external/backendedit/front_content.php on line 363

Warning: auth_loginform(front_crcloginform.inc.php): failed to open stream: No such file or directory in /xxx/conlib/local.php on line 665

Warning: auth_loginform(front_crcloginform.inc.php): failed to open stream: No such file or directory in /xxx/conlib/local.php on line 665

Warning: auth_loginform(): Failed opening 'front_crcloginform.inc.php' for inclusion (include_path='.:/usr/lib/php') in /xxx/conlib/local.php on line 665
Vielleicht sollte man die Vorschau bei angewählter Weiterleitung deaktivieren ?!

LG,
Christian

Verfasst: Di 11. Jul 2006, 12:30
von MichFress
könnte es nicht eher sein, dass du deine Pfade falsch gesetzt hast?

die Zeile deiner Fehlermeldung ist nämlich:

Code: Alles auswählen

include_once ($cfgClient[$client]["path"]["frontend"]."config.php");
die Variable ist bei dir leer, schau dir mal die /backend/includes/config.php und die Mandanteneinstellungen an...

nebenbei, du hast Contenido 6.x?? wo hast du die denn her? ;-)

Verfasst: Di 11. Jul 2006, 12:32
von Dalamar
Vertippt... :wink:

Verfasst: Di 11. Jul 2006, 12:35
von Dalamar
Ich habe jetzt statt "?idart=3" "front_content.php?idart=3" eingetragen. Im Frontend funktioniert es wie gehabt, im Backend kommen weiterhin die Fehler.

Die Pfade sind übrigens alle korrekt, da die Webseite ohne probleme läuft. Nur bei der Weiterleitung auf "front_content.php?idart=xxx" erscheinen die Fehler. Wird auf eine externe Seite weitergeleitet funktioniert die Vorschau sogar. ;)

Verfasst: Mi 12. Jul 2006, 08:34
von emergence

Verfasst: Mi 12. Jul 2006, 08:54
von Dalamar
Die Fehlermeldung ist die Selbe. Aber bei mir funktioniert soweit alles Problemlos. Lediglich wenn man auf die front_content.php weiterleitet und dann auf Vorschau klickt, erscheint ein Fehler !