[gelöst] Fehlermeldung nach Domainwechsel

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
maxfli55
Regular
Posts: 202
Joined: Wed Apr 04, 2007 3:31 pm
Location: Südschweden
Contact:

[gelöst] Fehlermeldung nach Domainwechsel

Post by maxfli55 »

Hi,

nach langer Zeit steht ein Wechel der Domain an.
Die Daten habe ich auf den neuen Webspace kopiert, alle Rechte gesetzt und die DB rüberkopiert.
Beim Aufruf der Domain erscheint der s9y-Installationsbildschirm und ich erhalte folgende Fehlermeldung:
Serendipity-Installation

Willkommen zur Installation von Serendipity!.
Zuerst wird eine Systemdiagnose durchgeführt, um etwaigen Inkompatibilitäten oder fehlenden Modulen vorzubeugen..
Fehler werden in rot [!], Empfehlungen in gelb [?] und erfolgreiche Meldungen in grün dargestellt..

- Systemdiagnose von Serendipity v.1.2 -
PHP-Installation
Betriebssystem Linux 2.6.18-6-xen-686, i686
Webserver SAPI apache2handler
PHP version >= 4.1.2 Ja, 5.2.6-1+lenny9
Database extensions MySQL, MySQLi, SQLite
Session extension Ja
PCRE extension Ja
GDlib extension Ja
OpenSSL extension Ja
mbstring extension Ja
iconv extension Ja
zlib extension Ja
Imagemagick binary
Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/var/www/empty) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 244

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/var/www/empty//convert) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 248

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/bin) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 244

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 248

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 244

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/bin/convert) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 248

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/bin) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 244

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 248
Nicht gefunden [?]

php.ini Konfiguration
Empfohlen Vorhanden
safe_mode OFF OFF
register_globals OFF OFF
magic_quotes_gpc OFF ON [?]
magic_quotes_runtime OFF OFF
session.use_trans_sid OFF OFF
allow_url_fopen ON ON
file_uploads ON ON
post_max_size 10M 8M [?]
upload_max_filesize 10M 2M [?]

Rechte
/var/www/web2/html/ Beschreibbar
/var/www/web2/html/templates_c Beschreibbar
/var/www/web2/html/archives/ Beschreibbar
/var/www/web2/html/uploads/ Beschreibbar
Execute Imagemagick binary
Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/var/www/empty) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 244

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/var/www/empty//convert) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 248

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/bin) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 244

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 248

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/bin) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 244

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/bin/convert) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 248

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/bin) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 244

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_installer.inc.php on line 248
Nicht gefunden [?]

Bitte die Installationsart wählen:
Einfache Installation - Fortgeschrittene Installation


Betrieben mit Serendipity und PHP 5.2.6-1+lenny9
Was bedeutet das?
Sind da irgendwelche Pfadangaben falsch?

Gruß
maxfli55
Last edited by maxfli55 on Thu Sep 23, 2010 9:01 am, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by garvinhicking »

Hi!

Wenn der Installer erscheint heißt dass, das die sernedipity_config_local.inc.php nicht mitkopiert wurde, oder nicht lesbar ist...

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
maxfli55
Regular
Posts: 202
Joined: Wed Apr 04, 2007 3:31 pm
Location: Südschweden
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by maxfli55 »

Hi Garv,

da hast Du recht, die serendipity_config_local.inc.php fehlt.
Filezilla weigert sich hartnäkkig sie zu kopieren oder in den Betrachter zu laden und sagt "Übertragung konnte nicht gestartet werden."

Die Rechte stehen auf 700. Wenn ich versuche, die Rechte zu ändern, antwortet der Server: "550 serendipity_config_local.inc.php: Operation not permitted".

Ich hab's auch schon hiermit probiert:
<?php
chmod('.htaccess', 0777);
chmod('serendipity_config_local.inc.php', 0777);
?>
...leider ohne Erfolg. Es wird bei Ausführung des skripts nur eine weiße Seite angezeigt.

Es klingt mir mehr nach einem Rechteproblem...

Die Internetseite an sich funktioniert übrigens problemlos.
Last edited by maxfli55 on Wed Sep 22, 2010 11:27 am, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by garvinhicking »

Hi!

Wenn das chmod nicht klappt muss dein Provider leider ran um Dir Zugriffsrechte einzurichten. Ansonsten ist die Datei relativ simpel aufgebaut, da müssen nur die Zugangsdaten rein:

Code: Select all

