Migration?
Hi wwwitch,gepo hat geschrieben: 4. die alte contenido/includes/config.php von eins.de lokal auf meinen PC gesaugt und geöffnet, Pfade geändert und ACHTUNG nach contenido/includes/config.php von zwei.de kopiert (die config.php gibt es zu diesem Zeitpunkt auf zwei.de noch nicht)
nimm die alte config.php unverändert und kopiere diese auf den neuen Server ins Verzeichnis contenido/includes/,
dann setze die Rechte dieser config.php auf 777, damit sie schreibbar ist, das meint glaube ich HerrB
dann mit Punkt 5 weitermachen (setup starten und auf Migration klicken)
den neue Datenbanknamen mit Passwort must du aber dann schon zur Hand haben..
...
-
- Beiträge: 3626
- Registriert: Di 12. Okt 2004, 20:00
- Wohnort: Voerde (Niederrhein)
- Kontaktdaten:
In vernünftigen FTP-Programmen lässt sich das recht einfach machen. Das setzen sinnvoller Rechte für Dateien/Verzeichnisse ist doch bei jeder Installation notwendig, dann sollte es nicht schwierig sein, das für die config.php gleich mit zu erledigen.wwwitch hat geschrieben:Wo bzw. wie setzte ich denn die Rechte bei der config.php? *grübel*
-
- Beiträge: 3626
- Registriert: Di 12. Okt 2004, 20:00
- Wohnort: Voerde (Niederrhein)
- Kontaktdaten:
Ist doch relativ deutlich.wwwitch hat geschrieben:"Parse error: syntax error, unexpected ';' in
/xx/xx/xx/xx/www/contenido/includes/config.php on line 86"?
Öffne die "config.php" doch mal mit deinem Lieblings-Texteditor (der auch Zeilennummern ausgibt) und schaue in Zeile 86.
Bei einer 4.6.15-Installation sollte dort sinnvollerweise sowas stehen:
Code: Alles auswählen
$cfg["nolock"] = false;
Code: Alles auswählen
$cfg["nolock"] = true;
perfekt. jetzt ist die fehlermeldung weg und ich habe ein schönes weißes fenster anstelle einen login.
ich stelle mal die config.php hier ein, was ist denn daran noch zu ändern?
<?php
/******************************************
* File : config.php
* Project : Contenido
* Descr : Defines all general
* variables of Contenido.
*
* © four for business AG
******************************************/
global $cfg;
/* Section 1: Path settings
* ------------------------
*
* Path settings which will vary along different
* Contenido settings.
*
* A little note about web and server path settings:
* - A Web Path can be imagined as web addresses. Example:
* http://192.168.1.1/test/
* - A Server Path is the path on the server's hard disk. Example:
* /var/www/html/contenido for Unix systems OR
* c:/htdocs/contenido for Windows systems
*
* Note: If you want to modify the locations of subdirectories for
* some reason (e.g. the includes directory), see Section 8.
*/
/* The root server path to the contenido backend */
$cfg['path']['contenido'] = '/xx/xx/xx/xx/www/contenido/';
/* The web server path to the contenido backend */
$cfg['path']['contenido_fullhtml'] = 'http://xxx.de/contenido/';
/* The root server path where all frontends reside */
$cfg['path']['frontend'] = '/xx/xx/xx/xx/www';
/* The root server path to the conlib directory */
$cfg['path']['phplib'] = '/xx/xx/xx/xx/www/conlib/';
/* The root server path to the pear directory */
$cfg['path']['pear'] = '/xx/xx/xx/xx/www/pear/';
/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg'] = '/xx/xx/xx/xx/www/contenido/external/wysiwyg/tinymce2/';
/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html'] = 'http://xxx.de/contenido/external/wysiwyg/tinymce2/';
/* The server path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg'] = '/xx/xx/xx/xx/www/contenido/external/wysiwyg/';
/* The web path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg_html'] = 'http://xxx.de/contenido/external/wysiwyg/';
/* Section 2: Database settings
* ----------------------------
*
* Database settings for MySQL. Note that we don't support
* other databases in this release.
*/
/* The prefix for all contenido system tables, usually "con" */
$cfg['sql']['sqlprefix'] = '';
/* The host where your database runs on */
$contenido_host = '';
/* The database name which you use */
$contenido_database = '';
/* The username to access the database */
$contenido_user = '';
/* The password to access the database */
$contenido_password = '';
$cfg["database_extension"] = 'mysql';
$cfg["nolock"] = true;
$cfg["is_start_compatible"] = false;
?>
lg wwwitch
ich stelle mal die config.php hier ein, was ist denn daran noch zu ändern?
<?php
/******************************************
* File : config.php
* Project : Contenido
* Descr : Defines all general
* variables of Contenido.
*
* © four for business AG
******************************************/
global $cfg;
/* Section 1: Path settings
* ------------------------
*
* Path settings which will vary along different
* Contenido settings.
*
* A little note about web and server path settings:
* - A Web Path can be imagined as web addresses. Example:
* http://192.168.1.1/test/
* - A Server Path is the path on the server's hard disk. Example:
* /var/www/html/contenido for Unix systems OR
* c:/htdocs/contenido for Windows systems
*
* Note: If you want to modify the locations of subdirectories for
* some reason (e.g. the includes directory), see Section 8.
*/
/* The root server path to the contenido backend */
$cfg['path']['contenido'] = '/xx/xx/xx/xx/www/contenido/';
/* The web server path to the contenido backend */
$cfg['path']['contenido_fullhtml'] = 'http://xxx.de/contenido/';
/* The root server path where all frontends reside */
$cfg['path']['frontend'] = '/xx/xx/xx/xx/www';
/* The root server path to the conlib directory */
$cfg['path']['phplib'] = '/xx/xx/xx/xx/www/conlib/';
/* The root server path to the pear directory */
$cfg['path']['pear'] = '/xx/xx/xx/xx/www/pear/';
/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg'] = '/xx/xx/xx/xx/www/contenido/external/wysiwyg/tinymce2/';
/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html'] = 'http://xxx.de/contenido/external/wysiwyg/tinymce2/';
/* The server path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg'] = '/xx/xx/xx/xx/www/contenido/external/wysiwyg/';
/* The web path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg_html'] = 'http://xxx.de/contenido/external/wysiwyg/';
/* Section 2: Database settings
* ----------------------------
*
* Database settings for MySQL. Note that we don't support
* other databases in this release.
*/
/* The prefix for all contenido system tables, usually "con" */
$cfg['sql']['sqlprefix'] = '';
/* The host where your database runs on */
$contenido_host = '';
/* The database name which you use */
$contenido_database = '';
/* The username to access the database */
$contenido_user = '';
/* The password to access the database */
$contenido_password = '';
$cfg["database_extension"] = 'mysql';
$cfg["nolock"] = true;
$cfg["is_start_compatible"] = false;
?>
lg wwwitch
Es fehlen die Datenbankeinträge,
oder hast du diese hier absichtlich weggelassen.
Es müßte etwa so aussehen:
bfn
gepo
oder hast du diese hier absichtlich weggelassen.
Es müßte etwa so aussehen:
Code: Alles auswählen
/* Section 2: Database settings
* ----------------------------
*
* Database settings for MySQL. Note that we don't support
* other databases in this release.
*/
/* The prefix for all contenido system tables, usually "con" */
$cfg['sql']['sqlprefix'] = 'con';
/* The host where your database runs on */
$contenido_host = 'abenteuer-bergbau.de';
/* The database name which you use */
$contenido_database = 'xxxxxxxx';
/* The username to access the database */
$contenido_user = 'xxxxxxxx';
/* The password to access the database */
$contenido_password = 'xxxxxxxx';
$cfg["database_extension"] = 'mysql';
$cfg["nolock"] = false;
$cfg["is_start_compatible"] = false;
?>
gepo
...
so. contenido läuft, Mandanteneinstellung habe ich abgändert, obwohl mir noch nicht wirklich klar ist, wie ich was ändern muß, vermutlich habe och nun aus diesem Grund zahlreiche Fehlermeldungen?
Diese sehen auf der Hauptseite so aus:
Warning: main(/xx/xx/xx/xx/www/contenido/cms/config.php): failed to open stream: No such file or directory in /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php on line 62
Warning: main(): Failed opening '/xx/xx/xx/xx/www/contenido/cms/config.php' for inclusion (include_path='.:/etc/php:/usr/local/share/php4.4:/usr/local/share/php4:/usr/local/share/php:/usr/share/php4.4:/usr/share/php4:/usr/share/php') in /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php on line 62
Warning: chdir(): No such file or directory (errno 2) in /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php on line 63
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 481
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 484
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 485
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 486
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 487
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 488
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 489
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php on line 193
Warning: chdir(): Datei oder Verzeichnis nicht gefunden (errno 2) in /xx/xx/xx/xx/www/contenido/includes/include.con_editcontent.php on line 618
Herzlich Willkommen bei CNR-Immobilien +++ Hier finden Sie Informationen über uns und natürlich unsere aktuellen Angebote +++
Fatal error: Error: Can't include /xx/xx/xx/xx/www/contenido/cms/includes/functions.navigation.php in /xx/xx/xx/xx/www/contenido/includes/api/functions.api.general.php on line 158
Diese sehen auf der Hauptseite so aus:
Warning: main(/xx/xx/xx/xx/www/contenido/cms/config.php): failed to open stream: No such file or directory in /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php on line 62
Warning: main(): Failed opening '/xx/xx/xx/xx/www/contenido/cms/config.php' for inclusion (include_path='.:/etc/php:/usr/local/share/php4.4:/usr/local/share/php4:/usr/local/share/php:/usr/share/php4.4:/usr/share/php4:/usr/share/php') in /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php on line 62
Warning: chdir(): No such file or directory (errno 2) in /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php on line 63
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 481
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 484
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 485
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 486
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 487
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 488
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/conlib/session.inc on line 489
Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php:62) in /xx/xx/xx/xx/www/contenido/external/backendedit/front_content.php on line 193
Warning: chdir(): Datei oder Verzeichnis nicht gefunden (errno 2) in /xx/xx/xx/xx/www/contenido/includes/include.con_editcontent.php on line 618
Herzlich Willkommen bei CNR-Immobilien +++ Hier finden Sie Informationen über uns und natürlich unsere aktuellen Angebote +++
Fatal error: Error: Can't include /xx/xx/xx/xx/www/contenido/cms/includes/functions.navigation.php in /xx/xx/xx/xx/www/contenido/includes/api/functions.api.general.php on line 158
Unterso. contenido läuft, Mandanteneinstellung habe ich abgändert, obwohl mir noch nicht wirklich klar ist, wie ich was ändern muß
-Administration
-Mandanten mußt du den
Server-Pfad (siehe config.php)
und die Web-Adresse (http://www.deinName.de/) angeben
Die erste Fehlermeldung sieht so aus als ob der Pfad nicht stimmt, oder die /contenido/cms/config.php ist nicht vorhanden.
...