Wenn man übrigens im Web nach "Warning: include() [function.include]: open_basedir restriction in effect" in Suchmaschinen sucht, findet man unzählige (WordPress)Seiten von "normalen" Webseiten. Das lässt darauf schließen, dass dieser Fehler auf diesen Seiten mal vorhanden war und das als Text indexiert wurde. Den Fehler müsste es also relativ oft geben.
Ich habe nun mal in den o.g. Code die absoluten Pfade aus der Fehlermedlung eingesetzt. Weiß nicht, ob das sinnvoll ist, denn ich habe eigentlich keine Ahnung von PHP & Co. Aber die Fehlermeldung sind im Frontend nun weg und ich komme nun sogar wieder ins Backend. Allerdings sind dort noch diverse Fehlermeldungen, die das Backend sehr unansehnlich machn.
Neuer Code mit absoluten Pfaden:
/*-----------------------------------------------------------------------------------*/
// Add the shortcodes...
/*-----------------------------------------------------------------------------------*/
include("/var/www/web447/html/infoblog/wp-content/themes/nightbrand/functions/shortcodes.php");
/*-----------------------------------------------------------------------------------*/
// Add the widgets...
/*-----------------------------------------------------------------------------------*/
include("/var/www/web447/html/infoblog/wp-content/themes/nightbrand/functions/widgets.php");
/*-----------------------------------------------------------------------------------*/
// Add the theme settings...
/*-----------------------------------------------------------------------------------*/
include("/var/www/web447/html/infoblog/wp-content/themes/nightbrand/functions/theme-settings.php");
/*-----------------------------------------------------------------------------------*/
// Add the theme settings...
/*-----------------------------------------------------------------------------------*/
include("/var/www/web447/html/infoblog/wp-content/themes/nightbrand/functions/theme-default.php");
// Tweets...
/*-----------------------------------------------------------------------------------*/
include("/var/www/web447/html/infoblog/wp-content/themes/nightbrand/functions/widget-tweets.php");
Alles anzeigen
Noch vorhandene Fehlermeldungen im Backend:
Warning: require() [function.require]: open_basedir restriction in effect. File(/usr/share/pear/OAuth.php) is not within the allowed path(s): (/var/www/web447/html/:/var/www/web447/phptmp/:/var/www/web447/files/:/var/www/web447/atd/:/usr/share/php/:/opt/php/) in /var/www/web447/html/infoblog/wp-content/plugins/google-analytics-for-wordpress/admin/wp-gdata/wp-gdata.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web447/html/infoblog/wp-content/plugins/google-analytics-for-wordpress/admin/wp-gdata/wp-gdata.php:10) in /var/www/web447/html/infoblog/wp-includes/functions.php on line 861
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web447/html/infoblog/wp-content/plugins/google-analytics-for-wordpress/admin/wp-gdata/wp-gdata.php:10) in /var/www/web447/html/infoblog/wp-includes/functions.php on line 862
Weiterhin dankbar Wissen, Übrlegungen und Vermutungen!