Schade!
Ich dachte ihr könnt mir dabei helfen :???:
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellenSchade!
Ich dachte ihr könnt mir dabei helfen :???:
Dank dir für die Antwort, aber wie siehts mit der function.php aus?
Sind die php-Blöcke so in Ordnung?
Also die config.php scheint sauber zu sein. Jedoch endet der PHP-Block nicht mit ?>
Keine Ahnung ob das nötig ist, jedenfalls endet die Datei so:
/** WordPress absolute path to the Wordpress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
In der function.php hab ich jedoch diese merkwürdigen Stellen gefunden:
/* since 3.4.3 */
function add_js_link() {
global $bfa_ata;
if ( $bfa_ata['javascript_external'] == "External" ) { ?>
<script type="text/javascript" src="<?php echo $bfa_ata['get_option_home']; ?>/?bfa_ata_file=js"></script>
<?php }
}
Usage:
<?php bfa_widget_area([parameters]); ?>
Example:
<?php bfa_widget_area('name=My widget area&cells=4&align=1&align_2=9&align_3=7&width_4=700&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
Sind diese Leerzeichen denn sinnvoll bzw.könnten diese den Fehler verursacht haben? :confused:
Danke für eure Hilfe
Das ist echt ne Aufgabe.:shock:
Ich werde so schnell wie möglich die Dateien durchsuchen.
Habt ihr vielleicht noch einen Tip, wie das am schnellsten geht?
Ich frage mich jedoch wie das passieren soll, da ich die Theme ja nicht aktualisiert hatte sondern nur WP.
Boa das ist natürlich auch eine Aufgabe.
Ich habe keinen Plan wo die PHP-Blöcke anfangen bzw. aufhören. Und ja da sind Leerzeile enthalten,doch welche genau weg müssen weiß ich nicht
Schaut mal hier die zweite Hälfte der Function.php
echo '</div>';
$current_name = $r['name'];
$bfa_widget_areas[$current_name] = $this_widget_area;
}
update_option("bfa_widget_areas", $bfa_widget_areas);
}
function bfa_table_cell_align($align_type) {
switch ($align_type) {
case 1: $string = 'align="center" valign="middle"'; break;
case 2: $string = 'align="center" valign="top"'; break;
case 3: $string = 'align="right" valign="top"'; break;
case 4: $string = 'align="right" valign="middle"'; break;
case 5: $string = 'align="right" valign="bottom"'; break;
case 6: $string = 'align="center" valign="bottom"'; break;
case 7: $string = 'align="left" valign="bottom"'; break;
case 8: $string = 'align="left" valign="middle"'; break;
case 9: $string = 'align="left" valign="top"';
}
return $string;
}
// Since 3.4.3: Delete Widget Areas
function bfa_ata_reset_widget_areas() {
check_ajax_referer( "reset_widget_areas" );
$delete_areas = $_POST['delete_areas'];
$current_areas = get_option('bfa_widget_areas');
foreach ($delete_areas as $area_name) {
unset($current_areas[$area_name]);
}
update_option('bfa_widget_areas', $current_areas);
echo 'Custom widget areas deleted...';
die();
}
// add_action ( 'wp_ajax_' + [name of "action" in jQuery.ajax, see functions/bfa_css_admin_head.php], [name of function])
add_action( 'wp_ajax_reset_bfa_ata_widget_areas', 'bfa_ata_reset_widget_areas' );
// This adds arbitrary content at various places in the center (= content) column:
function bfa_center_content($center_content) {
global $bfa_ata;
// PHP
// not for WPMU - enabled again since 3.4.3 until alternative for WPMU is available
# if ( !file_exists(ABSPATH."/wpmu-settings.php") ) {
if ( strpos($center_content,'<?php ') !== FALSE ) {
ob_start();
eval('?>'.$center_content);
$center_content = ob_get_contents();
ob_end_clean();
}
# }
echo $center_content;
}
/* CUSTOM BODY TITLE and meta title, meta keywords, meta description */
/* Use the admin_menu action to define the custom boxes */
if (is_admin())
add_action('admin_menu', 'bfa_ata_add_custom_box');
/* Use the save_post action to do something with the data entered */
add_action('save_post', 'bfa_ata_save_postdata');
/* Use the publish_post action to do something with the data entered */
#add_action('publish_post', 'bfa_ata_save_postdata');
#add_action('pre_post_update', 'bfa_ata_save_postdata');
/* Adds a custom section to the "advanced" Post and Page edit screens */
function bfa_ata_add_custom_box() {
if( function_exists( 'add_meta_box' )) {
add_meta_box( 'bfa_ata_sectionid', __( 'Atahualpa Post Options', 'atahualpa' ),
'bfa_ata_inner_custom_box', 'post', 'normal', 'high' );
add_meta_box( 'bfa_ata_sectionid', __( 'Atahualpa Page Options', 'atahualpa' ),
'bfa_ata_inner_custom_box', 'page', 'normal', 'high' );
} else {
add_action('dbx_post_advanced', 'bfa_ata_old_custom_box' );
add_action('dbx_page_advanced', 'bfa_ata_old_custom_box' );
}
}
/* Prints the inner fields for the custom post/page section */
function bfa_ata_inner_custom_box() {
global $post;
// Use nonce for verification
echo '<input type="hidden" name="bfa_ata_noncename" id="bfa_ata_noncename" value="' .
wp_create_nonce( plugin_basename(__FILE__) ) . '" />';
// The actual fields for data entry
$thePostID = $post->ID;
$post_id = get_post($thePostID);
$title = $post_id->post_title;
$body_title = get_post_meta($post->ID, 'bfa_ata_body_title', true);
if ( $body_title == '' ) {
$body_title = $title;
}
$display_body_title = get_post_meta($post->ID, 'bfa_ata_display_body_title', true);
$body_title_multi = get_post_meta($post->ID, 'bfa_ata_body_title_multi', true);
if ( $body_title_multi == '' ) {
$body_title_multi = $title;
}
$meta_title = get_post_meta($post->ID, 'bfa_ata_meta_title', true);
$meta_keywords = get_post_meta($post->ID, 'bfa_ata_meta_keywords', true);
$meta_description = get_post_meta($post->ID, 'bfa_ata_meta_description', true);
echo '<table cellpadding="5" cellspacing="0" border="0" style="table-layout:fixed;width:100%">';
echo '<tr><td style="text-align:right;padding:2px 5px 2px 2px"><input id="bfa_ata_display_body_title" name="bfa_ata_display_body_title" type="checkbox" '. ($display_body_title == 'on' ? ' CHECKED' : '') .' /></td><td>Check to <strong>NOT</strong> display the Body Title on Single Post or Static Pages</td></tr>';
echo '<tr><td style="text-align:right;padding:2px 5px 2px 2px"><label for="bfa_ata_body_title">' . __("Body Title Single Pages", 'atahualpa' ) . '</label></td>';
echo '<td><input type="text" name="bfa_ata_body_title" value="' . $body_title . '" size="70" style="width:97%" /></td></tr>';
echo '<tr><td style="text-align:right;padding:2px 5px 2px 2px"><label for="bfa_ata_body_title_multi">' . __("Body Title Multi Post Pages", 'atahualpa' ) . '</label></td>';
echo '<td><input type="text" name="bfa_ata_body_title_multi" value="' . $body_title_multi . '" size="70" style="width:97%" /></td></tr>';
echo '<colgroup><col style="width:200px"><col></colgroup>';
echo '<tr><td style="text-align:right;padding:2px 5px 2px 2px"><label for="bfa_ata_meta_title">' . __("Meta Title", 'atahualpa' ) . '</label></td>';
echo '<td><input type="text" name="bfa_ata_meta_title" value="' .
$meta_title . '" size="70" style="width:97%" /></td></tr>';
echo '<tr><td style="text-align:right;padding:2px 5px 2px 2px"><label for="bfa_ata_meta_keywords">' . __("Meta Keywords", 'atahualpa' ) . '</label></td>';
echo '<td><input type="text" name="bfa_ata_meta_keywords" value="' .
$meta_keywords . '" size="70" style="width:97%" /></td></tr>';
echo '<tr><td style="text-align:right;vertical-align:top;padding:5px 5px 2px 2px"><label for="bfa_ata_meta_description">' . __("Meta Description", 'atahualpa' ) . '</label></td>';
echo '<td><textarea name="bfa_ata_meta_description" cols="70" rows="4" style="width:97%">'.$meta_description.'</textarea></td></tr>';
echo '</table>';
}
/* Prints the edit form for pre-WordPress 2.5 post/page */
function bfa_ata_old_custom_box() {
echo '<div class="dbx-b-ox-wrapper">' . "\n";
echo '<fieldset id="bfa_ata_fieldsetid" class="dbx-box">' . "\n";
echo '<div class="dbx-h-andle-wrapper"><h3 class="dbx-handle">' .
__( 'Body copy title', 'atahualpa' ) . "</h3></div>";
echo '<div class="dbx-c-ontent-wrapper"><div class="dbx-content">';
// output editing form
bfa_ata_inner_custom_box();
// end wrapper
echo "</div></div></fieldset></div>\n";
}
/* When the post is saved, save our custom data */
function bfa_ata_save_postdata( $post_id ) {
/* verify this came from the our screen and with proper authorization,
because save_post can be triggered at other times */
if ( !wp_verify_nonce( $_POST['bfa_ata_noncename'], plugin_basename(__FILE__) )) {
return $post_id;
}
if ( 'page' == $_POST['post_type'] ) {
if ( !current_user_can( 'edit_page', $post_id ))
return $post_id;
} else {
if ( !current_user_can( 'edit_post', $post_id ))
return $post_id;
}
// Save the data
$new_body_title = $_POST['bfa_ata_body_title'];
$new_display_body_title = !isset($_POST["bfa_ata_display_body_title"]) ? NULL : $_POST["bfa_ata_display_body_title"];
$new_body_title_multi = $_POST['bfa_ata_body_title_multi'];
$new_meta_title = $_POST['bfa_ata_meta_title'];
$new_meta_keywords = $_POST['bfa_ata_meta_keywords'];
$new_meta_description = $_POST['bfa_ata_meta_description'];
update_post_meta($post_id, 'bfa_ata_body_title', $new_body_title);
update_post_meta($post_id, 'bfa_ata_display_body_title', $new_display_body_title);
update_post_meta($post_id, 'bfa_ata_body_title_multi', $new_body_title_multi);
update_post_meta($post_id, 'bfa_ata_meta_title', $new_meta_title);
update_post_meta($post_id, 'bfa_ata_meta_keywords', $new_meta_keywords);
update_post_meta($post_id, 'bfa_ata_meta_description', $new_meta_description);
}
// Since 3.4.3: Add Spam and Delete links to comments
function delete_comment_link($id) {
if (current_user_can('edit_post')) {
echo '| <a href="'.admin_url("comment.php?action=cdc&c=$id").'">Delete</a> ';
echo '| <a href="'.admin_url("comment.php?action=cdc&dt=spam&c=$id").'">Spam</a>';
}
}
// Add "in-cat-catname" to body_class of single post pages
/*
function add_cats_to_body_class($classes='') {
if (is_single()) {
global $post;
$categories = get_the_category($post->ID);
foreach ($categories as $category) {
$classes[] = 'in-cat-' . $category->category_nicename;
}
}
return $classes;
}
add_filter('body_class', 'add_cats_to_body_class');
*/
?>
Alles anzeigen
Danke für die Antwort
ZitatDann poste mal die Fehler-Meldungen hier, wir können nämlich nicht hellsehen :wink:
Notice: Use of undefined constant restore_options - assumed 'restore_options' in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 102
Notice: Undefined index: restore_options in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 102
Notice: Use of undefined constant restore_options - assumed 'restore_options' in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 108
Notice: Undefined index: restore_options in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 108
Notice: Undefined index: action in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 1942
Notice: Undefined index: action2 in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 2041
Notice: Undefined index: action3 in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 2046
Notice: Undefined index: editdata in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 2765
Notice: Undefined index: action in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/dmsguestbook/admin.php on line 2820
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: Undefined variable: logo_icon_text in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/themes/atahualpa/functions/bfa_theme_options.php on line 478
Notice: Undefined variable: header_image_text in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/themes/atahualpa/functions/bfa_theme_options.php on line 602
Notice: Undefined variable: widget_form_string in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/themes/atahualpa/functions/bfa_theme_options.php on line 1862
Notice: Undefined index: std in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/themes/atahualpa/functions/bfa_get_options.php on line 16
Notice: Undefined variable: left_col in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/themes/atahualpa/functions/bfa_get_options.php on line 194
Notice: Undefined variable: left_col2 in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/themes/atahualpa/functions/bfa_get_options.php on line 195
Notice: Undefined variable: right_col in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/themes/atahualpa/functions/bfa_get_options.php on line 196
Notice: Undefined variable: right_col2 in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/themes/atahualpa/functions/bfa_get_options.php on line 197
Notice: register_sidebar_widget ist seit Version 2.8 veraltet! Benutze stattdessen wp_register_sidebar_widget(). in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: register_widget_control ist seit Version 2.8 veraltet! Benutze stattdessen wp_register_widget_control(). in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: register_sidebar_widget ist seit Version 2.8 veraltet! Benutze stattdessen wp_register_sidebar_widget(). in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: register_widget_control ist seit Version 2.8 veraltet! Benutze stattdessen wp_register_widget_control(). in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: register_sidebar_widget ist seit Version 2.8 veraltet! Benutze stattdessen wp_register_sidebar_widget(). in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: register_widget_control ist seit Version 2.8 veraltet! Benutze stattdessen wp_register_widget_control(). in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: Use of undefined constant wp_cumulus_widget - assumed 'wp_cumulus_widget' in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/wp-cumulus/wp-cumulus.php on line 375
Notice: register_sidebar_widget ist seit Version 2.8 veraltet! Benutze stattdessen wp_register_sidebar_widget(). in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: register_widget_control ist seit Version 2.8 veraltet! Benutze stattdessen wp_register_widget_control(). in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php on line 3237
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php:3237) in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1108
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-includes/functions.php:3237) in /home/vol4/byethost17.com/b17_3600780/liquid-flavour.de/htdocs/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1108
Zitat
Ich hab von Version 2.8.x auf 3.0 upgedatet. Allerdings habe ich auch gesehen, das die config.php von meiner allerersten Instalation 2.6. ist.
So nun hab ich debug eingefügt und entliche Meldungen erhalten.
Woher weiß ich denn nun was das Fehlen des Backends verursacht?
Am liebsten würde ich wieder auf eine alte Version umswitchen, ist dies möglich? :confused:
...mh ok, also doch einfügen :?:, da [FONT=monospace]"[/FONT]define('WP_DEBUG', true);" ja nicht in der config enthalten ist
Liebe Forennutzer,
kann mir jemand helfen?
Ich weiß einfach nicht woran es liegt.
Ich danke euch für eure Hilfe.
Zitatweißer Bildschirm = vermutlich PHP-Fehler = mal Fehler ausgeben lassen => WP_DEBUG in wp-config.php mal auf true stellen
Wo genau soll ich das machen? In der config.php kann ich das nicht finden.[URL="javascript:submitBrowseForm('/liquid-flavour.de/htdocs/wordpress','wp-config.php','downloadfile','');"]
[/URL]
Hallöchen,
ich habe gestern meine Seite aktualisiert, auf WP 3.0.1.
Nach dem Upgrade kam noch kurz der Hinweis, dass die Datenbank aktualisiert wird und dann der übliche Anmeldebildschirm.
Nach der Anmeldung erscheint nur leider das Backend nicht, sondern der Bildschirm bleibt weiß.
Habt ihr eine Ahnung was falsch gelaufen ist bzw. wie ich die Verbindung/Weiterleitung zum Backend wieder herstellen kann?
Danke