Noch einmal das Proble mit Editor und Vorschau

Gesperrt
LarsM
Beiträge: 1
Registriert: Sa 24. Mai 2003, 07:14
Kontaktdaten:

Noch einmal das Proble mit Editor und Vorschau

Beitrag von LarsM » Sa 24. Mai 2003, 07:43

Es nervt mich zwar selber, das gleiche Problem anzusprechen, wie schon andere vor mir, aber bisherige Lösungsvorschläge führen bei mir zu keinem Erfolg. Von der Installation bis zum einrichten erster Templates u.s.w klappt alles wunderbar. Beim Versuch dann den Editor oder die Vorschau aufzurufen, bekomme ich dann die Fehlermeldung, das die Seite nicht existiert.
Hier ein Auszug meiner derzeitigen config.php (was Pfade betrifft):

<?php
...
# CFG PATHES
#
$cfg['path']['contenido'] = 'C:/webroot/contenido_43_beta/contenido/';
$cfg['path']['contenido_html'] = '../contenido/';
$cfg['path']['contenido_fullhtml'] = 'http://localhost/contenido_43_beta/contenido/';
$cfg['path']['statfile'] = 'statfile/';
$cfg['path']['includes'] = 'includes/';
$cfg['path']['xml'] = 'xml/';
$cfg['path']['images'] = 'images/';
$cfg['path']['classes'] = 'classes/';
$cfg['path']['scripts'] = 'scripts/';
$cfg['path']['styles'] = 'styles/';
$cfg['path']['frontend'] = $cfg['path']['contenido'];
$cfg['path']['frontendtemplate'] = 'external/frontend/';
$cfg['path']['templates'] = 'templates/standard/';
$cfg['path']['xml'] = 'xml/';
$cfg['path']['phplib'] = 'C:/webroot/contenido_43_beta/conlib/';
$cfg['path']['wysiwyg'] = 'C:/webroot/contenido_43_beta/contenido/external/wysiwyg/';
$cfg['path']['wysiwyg_html'] = 'http://localhost/contenido_43_beta/cont ... l/wysiwyg/';

require_once 'C:/webroot/contenido_43_beta/contenido/includes/globals_off.inc.php';

$contenido_host = 'localhost';
$contenido_database = 'testdb';
$contenido_user = 'root';
$contenido_password = '******';

$cfgPath['xml'] = 'xml/';
$cfgPath['xmlroot'] = 'language/';

$con_cfg['PathPlugins'] = "plugins/";
$con_cfg['PathClasses'] = "classes/";

