Fehler nach Wordpress-Update..
lima-city → Forum → Programmiersprachen → PHP, MySQL & .htaccess
are
argument
august
auszug
beitrag
expression
fatal error
fehler
fehlermeldung
first
gleiche fehler
hacken
malve
marathon
march
neuerding
november
schreiten
september
update
-
moin moin,
ich habe hier ein Wordpress Update gemacht, aber seit dem geht es nix mehr!?
Was habe ich falsch gemacht, es wimmelt nur so von Fehlermeldungen, weiß garnicht wo ich anfangen soll!
hier mal ein auszug:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, \'_config_wp_siteurl\' was given in /home/webpages/lima-city/marathon/html/malve/wordpress/wp-includes/plugin.php on line 57 hier der auszug aus line 57: [quote] $string = call_user_func_array($the_[\'function\'], array_slice($args, 1, (int) $the_[\'accepted_args\'])); [/quote] Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, \'wp_maybe_load_widgets\' was given in /home/webpages/lima-city/marathon/html/malve/wordpress/wp-includes/plugin.php on line 160 hier line 160: [quote] call_user_func_array($the_[\'function\'], array_slice($args, 0, (int) $the_[\'accepted_args\'])); [/quote] Warning: preg_replace() [function.preg-replace]: Empty regular expression in /home/webpages/lima-city/marathon/html/malve/wordpress/wp-includes/formatting.php on line 647 hier line 647: [quote] $content = preg_replace($wp_smiliessearch, $wp_smiliesreplace, $content); [/quote]
Beitrag geändert: 27.9.2007 0:48:22 von marathon -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage
-
Sooooo,
ich habe nochmal versucht selber was zu verbessern, aber es wird nur schlimmer! hat noch jemand einen tipp?
nun kommt nur noch diese fehlermeldung:
Fatal error: Call to undefined function _c() in /home/webpages/lima-city/marathon/html/malve/wordpress/wp-includes/locale.php on line 93
so, hier die line 93
$trans = _c(\'number_format_decimals|$decimals argument for http://php.net/number_format, default is 0\');
so langsam glaube ich es hilft nur alles neu zu machen, oder? -
verlink doch mal die ganze code von der datei ;) der fehler muss net immer in der angegebenen zeiule sein kann auch paar zeilen zuvor sein wenn du ein } z.b. gelöscht hast!
-
ok, hoffe es hilft!
<?php // Date and Time class WP_Locale { var $weekday; var $weekday_initial; var $weekday_abbrev; var $month; var $month_abbrev; var $meridiem; var $text_direction = \'ltr\'; var $locale_vars = array(\'text_direction\'); function init() { // The Weekdays $this->weekday[0] = __(\'Sunday\'); $this->weekday[1] = __(\'Monday\'); $this->weekday[2] = __(\'Tuesday\'); $this->weekday[3] = __(\'Wednesday\'); $this->weekday[4] = __(\'Thursday\'); $this->weekday[5] = __(\'Friday\'); $this->weekday[6] = __(\'Saturday\'); // The first letter of each day. The _%day%_initial suffix is a hack to make // sure the day initials are unique. $this->weekday_initial[__(\'Sunday\')] = __(\'S_Sunday_initial\'); $this->weekday_initial[__(\'Monday\')] = __(\'M_Monday_initial\'); $this->weekday_initial[__(\'Tuesday\')] = __(\'T_Tuesday_initial\'); $this->weekday_initial[__(\'Wednesday\')] = __(\'W_Wednesday_initial\'); $this->weekday_initial[__(\'Thursday\')] = __(\'T_Thursday_initial\'); $this->weekday_initial[__(\'Friday\')] = __(\'F_Friday_initial\'); $this->weekday_initial[__(\'Saturday\')] = __(\'S_Saturday_initial\'); foreach ($this->weekday_initial as $weekday_ => $weekday_initial_) { $this->weekday_initial[$weekday_] = preg_replace(\'/_.+_initial$/\', \'\', $weekday_initial_); } // Abbreviations for each day. $this->weekday_abbrev[__(\'Sunday\')] = __(\'Sun\'); $this->weekday_abbrev[__(\'Monday\')] = __(\'Mon\'); $this->weekday_abbrev[__(\'Tuesday\')] = __(\'Tue\'); $this->weekday_abbrev[__(\'Wednesday\')] = __(\'Wed\'); $this->weekday_abbrev[__(\'Thursday\')] = __(\'Thu\'); $this->weekday_abbrev[__(\'Friday\')] = __(\'Fri\'); $this->weekday_abbrev[__(\'Saturday\')] = __(\'Sat\'); // The Months $this->month[\'01\'] = __(\'January\'); $this->month[\'02\'] = __(\'February\'); $this->month[\'03\'] = __(\'March\'); $this->month[\'04\'] = __(\'April\'); $this->month[\'05\'] = __(\'May\'); $this->month[\'06\'] = __(\'June\'); $this->month[\'07\'] = __(\'July\'); $this->month[\'08\'] = __(\'August\'); $this->month[\'09\'] = __(\'September\'); $this->month[\'10\'] = __(\'October\'); $this->month[\'11\'] = __(\'November\'); $this->month[\'12\'] = __(\'December\'); // Abbreviations for each month. Uses the same hack as above to get around the // \'May\' duplication. $this->month_abbrev[__(\'January\')] = __(\'Jan_January_abbreviation\'); $this->month_abbrev[__(\'February\')] = __(\'Feb_February_abbreviation\'); $this->month_abbrev[__(\'March\')] = __(\'Mar_March_abbreviation\'); $this->month_abbrev[__(\'April\')] = __(\'Apr_April_abbreviation\'); $this->month_abbrev[__(\'May\')] = __(\'May_May_abbreviation\'); $this->month_abbrev[__(\'June\')] = __(\'Jun_June_abbreviation\'); $this->month_abbrev[__(\'July\')] = __(\'Jul_July_abbreviation\'); $this->month_abbrev[__(\'August\')] = __(\'Aug_August_abbreviation\'); $this->month_abbrev[__(\'September\')] = __(\'Sep_September_abbreviation\'); $this->month_abbrev[__(\'October\')] = __(\'Oct_October_abbreviation\'); $this->month_abbrev[__(\'November\')] = __(\'Nov_November_abbreviation\'); $this->month_abbrev[__(\'December\')] = __(\'Dec_December_abbreviation\'); foreach ($this->month_abbrev as $month_ => $month_abbrev_) { $this->month_abbrev[$month_] = preg_replace(\'/_.+_abbreviation$/\', \'\', $month_abbrev_); } // The Meridiems $this->meridiem[\'am\'] = __(\'am\'); $this->meridiem[\'pm\'] = __(\'pm\'); $this->meridiem[\'AM\'] = __(\'AM\'); $this->meridiem[\'PM\'] = __(\'PM\'); // Numbers formatting // See http://php.net/number_format $trans = _c(\'number_format_decimals|$decimals argument for http://php.net/number_format, default is 0\'); $this->number_format[\'decimals\'] = (\'number_format_decimals\' == $trans) ? 0 : $trans; $trans = _c(\'number_format_decimal_point|$dec_point argument for http://php.net/number_format, default is .\'); $this->number_format[\'decimal_point\'] = (\'number_format_decimal_point\' == $trans) ? \'.\' : $trans; $trans = _c(\'number_format_thousands_sep|$thousands_sep argument for http://php.net/number_format, default is ,\'); $this->number_format[\'thousands_sep\'] = (\'number_format_thousands_sep\' == $trans) ? \',\' : $trans; // Import global locale vars set during inclusion of $locale.php. foreach ( $this->locale_vars as $var ) { if ( isset($GLOBALS[$var]) ) $this->$var = $GLOBALS[$var]; } } function get_weekday($weekday_number) { return $this->weekday[$weekday_number]; } function get_weekday_initial($weekday_name) { return $this->weekday_initial[$weekday_name]; } function get_weekday_abbrev($weekday_name) { return $this->weekday_abbrev[$weekday_name]; } function get_month($month_number) { return $this->month[zeroise($month_number, 2)]; } function get_month_initial($month_name) { return $this->month_initial[$month_name]; } function get_month_abbrev($month_name) { return $this->month_abbrev[$month_name]; } function get_meridiem($meridiem) { return $this->meridiem[$meridiem]; } // Global variables are deprecated. For backwards compatibility only. function register_globals() { $GLOBALS[\'weekday\'] = $this->weekday; $GLOBALS[\'weekday_initial\'] = $this->weekday_initial; $GLOBALS[\'weekday_abbrev\'] = $this->weekday_abbrev; $GLOBALS[\'month\'] = $this->month; $GLOBALS[\'month_abbrev\'] = $this->month_abbrev; } function WP_Locale() { $this->init(); $this->register_globals(); } } ?>
-
sooo .. hat ja alles nix gebracht .. nun habe ich eine neuinstalltion hintermir .. die datenbank konnte noch gerettet werden. Das Blog wird auch schon wieder ordentlich angezeigt, aber im adminbereich gibt es noch fehlermeldungen:
Warning: filesize() [function.filesize]: stat failed for /home/webpages/lima-city/marathon/html/malve/wordpress/wp-content/quebec-september-10.JPG in /home/webpages/lima-city/marathon/html/malve/wordpress/wp-admin/includes/upload.php on line 42
<?php function wp_upload_display( $dims = false, $href = \'\' ) { global $post; $id = get_the_ID(); $attachment_data = wp_get_attachment_metadata( $id ); $is_image = (int) wp_attachment_is_image(); $filesystem_path = get_attached_file( $id ); if ( !isset($attachment_data[\'width\']) && $is_image ) { if ( $image_data = getimagesize( $filesystem_path ) ) { $attachment_data[\'width\'] = $image_data[0]; $attachment_data[\'height\'] = $image_data[1]; wp_update_attachment_metadata( $id, $attachment_data ); } } if ( isset($attachment_data[\'width\']) ) list($width,$height) = wp_shrink_dimensions($attachment_data[\'width\'], $attachment_data[\'height\'], 171, 128); $post_title = attribute_escape( the_title( \'\', \'\', false ) ); $post_content = attribute_escape(apply_filters( \'content_edit_pre\', $post->post_content )); $class = \'text\'; $innerHTML = get_attachment_innerHTML( $id, false, $dims ); if ( $image_src = get_attachment_icon_src() ) { $image_rel = wp_make_link_relative($image_src); $innerHTML = \' \' . str_replace($image_src, $image_rel, $innerHTML); $class = \'image\'; } $src_base = wp_get_attachment_url(); $src = wp_make_link_relative( $src_base ); $src_base = str_replace($src, \'\', $src_base); $r = \'\'; if ( $href ) $r .= \"<a id=\'file-link-$id\' href=\'$href\' title=\'$post_title\' class=\'file-link $class\'>\\n\"; if ( $href || $image_src ) $r .= \"\\t\\t\\t$innerHTML\"; if ( $href ) $r .= \"</a>\\n\"; $r .= \"\\t\\t\\t\\t<span class=\'upload-file-size\'>\".size_format(filesize($filesystem_path)).\"</span>\\n\"; $r .= \"\\n\\t\\t<div class=\'upload-file-data\'>\\n\\t\\t\\t<p>\\n\"; $r .= \"\\t\\t\\t\\t<input type=\'hidden\' name=\'attachment-url-$id\' id=\'attachment-url-$id\' value=\'$src\' />\\n\"; $r .= \"\\t\\t\\t\\t<input type=\'hidden\' name=\'attachment-url-base-$id\' id=\'attachment-url-base-$id\' value=\'$src_base\' />\\n\"; if ( !$thumb_base = wp_get_attachment_thumb_url() ) $thumb_base = wp_mime_type_icon(); if ( $thumb_base ) { $thumb_rel = wp_make_link_relative( $thumb_base ); $thumb_base = str_replace( $thumb_rel, \'\', $thumb_base ); $r .= \"\\t\\t\\t\\t<input type=\'hidden\' name=\'attachment-thumb-url-$id\' id=\'attachment-thumb-url-$id\' value=\'$thumb_rel\' />\\n\"; $r .= \"\\t\\t\\t\\t<input type=\'hidden\' name=\'attachment-thumb-url-base-$id\' id=\'attachment-thumb-url-base-$id\' value=\'$thumb_base\' />\\n\"; } usw. usw. usw. ... ...
Beitrag geändert: 30.9.2007 2:13:45 von marathon
Beitrag geändert: 30.9.2007 2:16:16 von marathon -
Ehm, nicht ganz der gleiche Fehler, aber ich kann bei Lima keine Updates mehr machen, ohne dass mein Adminbereich verschwindet. Dann kommt immer Seite derzeit nicht verfügbar Fenster.
Früher ging das alles so schön. Bei größeren Dateien sagte Wordpress sonst immer Update fehlgeschlagen. Aber neuerdings ist der Adminbereich einfach weg.
@marathon
Dein Beitrag ist schon verdammt alt, aber ich wollte keinen neuen Thread erstellen, der Titel passt auch zu meinem Problem ^^.
Allgemein, falls du das noch jemals ließt, sollte man alle Plugins deaktivieren, und Standardtemplate reinmachen. Dann Schritt für Schritt eines nach dem Anderen aktivieren. So sieht man, welches Plugin für den Fehler verantwortlich ist. Die Fehlerursache ist meist irgend ein Plugin, das mit der aktuellen WP-Version nicht mehr kompatibel ist. Die Kompatibilität kann man auf der Updateseite des jeweiligen Plugins ablesen. Bevor man ein WP-Update macht sollte man also für jedes Plugin nachprüfen, ob es nach dem Update damit noch laufen wird. -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage