Seite 1 von 1
Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 10:13
von moelle
Hallo,
ich habe zu Testzwecken Contenido 4.8 installiert auf einen eigenen Test Webserver (localhost).
Bisher ist es das unsere HP von einer Agentur gehostet wird (Contenido 4.6), wir werstellen zwar Artikel aber layouttechnisch können wir nicht viel machen.
Jetzt möchte ich gerne unsere HP auf unseren Testserver haben. Bisher habe ich im Style alle Templates, Layouts und Module auf der vorhanden 4.6 Basis erstellt. Aber es muss was fehlen kann keine Artikel anlgegen und in der Vorschau habe ich nur eine leere Seite.
Fehlermeldung erhalte ich im Style Modul-Editor
Warning: opendir(/opt/lampp/htdocs/templates/) [function.opendir]: failed to open dir: No such file or directory in /opt/lampp/htdocs/contenido/includes/include.html_tpl_files_overview.php on line 93
Verzeichnis existiert nicht oder ist nicht lesbar
/opt/lampp/htdocs/templates/
Style Skripteditor
Warning: opendir(/opt/lampp/htdocs/js/) [function.opendir]: failed to open dir: No such file or directory in /opt/lampp/htdocs/contenido/includes/include.js_files_overview.php on line 92
Verzeichnis existiert nicht oder ist nicht lesbar
/opt/lampp/htdocs/js/
Style Styleeditor
Warning: opendir(/opt/lampp/htdocs/css/) [function.opendir]: failed to open dir: No such file or directory in /opt/lampp/htdocs/contenido/includes/include.style_files_overview.php on line 92
Verzeichnis existiert nicht oder ist nicht lesbar
/opt/lampp/htdocs/css/
Habe gerade mal nachgeschaut die Verzeichnisse existieren nicht - Diese Ornder befinden sich /opt/lampp/htdocs/contenido/*
Wie kann ich den Pfad korrigieren?
Re: Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 10:23
von idea-tec
da steht es doch schon:
moelle hat geschrieben:opendir(/opt/lampp/htdocs/templates/) [function.opendir]: failed to open dir:
der findet das Verzeichnis: /opt/lampp/htdocs/templates/ nicht, wahrscheinlich stimmen irgendwo die pfade nicht
Re: Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 10:28
von moelle
Hast Recht! Wo kann ich die Pfade korrigieren?
Re: Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 10:38
von idea-tec
in der datei: /contenido/includes/config.php
Re: Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 10:47
von moelle
Welcher dieser Einträge ist das
/* The root server path to the contenido backend */
$cfg['path']['contenido'] = '/opt/lampp/htdocs/contenido/';
/* The web server path to the contenido backend */
$cfg['path']['contenido_fullhtml'] = '
http://localhost/contenido/';
/* The root server path where all frontends reside */
$cfg['path']['frontend'] = '/opt/lampp/htdocs';
/* The root server path to the conlib directory */
$cfg['path']['phplib'] = '/opt/lampp/htdocs/conlib/';
/* The root server path to the pear directory */
$cfg['path']['pear'] = '/opt/lampp/htdocs/pear/';
/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg'] = '/opt/lampp/htdocs/contenido/external/wysiwyg/tinymce3/';
/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html'] = '
http://localhost/contenido/external/wysiwyg/tinymce3/';
/* The server path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg'] = '/opt/lampp/htdocs/contenido/external/wysiwyg/';
/* The web path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg_html'] = '
http://localhost/contenido/external/wysiwyg/';
Re: Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 10:57
von idea-tec
also:
1.) es ist KEINER der "http" beinhaltet
2.) es dürften alle sein, schau doch mal nach, wie die ordnerstruktur bei dir ist und schreib die dann da rein
Re: Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 11:20
von moelle
Hey Also die Ordner CSS und JS befinden sich:
/opt/lampp/htdocs/cms/*
und Template
/opt/lampp/htdocs/contenido/*
Alle anderen sind richtig wie soll ich das jetzt korrigieren.
Muss der Eintrag einfach dupliziert werden. (sieh fett und blau)
/* The root server path to the contenido backend */
$cfg['path']['contenido'] = '/opt/lampp/htdocs/contenido/';
/* The web server path to the contenido backend */
$cfg['path']['contenido_fullhtml'] = '
http://localhost/contenido/';
/* The root server path where all frontends reside */
$cfg['path']['frontend'] = '/opt/lampp/htdocs/contenido/';
/* The root server path where all frontends reside */
$cfg['path']['frontend'] = '/opt/lampp/htdocs/cms/';
/* The root server path to the conlib directory */
$cfg['path']['phplib'] = '/opt/lampp/htdocs/conlib/';
/* The root server path to the pear directory */
$cfg['path']['pear'] = '/opt/lampp/htdocs/pear/';
/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg'] = '/opt/lampp/htdocs/contenido/external/wysiwyg/tinymce3/';
/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html'] = '
http://localhost/contenido/external/wysiwyg/tinymce3/';
/* The server path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg'] = '/opt/lampp/htdocs/contenido/external/wysiwyg/';
/* The web path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg_html'] = '
http://localhost/contenido/external/wysiwyg/';
Re: Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 14:09
von moelle
Konnte Datei /opt/lampp/htdocs/css/ Den Ordner CSS habe ich manuell angelegt.
ich erhalte folgende Fehlermeldung
Warning: touch() [function.touch]: Unable to create file /opt/lampp/htdocs/css/README.css because Permission denied in /opt/lampp/htdocs/contenido/includes/functions.file.php on line 278
Konnte Datei /opt/lampp/htdocs/css/README.css nicht erstellen
Re: Neuinstallation ohne Madanten
Verfasst: Do 14. Mai 2009, 20:41
von mfweb
moelle hat geschrieben:Muss der Eintrag einfach dupliziert werden. (sieh fett und blau)
Das macht natürlich keinen Sinn, denn mit dem zweiten Eintrag überschreibst du doch den ersten ...
Schau dir einfach deine Verzeichnisstruktur an und vergleiche sie mit den Angaben in der config.php. Nur mache bitte aus Pfaden mit "http" nicht welche ohne "http" und umgekehrt. Im Normalfall müssen sowieso nur die letzten Teile der Pfade angepasst werden.
Neue Einträge oder neue Verzeichnisse musst du dafür nicht erstellen.
Grüße
mfweb
Re: Neuinstallation ohne Madanten
Verfasst: Fr 15. Mai 2009, 06:42
von moelle
moelle hat geschrieben:Konnte Datei /opt/lampp/htdocs/css/ Den Ordner CSS habe ich manuell angelegt.
ich erhalte folgende Fehlermeldung
Warning: touch() [function.touch]: Unable to create file /opt/lampp/htdocs/css/README.css because Permission denied in /opt/lampp/htdocs/contenido/includes/functions.file.php on line 278
Konnte Datei /opt/lampp/htdocs/css/README.css nicht erstellen
function createFile($filename, $path)
{
global $notification;
if (ereg("[^a-zA-Z0-9._-]", $filename))
{
$notification->displayNotification("error", i18n("Wrong filename."));
exit;
}
# create the file
if(touch($path.$filename))
{
# change file access permission
if(chmod ($path.$filename, 0777))
{
return true;
}else
{
$notification->displayNotification("error", $path.$filename." ".i18n("Unable to change file access permission."));
exit;
In Zeile 278 (blau Fett) stimmt laut der Fehlermeldung etwas nicht aber was?
Re: Neuinstallation ohne Madanten
Verfasst: Fr 15. Mai 2009, 06:52
von idea-tec
moelle hat geschrieben:In Zeile 278 (blau Fett) stimmt laut der Fehlermeldung etwas nicht aber was?
steht doch da:
Unable to create file /opt/lampp/htdocs/css/README.css because Permission denied
wende mal auf das Verzeichnis chmod (per hand) an oder was auch immer, und sieh zu dass da was geschrieben werden darf
Re: Neuinstallation ohne Madanten
Verfasst: Fr 15. Mai 2009, 07:14
von moelle
Habe ich gmeacht gemacht chmod 777 (/opt/lampp/htdocs/css/
und auch auf die Datei.
Hilt nichts
Re: Neuinstallation ohne Madanten
Verfasst: Fr 15. Mai 2009, 07:23
von idea-tec
ok ... ist die datei denn bereits vorhanden?
wenn ja -> hat diese auch 777?
wenn nein -> bin ich nun ratlos (zumindest von außen, ohne Zugriff aufs Gesamt-System)
Re: Neuinstallation ohne Madanten
Verfasst: Fr 15. Mai 2009, 08:58
von moelle
Danke für deine Hilfe, aber ich hab kein Lust mehr.
Ich mach das System komplett platt und installier neu und lass mir ein Backup unsere Seite zukommen.
Re: Neuinstallation ohne Madanten
Verfasst: Fr 15. Mai 2009, 18:56
von mfweb
Und achte dabei direkt darauf, dass die richtigen Pfade in der config.php und unter Administration -> Mandanten eingetragen werden.
Aber eigentlich bin ich immer noch der Meinung, dass ein Pfad /css/ sowie eine Datei /css/README.css im Hauptverzeichnis von Contenido nicht vorkommt. Es sei denn, das System ist irgendwie ganz komisch verbogen worden ...
Grüße
mfweb