Serverwechsel Linux -> Win und Update, Seite macht Proble

Gesperrt
DennisH
Beiträge: 3
Registriert: Fr 26. Jan 2007, 13:41
Kontaktdaten:

Serverwechsel Linux -> Win und Update, Seite macht Proble

Beitrag von DennisH »

Hi,

erst mal die Einzelheiten

Server alt: Linux/Apache/PHP
Datenbank-Export via mysqldump
Sicherung des Verzeichnisses /cms

Server neu (Test): WinXP/xampp/PHP 5.2.6
Datenbank-Import auf dem neuen Server PHPMyAdmin (MySQL 5.0.51b)
Upload des Verzeichnisses /cms
Upgrade auf 4.8.7

Hab also das Update durchgeführt und hat auch soweit alles geklappt.
Wenn ich aber die Webseite über das Frontend aufrufe, dann wird zwar die Seite angezeigt, aber die links in meinem Menü verweisen allesamt noch auf den alten Server. Sollte das nicht geändert sein?

Außerdem stimmt auch etwas im Backend nicht, ich bekomme beispielsweise den Fehler:
Bild

Auch im eigentlichen Artikel erscheinen diverse Fehlermeldungen:

Code: Alles auswählen

Warning: include_once(C:\\xampp\\htdocs\\contenido\\cmsconfig.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php on line 79

Warning: include_once() [function.include]: Failed opening 'C:\\xampp\\htdocs\\contenido\\cmsconfig.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php on line 79

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php:79) in C:\xampp\htdocs\contenido\conlib\session.inc on line 504

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php:79) in C:\xampp\htdocs\contenido\conlib\session.inc on line 507

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php:79) in C:\xampp\htdocs\contenido\conlib\session.inc on line 508

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php:79) in C:\xampp\htdocs\contenido\conlib\session.inc on line 509

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php:79) in C:\xampp\htdocs\contenido\conlib\session.inc on line 510

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php:79) in C:\xampp\htdocs\contenido\conlib\session.inc on line 511

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php:79) in C:\xampp\htdocs\contenido\conlib\session.inc on line 512

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php:79) in C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php on line 234
Ich bin leider noch nicht wirklich vertraut mit der Administration von Contenido, von daher wäre es super, wenn ihr mir helfen könnt.

Gruß
Dennis
xmurrix
Beiträge: 3215
Registriert: Do 21. Okt 2004, 11:08
Wohnort: Augsburg
Hat sich bedankt: 4 Mal
Danksagung erhalten: 17 Mal
Kontaktdaten:

Re: Serverwechsel Linux -> Win und Update, Seite macht Pr

Beitrag von xmurrix »

DennisH hat geschrieben:...
Warning: include_once(C:\\xampp\\htdocs\\contenido\\cmsconfig.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\contenido\contenido\external\backendedit\front_content.php on line 79...
Der Fehler kommt daher, weil der Server-Pfad des Mandanten nicht mit einem Slash abschließt, du hast wohl C:/xampp/htdocs/contenido/cms angegeben, es muss C:/xampp/htdocs/contenido/cms/ sein.

Dann gibt es noch Pfadangaben in der "/contenido/includes/config.php":
Hast du die Pfade dort manuell angepasst oder hast du das Setup mit der Option "Migration bestehender Installation" durchgeführt?

Gruß
xmurrix
DennisH
Beiträge: 3
Registriert: Fr 26. Jan 2007, 13:41
Kontaktdaten:

Beitrag von DennisH »

Muss denn auch bei dem lokalen Pfad auf dem Windows-Server ein Slash, statt einem Backslash drinstehen?
Ich hab nämlich folgendes angegeben: C:\ usw.

Ich hab das Setup mit Migration durchgeführt.
xmurrix
Beiträge: 3215
Registriert: Do 21. Okt 2004, 11:08
Wohnort: Augsburg
Hat sich bedankt: 4 Mal
Danksagung erhalten: 17 Mal
Kontaktdaten:

Beitrag von xmurrix »

DennisH hat geschrieben:Muss denn auch bei dem lokalen Pfad auf dem Windows-Server ein Slash, statt einem Backslash drinstehen?
Ich hab nämlich folgendes angegeben: C:\ usw...
Mit dem Windows eigenen Directory Separator \\ habe ich es bisher nicht probiert, sollte aber auch gehen. Normalerweise reicht es auch aus, wenn man den Pfad mit / angibt.

Wichtig ist, das der Server-Pfad des Mandanten mit / oder mit \\ abschließt, also ...cms\\ oder ...cms/.

gruß
xmurrix
Gesperrt