maxe
danke habe es mit dem ersten link gemacht es klappt wunderbar
Beiträge von hmm
-
-
könnte einer den titel bitte ändern danke.
muss ich 'WP_CACHE' true mit das hier ersetzten? ('WP_MEMORY_LIMIT', '32M')
Zitat<?php
/** Enable W3 Total Cache **/
define('WP_CACHE', true); // Added by W3 Total CachePutzlowitsch
jep der hoster ist 1und1maxe
das nächste mal werde ich es tun ;) -
-
Evtl. verursacht ein aktives Plugin das Mailproblem. Deaktiviere mal ALLE Plugins testweise.
danke ist nicht mehr nötig ich habe ein plugin gefunden wo sich user beim anmelden ein passwort anlegen könnenZur Mailadresse ... die kannst du über ein Filter ändern: wp_mail_from
lies mal hier z.B. http://bueltge.de/standard-mail-…ss-aendern/998/
wo muss das hin in den plugin ordner oder wo anders hin? -
Danke hat sich erledigt ich habe alles manuell auf denn Server geladen :)
-
hi ich habe einen benutzter angelegt er hat keine email bekommen ich habe mich gestern mit einer meiner mails registriert ich habe keine email bekommen als ich auf passwort vergessen geklickt habe habe ich eine email mit einem bestätigunslink bekommen dort konnte ich dann ein pw eingeben.
ich benutze dieses plugin insite login.
ahja bei der email stand wordpress@meinedomain.tld wo kann ich das wordpress mit kontakt ersetzten?
-
kann mir jemand bitte link dazu geben?
-
Es wird doch nicht von dem Code verursacht, es kam mir nur so vor, der Fehler ist aber dennoch vorhanden.Und es liegt auch nicht am Update ich hatte ein Backup gemacht da war es das selbe.
Nachtrag:
Hier der Code von wp-comments-post.phpPHP
Alles anzeigen<?php /** * Handles Comment Post to WordPress and prevents duplicate comment posting. * * @package WordPress */ if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { header('Allow: POST'); header('HTTP/1.1 405 Method Not Allowed'); header('Content-Type: text/plain'); exit; } /** Sets up the WordPress Environment. */ require( dirname(__FILE__) . '/wp-load.php' ); nocache_headers(); $comment_post_ID = isset($_POST['comment_post_ID']) ? (int) $_POST['comment_post_ID'] : 0; $post = get_post($comment_post_ID); if ( empty($post->comment_status) ) { do_action('comment_id_not_found', $comment_post_ID); exit; } // get_post_status() will get the parent status for attachments. $status = get_post_status($post); $status_obj = get_post_status_object($status); if ( !comments_open($comment_post_ID) ) { do_action('comment_closed', $comment_post_ID); wp_die( __('Sorry, comments are closed for this item.') ); } elseif ( 'trash' == $status ) { do_action('comment_on_trash', $comment_post_ID); exit; } elseif ( !$status_obj->public && !$status_obj->private ) { do_action('comment_on_draft', $comment_post_ID); exit; } elseif ( post_password_required($comment_post_ID) ) { do_action('comment_on_password_protected', $comment_post_ID); exit; } else { do_action('pre_comment_on_post', $comment_post_ID); } $comment_author = ( isset($_POST['author']) ) ? trim(strip_tags($_POST['author'])) : null; $comment_author_email = ( isset($_POST['email']) ) ? trim($_POST['email']) : null; $comment_author_url = ( isset($_POST['url']) ) ? trim($_POST['url']) : null; $comment_content = ( isset($_POST['comment']) ) ? trim($_POST['comment']) : null; // If the user is logged in $user = wp_get_current_user(); if ( $user->ID ) { if ( empty( $user->display_name ) ) $user->display_name=$user->user_login; $comment_author = $wpdb->escape($user->display_name); $comment_author_email = $wpdb->escape($user->user_email); $comment_author_url = $wpdb->escape($user->user_url); if ( current_user_can('unfiltered_html') ) { if ( wp_create_nonce('unfiltered-html-comment_' . $comment_post_ID) != $_POST['_wp_unfiltered_html_comment'] ) { kses_remove_filters(); // start with a clean slate kses_init_filters(); // set up the filters } } } else { if ( get_option('comment_registration') || 'private' == $status ) wp_die( __('Sorry, you must be logged in to post a comment.') ); } $comment_type = ''; if ( get_option('require_name_email') && !$user->ID ) { if ( 6 > strlen($comment_author_email) || '' == $comment_author ) wp_die( __('Error: please fill the required fields (name, email).') ); elseif ( !is_email($comment_author_email)) wp_die( __('Error: please enter a valid email address.') ); } if ( '' == $comment_content ) wp_die( __('Error: please type a comment.') ); $comment_parent = isset($_POST['comment_parent']) ? absint($_POST['comment_parent']) : 0; $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_ID'); $comment_id = wp_new_comment( $commentdata ); $comment = get_comment($comment_id); if ( !$user->ID ) { $comment_cookie_lifetime = apply_filters('comment_cookie_lifetime', 30000000); setcookie('comment_author_' . COOKIEHASH, $comment->comment_author, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN); setcookie('comment_author_email_' . COOKIEHASH, $comment->comment_author_email, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN); setcookie('comment_author_url_' . COOKIEHASH, esc_url($comment->comment_author_url), time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN); } $location = empty($_POST['redirect_to']) ? get_comment_link($comment_id) : $_POST['redirect_to'] . '#comment-' . $comment_id; $location = apply_filters('comment_post_redirect', $location, $comment); wp_redirect($location); ?> -
-
hier der code vom comments.php
PHP
Alles anzeigen<?php // Do not delete these lines if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if (!empty($post->post_password)) { // if there's a password if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie ?> <p class="nocomments">Dieser Beitrag ist geschützt. Bitte geben Sie das Passwort ein, um die Kommentare zu sehen.</p> <?php return; } } ?> <!-- You can start editing here. --> <?php if ($comments) : ?> <h3 id="comments"><?php sf_comments_number("0 Keine Kommentare", "1 Kommentar", "% Kommentare", true); ?> <a href="#respond" title="<?php _e("Kommentar hinterlassen"); ?>">»</a></h3> <ul class="commentlist"> <?php foreach ($comments as $comment) : ?> <?php $isByAuthor = false; if($comment->comment_author_email == get_the_author_email()) { $isByAuthor = true; }?> <div class="commentlist"> <li id="comment-<?php comment_ID() ?>" <?php if($isByAuthor ) { echo 'class="my_comment"';} ?>> <div class="clearfloat"> <?php echo get_avatar( $comment, $size = '55' ); ?> <div class="commenttext"> <cite><strong><?php comment_author_link() ?> <?php if($isByAuthor ) { echo '(author)';} ?> </strong> said: </cite> <?php if ($comment->comment_approved == '0') : ?> <em>Ihr Kommentar wird in Kürze freigeschaltet.</em> <?php endif; ?> <?php comment_text() ?> </div> </div> <div class="commentmetadata"># <?php comment_date('j F Y') ?> at <?php comment_time() ?> </div> </li> <?php endforeach; /* end for each comment */ ?> </ul> <?php else : // this is displayed if there are no comments so far ?> <?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> <!-- If comments are closed. --> <p class="nocomments"></p> <?php endif; ?> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <h3 id="respond">Kommentar hinterlassen</h3> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p>Sie müssen <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">eingeloggt sein</a> um einen Kommentar zu hinterlassen.</p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p>Eingeloggt als <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Ausloggen">Logout »</a></p> <?php else : ?> <p>Kommentar hier hinterlassen, <a href="<?php trackback_url(true); ?>" rel="trackback">Trackback</a> auf Ihrer Seite einfügen oder <?php comments_rss_link('Kommentare als RSS abonnieren'); ?>.</p> <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" class="field" /> <label for="author"><small>Name <?php if ($req) echo "(erforderlich)"; ?></small></label></p> <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" class="field" /> <label for="email"><small>Mail (wird nicht veröffentlicht) <?php if ($req) echo "(erforderlich)"; ?></small></label></p> <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" class="field" /> <label for="url"><small>Website (optional)</small></label></p> <?php endif; ?> <p><textarea name="comment" id="comment" cols="100%" rows="15" tabindex="4"></textarea></p> <p><input name="submit" class="searchbutton" type="submit" id="submit" tabindex="5" value="Absenden" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </p> <?php do_action('comment_form', $post->ID); ?> </form> <?php endif; // If registration required and not logged in ?> <?php endif; ?> -
Bei welchem Theme? Tritt es auch bei anderen Themes auf?
Arthemia
doch es trifft auch bei den anderen themes auf -
auf update Wp 3.5 erscheint kommentar doppelt
halli hallöle ich bin seit langem mal wieder da und brauche eure hilfe :)
ich habe mein wp manuell auf 3.0.5 geupdatet wenn ich ein kommentar schreibe erscheint es doppelt einmal unten und einmal oben hier mal ein screen http://s7.directupload.net/images/110217/e5ctpdu4.jpg -
ehrlich gesagt habe ich dein link nicht verstanden.screenshot da wo browse categories steht das meine ich
http://michaelhutagalung.com/wp-content/upl…hemia-front.jpgund hier das theme zum downloaden http://michaelhutagalung.com/2008/05/arthem…theme-released/
-
Ich kenne das Theme nicht. Aber du kannst ja cats erstellen, die sollten dann in deinem Menü erscheinen, wenn ein Artikel zugewiesen ist.
ok lassen wir das theme mal bei seite kurz.
wie geht das? -
Das werden Kategorien sein in denen du Artikel kategorisieren kannst.
und wie geht das? -
ja es ist möglich falls du das hier meinst gehe in dein wordpress verzeichnis \wp-content\themes\DEINSTYLE
erstelle dir das hier tuhe es in dem oben genannten verzeichnis und dann gehst du in dein wp admin bereich dann zu seite dann wählst du eine seite klickst auf bearbeitet gehst dann da zu attributte da steht dann template dann wählst du den namen des templates dann fertig
PHP
Alles anzeigen<?php /* Template Name: Irgendein Name */ ?> <?php get_header(); ?> <div id="content" class="widecolumn"> <?php query_posts('category_name=Dein angelegter Seiten Name'); ?> <?php if (have_posts()) : while (have_posts()) : the_post();?> <div class="post"> <h2 id="post-<?php the_ID(); ?>"><?php the_title();?></h2> <div class="entrytext"> <?php the_content('<p class="serif">Weiterlesen..</p>'); ?> </div> </div> <div id="comments"> <?php comments_template(); ?> </div> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> <?php endwhile; endif; ?> </div> <div id="main"> </div> <?php get_footer(); ?> -
ich benutzte das arthemia style und da kann man bei themen und profile cats erstellen was sind cats? und wie erstelle ich ein cat?
-
Hä? Verstehe nicht...
Du lädst Dir hier das Upgradepaket (bei Update von 3.0.3 auf 3.0.4) oder das komplette Paket herunter und überschreibst die auf dem Server vorhandenen Dateien damit. Anschließend führst Du http://www.example.com/wp-admin/upgrade.php aus (example.com durch Deine Domain ersetzen). Fertig. Halt so wie es in der mitgelieferten readme steht.
ich war nur ein wenig verwirrt :D
danke :) -
Stichwort: memory_limit
Deaktiviere mal alle Plugins vor dem Autoupdate. Wenn das nichts bringt, solltest Du das Update per FTP durchführen.
ok wo muss ich update-core.php von wp-admin\includes uploaden in den wp-admin ordner oder in dem unterordner von wp-admin/includes? -
ich wollte mein wordpress heute auf die neueste version updaten, es kam diese fehlermeldung
Fatal error: Out of memory (allocated 29622272) (tried to allocate 3334930 bytes) in /wordpress/wp-includes/class-http.php on line 1402