<?php
        /*
          Serendipity configuration file
          Written on Thu, 26 Aug 2010 17:52:54 +0200
        */

        $serendipity['versionInstalled']  = '1.6-alpha3';
        $serendipity['dbName']            = 'serendipity';
        $serendipity['dbPrefix']          = 'serendipity10_';
        $serendipity['dbHost']            = '127.0.0.1';
        $serendipity['dbUser']            = 'root';
        $serendipity['dbPass']            = 'root';
        $serendipity['dbType']            = 'mysql';
        $serendipity['dbPersistent']      = false;
        $serendipity['dbCharset']         = 'utf8';

        // End of Serendipity configuration file
        // You can place your own special variables after here:
Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
maxfli55
Regular
Posts: 202
Joined: Wed Apr 04, 2007 3:31 pm
Location: Südschweden
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by maxfli55 »

Hallo Garv,

ich hab mal die serendipity_config_local.inc.php nach Deinen Vorgaben erstellt und meine Daten eingetragen. Nun erhalte ich folgende Meldung:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web108/html/templates/bulletproof_v1_2/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_config.inc.php on line 277

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web108/html/templates/default/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_config.inc.php on line 277

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web108/html/templates/carl_contest/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_config.inc.php on line 277

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web108/html/templates/default/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_config.inc.php on line 277

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web108/html/templates_c/%%E9^E9B^E9B50BD0%%404.tpl.php) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1382

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web108/html/templates/bulletproof_v1_2/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1644

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web108/html/templates/default/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1644

Warning: Smarty error: unable to read resource: "404.tpl" in /var/www/web2/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1095
Achso...ich nutze noch s9y 1.2...ich hoffe, da sa die serendipity_config_local.inc.php auch so aus.
Last edited by maxfli55 on Wed Sep 22, 2010 11:28 am, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by garvinhicking »

Hi!

Hast Du mal die serendipity_config Datenbanktabelle nach alten Werten durchsucht und die Pfade von damals mit den neuen ersetzt?

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
maxfli55
Regular
Posts: 202
Joined: Wed Apr 04, 2007 3:31 pm
Location: Südschweden
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by maxfli55 »

Was meinst Du mit alten Werten?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by garvinhicking »

Hi!

Nach den Alten Pfaden meine ich. Prüf mal nen SQL-Dump von der serendipity_Config Datenbanktabelle und schaue ob die Serverpfade noch vom alten Server drin sind...

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
maxfli55
Regular
Posts: 202
Joined: Wed Apr 04, 2007 3:31 pm
Location: Südschweden
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by maxfli55 »

Hi Garvin,

das Problem besteht immer noch.

Ich habe bisher folgendes gemacht:
1. serendipity_config_local.ing.php
Ich habe die alte Datei von meinem Server auf den neuen übertragen und die Daten angepasst.
Es fehlt gegenüber Deinem Muster die letzte Zeile mit den dbcharset angaben.

2. In der Datenbank wurden sowohl der User (Suchen/Erstetzen alter User -> neuer User) als auch die alten Pfadangaben (Suchen/Erstetzen alte Domain -> neue Domain) angepasst.

Jetzt kommt die Fehlermeldung:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web2/html/templates/bulletproof_v1_2/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_config.inc.php on line 277

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web2/html/templates/default/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_config.inc.php on line 277

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web2/html/templates/carl_contest/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_config.inc.php on line 277

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web2/html/templates/default/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/include/functions_config.inc.php on line 277

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web2/html/templates_c/%%E9^E9B^E9B50BD0%%404.tpl.php) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1382

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web2/html/templates/bulletproof_v1_2/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1644

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/srv/www/htdocs/web2/html/templates/default/404.tpl) is not within the allowed path(s): (/var/www/web2/:/usr/bin/) in /var/www/web2/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1644

Warning: Smarty error: unable to read resource: "404.tpl" in /var/www/web2/html/bundled-libs/Smarty/libs/Smarty.class.php on line 1095
... es scheinen also immernoch irgendwelche Pfade nicht zu stimmen. Aber in der DB sind die Pfadangaben m.E. alle angepasst...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by garvinhicking »

Hi!

Also bei deinem neuen Provider ist der Pfad der Serendipity-Datei folgender:

/srv/www/htdocs/web2/html/templates/bulletproof_v1_2/404.tpl

Jedoch ist dein Provider so konfiguriert, dass er nur Zugriffe auf

/var/www/web2/

zulässt. Das stimmt nicht überein! Entweder sind hier also die Pfade noch falsch in der serendipity_config hinterlegt - oder Dein Provider hat den include_path nicht korrekt gesetzt?!

Prüf mal deinen SQL-Dump und suche überall nach /srv/www/htdocs/web2/html/ - das müsste ersetzt werden durch /var/www/web2/html/.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
maxfli55
Regular
Posts: 202
Joined: Wed Apr 04, 2007 3:31 pm
Location: Südschweden
Contact:

Re: Fehlermeldung nach Domainwechsel

Post by maxfli55 »

Das wars! :)
Danke für die Hilfe!
Post Reply