...
$cfg['templates']['frameset'] = 'frameset.html';
$cfg['templates']['frameset_content'] = 'frameset_content.html';
$cfg['templates']['frameset_menuless_content'] = 'frameset_menuless_content.html';
$cfg['templates']['header'] = 'header.html';
$cfg['templates']['submenu'] = 'submenu.html'; # 2nd layer
$cfg['templates']['subnav'] = 'template.subnav.html'; # 3rd layer
$cfg['templates']['generic_list'] = 'generic_list.html';
$cfg['templates']['generic_select'] = 'template.select.html';
$cfg['templates']['left_top'] = 'template.left_top.html';
$cfg['templates']['right_top_blank'] = 'template.right_top_blank.html';
$cfg['templates']['newsletter_left_top'] = 'template.newsletter_left_top.html';
$cfg['templates']['newsletter_menu'] = 'template.newsletter_menu.html';
$cfg['templates']['newsletter_edit'] = 'template.newsletter_edit.html';
$cfg['templates']['recipient_left_top'] = 'template.recipient_left_top.html';
$cfg['templates']['recipient_menu'] = 'template.recipient_menu.html';
$cfg['templates']['recipient_edit'] = 'template.recipient_edit.html';
$cfg['templates']['con_edit_form'] = 'template.con_edit_form.html';
$cfg['templates']['con_str_overview'] = 'template.con_str_overview.html';
$cfg['templates']['con_art_overview'] = 'template.con_art_overview.html';
$cfg['templates']['con_left_top'] = 'template.con_left_top.html';
$cfg['templates']['con_subnav'] = 'template.con_subnav.html';
$cfg['templates']['str_overview'] = 'template.str_overview.html';
$cfg['templates']['upl_left_top'] = 'template.upl_left_top.html';
$cfg['templates']['upl_dirs_overview'] = 'template.upl_dirs_overview.html';
$cfg['templates']['upl_files_overview'] = 'template.upl_files_overview.html';
$cfg['templates']['lay_overview'] = 'template.lay_overview.html';
$cfg['templates']['lay_edit_form'] = 'template.lay_edit_form.html';
$cfg['templates']['mod_overview'] = 'template.mod_overview.html';
$cfg['templates']['mod_edit_form'] = 'template.mod_edit_form.html';
$cfg['templates']['tpl_overview'] = 'template.tpl_overview.html';
$cfg['templates']['tpl_edit_form'] = 'template.tpl_edit_form.html';
$cfg['templates']['style_files_overview'] = 'template.style_files_overview.html';
$cfg['templates']['style_edit_form'] = 'template.style_edit_form.html';
$cfg['templates']['style_left_top'] = 'template.style_left_top.html';
$cfg['templates']['style_new_form'] = 'template.style_new_form.html';
$cfg['templates']['js_files_overview'] = 'template.js_files_overview.html';
$cfg['templates']['js_edit_form'] = 'template.js_edit_form.html';
$cfg['templates']['js_left_top'] = 'template.js_left_top.html';
$cfg['templates']['js_new_form'] = 'template.js_new_form.html';
$cfg['templates']['stat_left_top'] = 'template.stat_left_top.html';
$cfg['templates']['stat_overview'] = 'template.stat_overview.html';
$cfg['templates']['stat_top'] = 'template.stat_top.html';
$cfg['templates']['stat_menu'] = 'template.stat_menu.html';
$cfg['templates']['rights_left_top'] = 'template.rights_left_top.html';
$cfg['templates']['rights_menu'] = 'template.rights_menu.html';
$cfg['templates']['rights_overview'] = 'template.rights_overview.html';
$cfg['templates']['rights_details'] = 'template.rights_details.html';
$cfg['templates']['rights_create'] = 'template.rights_create.html';
$cfg['templates']['log_menu'] = 'template.log_menu.html';
$cfg['templates']['log_main'] = 'template.log_main.html';
$cfg['templates']['left_top_blank'] = 'template.left_top_blank.html';
$cfg['templates']['subnav_blank'] = 'template.subnav_blank.html';
$cfg['templates']['tplcfg_edit_form'] = 'template.tplcfg_edit_form.html';
$cfg['templates']['lang_overview'] = 'template.lang_overview.html';
$cfg['templates']['lang_menu'] = 'template.lang_menu.html';
$cfg['templates']['lang_edit'] = 'template.lang_edit.html';
$cfg['templates']['lang_left_top'] = 'template.lang_left_top.html';
$cfg['templates']['client_menu'] = 'template.client_menu.html';
$cfg['templates']['client_edit'] = 'template.client_edit.html';
$cfg['templates']['client_left_top'] = 'template.client_left_top.html';
$cfg['templates']['mycontenido_settings'] = 'template.mycontenido_settings.html';
$cfg['templates']['mycontenido_overview'] = 'template.mycontenido_overview.html';
$cfg['templates']['mycontenido_start'] = 'template.mycontenido_start.html';
$cfg['templates']['mycontenido_lastarticles'] = 'template.mycontenido_lastarticles.html';
$cfg['templates']['mycontenido_subnav'] = 'template.mycontenido_subnav.html';
$cfg['templates']['welcome'] = 'template.welcome.html';
$cfg['templates']['info'] = 'template.info.html';
$cfg['templates']['symbolhelp'] = 'template.symbolhelp.html';
$cfg['templates']['blank'] = 'template.blank.html';
...
$cfgPathStatfiles="statfile/";
$cfgPathXML = 'xml/';
$cfgPathDoc = "doc/";
$cfgPathImg = "img/";
$cfgPathInc = "includes/";
$cfgPathClasses = "classes/";
$cfgPathJs = "js/";
$cfgPathTpl = "tpl/";
$cfgPathStyle = "styles/contenido.css";
$cfgPathFrontendImg = "img_site/";
#$cfgPathContenidoPhplib = str_replace('contenido/*', 'conlib/', $cfgPathContenido . '*');
$cfgClient['upl']['forbidden'] = '.php|.htaccess|.htpasswd';
$cfgClient['upl']['protected'] = 'img/,pdf/,swf/,zip/';
$con_cfg['PathFrontendTmp'] = 'cache/';
...
?>

Die Änderung von
--> ich habe bei Administration --> Mandaten die Webadresse abgeändert
von "http://cms/"
in "http://localhost/cms/"
hat bei mir auch nichts gebracht, habe die Änderung aber so belassen, da ohne localhost auch kein Verzeichnis cms existiert.

ActiveX und JavaScript sind aktiviert, unter localhosts habe ich sogar zeitweise die geringste Sicherheitsstufe im IE 6.0.

Eine .htaccess-Datei liegt im gesamten contenido-Verzeichnis nicht vor.

Weder als admin, noch als sysadmin ändert sich etwas an der Fehlermeldung.

Ich habe das ganze wie man sicherlich schon gesehen hat in einer lokalen Testumgebung (localhost) unter WInXP, Apache 2.0.43, PHP Version 4.2.3 und MySQL 4.0.13 installiert

Das ist der Link, den das PHP-Script versucht auszurufen:
http://localhost/contenido_43_beta/cont ... 9b65ecd93d
Auch daran kann ich keine Pfadfehler entdecken, theoretisch sollte es klappen. Wenn ich diesen Link in einem eigenen Fenster öffne, wird auch der entsprechende Frame erzeugt, das ist aber schon alles, d.h. es kommt weder Editor, Vorschau noch etwas anderes (eben nur das untere Frameset ohne Inhalt).

Ich hoffe, jetzt alle Details meiner Testumgebung aufgeführt zu haben, denn ich weiß im Moment nicht weiter.
Gruß
Lars

tracer07
Beiträge: 30
Registriert: Fr 23. Mai 2003, 19:05
Wohnort: Lübeck
Kontaktdaten:

...und nochmal der gleiche Fehler

Beitrag von tracer07 » Sa 24. Mai 2003, 20:31

Bei mir tritt exakt der gleiche Fehler auf, nur in der Wirkumgebung. Ich hab mir schon den Kopf zerbrochen, wie ich den Fehler beschreiben soll und nun hat mir wenigstens jemand die Arbeit abgenommen. :twisted:

Viele Grüße,
Michael

HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Pfad in config.php im Mandantenverzeichnis geprüft?

Beitrag von HerrB » Sa 24. Mai 2003, 23:52

Vielleicht ist es etwas komplett anderes, aber liegt evtl. das Mandantenverzeichnis nicht parallel zum Verzeichnis contenido?

Dann sollte die relative Pfadangabe in der config.php im Mandanten (nicht Contenido!)-Verzeichnis kontrolliert werden.

Siehe
http://p10089516.pureserver.de/forum/vi ... 37fa143de2

Gruß
HerrB

Gast

Beitrag von Gast » So 25. Mai 2003, 07:49

Danke HerrB, dein Einwand hat mir den richtigen Denkanstoß gegeben.
Ich hatte die Mandantenverzeichnisse
C:/webroot/contenido/cms/ und
http://localhost/cms/ benannt.

Was ich dabei jedoch nicht bedacht hatte, war der Umstand, das ich Contenido nicht direkt in die Root installiert hatte, sondern mit dem Unterverzeichnis "contenido_43_beta":

Also muss es richtig heissen:
C:/webroot/contenido_43_beta/contenido/cms/ und
http://localhost/contenido_43_beta/cms/ benannt.

Jetzt funktioniert es auch.

Gesperrt