Danke Maxe, werde ich machen.
Beiträge von Mohnfarbe
-
-
Hallo,
nach dem Update von 3.9.2 auf 4.0 bekomme ich folgende Fehlermeldung:
Warning: Creating default object from empty value in /home/user/public_html/wp-content/themes/Foxy/epanel/custom_functions.php on line 994
Weiß jemand, was zu tun ist??? Bin für jeden Tipp dankbar.
Mohnfarbe
-
Hat niemand eine Idee oder könnte mir die Umleitung erstellen?
-
Hallo,
ich habe meine Permalinks-Einstellungen so:
http://www.example.com/blog/%postname%/
Eine Änderung auf http://www.example.com/%category%/%postname%/ wäre sinnvoller.
Wenn ich dies in den Einstellungen ändere, sind allerdings auch die ganzen social-Likes verschwunden!
Kann ich dies ändern/umleiten, sodass dies übernommen wird?
Danke für Hilfe
LG Mohnfarbe
-
Hallo, es ist gelöst!
Es lag an einer Tabelle im Text. -
Hallo,
ich benutze das Plugin Tweet, Like, Google +1 and Share von Sudipto Pratap Mahato.
Die Buttons stehen jeweils am Ende der Posts. Alle Buttons funktionieren, nur das Fenster des Facebook Like Buttons öffnet sich nur teilweise - sieht wie abgeschnitten aus (siehe Anhang).Kann sich jemand vorstellen, woran das liegt?
Ich benutze übrigens WP 3.8. Elegant Theme Foxy.
Danke für Hilfe.
Schöne Grüße
Mohnfarbez.B.
http://www.rapunzel-lounge.com/blog/das-haflinger-pferd/ -
Hallo an beide,
jetzt scheint es zu funktionieren :-)
Es sieht jetzt so aus: <table width="100%"
Und ausschlaggebend war das Setzen der image-werte auf 100%:
height="100%" width="100%">
Dankeschön für eure Hilfe!
LG aus Bayern -
Hallo bgeissler,
genau so wie Du zitierst.
Liegt es an der Größe des Bildes?
-
Habe ich gemacht und abgespeichert... leider ist auf dem kleineren Bildschirm immer noch die falsche Größe der Tabelle.
Die Tabelle ist optisch ja links größer als rechts. Kann es sein, dass die 50% nicht stimmen?
-
Hallo,
das stimmt mit den 773. Ich hatte 100% eingegeben und das Theme hat bei width 773 draus gemacht.
Meinst Du bei Design im Editor? Und wo da genau?
Ich kenne mich damit nicht aus.
Soll ich eine Kopie anhängen und wovon?LG
-
Hallo,
ich benutze wordpress 3.8 und das Theme Foxy.
Im Text habe ich eine zweispaltige Tabelle eingebaut, links ein Bild, rechts Text dazu.
Auf meinem Bildschirm sieht das toll aus, auf einem kleineren Bildschirm ist die Tabelle zu groß und geht in die Sidebar rein.
Hier ist der Ausgangscode der Tabelle:<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="50%"><div>BILD</div></td>
<td width="50%"><div>TEXT</div></td>
</tr>
</tbody>
</table>Kann jemand den Fehler sehen?
Danke für Hilfe.
-
Hallo zusammen,
benutze WP 3.8 mit Elegant Theme "Foxy".
Habe auf dieses neue Theme umgestellt (Elegant Theme "Foxy") und die bisherigen Einstellungen aus dem alten Theme dabei übernommen.
Das Drop-Down Menü wird im neuen "Foxy"-Elegant Theme nicht angezeigt. Menüstruktur stimmt, die Optionen bei Foxy-Themes sind ebenfalls richtig eingestellt.
Bin für jeden Tipp dankbar!!!
Grüße, Mohnfarbe
-
Hallo an alle,
ich habe den Fehler gefunden!
Und da wir ja alle von einander lernen, möchte ich das hier auch kurz posten.
Und zwar hat mich der Satz von Melewo darauf gebracht:
ZitatNun ist es ja so, Du hattest zum Test alle Plugins deaktiviert und es hatte nichts gebracht, weil es nichts bringen konnte, wenn die htaccees noch Regeln enthält, die den Aufruf vereiteln.
Es lag nicht am Captcha, sondern am Plugin Acunitex WP Security.
Ich hatte alle Plugins deaktiviert, und es hatte sich nichts geändert. Dieses Plugin fiel mir auf, da es um Security geht und so habe ich es deinstalliert.
Und siehe da, die Kommentarfunktion geht wieder! :razz:Ich kann das nur so verstehen, dass deaktivieren nicht gleich deinstallieren ist.
Also dass z.B. in meiner htaccess trotz Deaktivierung immer noch Regeln standen, die griffen.Danke Melewo für diesen Hinweis, der mich inspirierte :wink:
-
Hallo Melewo,
erst einmal vielen Dank für Deinen Einsatz für mein Problem.Ich habe nun das mit der Raute eingesetzt und siehe da, die 404-Seite ist weg, allerdings erscheint mein Header und das Menu, ansonsten ist die Seite leer.
Kann es auch sein, dass sich zwei Plugins nicht verstehen? Und ist deaktivieren dasgleiche wie deinstallieren? Ich meine, setzt sich bei einer Deinstallation z.B. die htaccess wieder zurück auf Normalzustand?Was auch komisch ist, dass meine früheren Artikel das Captcha noch haben, und mein neuer Artikel nicht!
Ich bin jetzt ziemlich müde, da mich das sehr anstrengt, wenn ich etwas nicht verstehe.
Könntest Du Dir vorstellen, selber auf meinem Editor in FTP nachzuschauen? Vielleicht erkennst Du dann besser, woran es liegen könnte? Ich würde auch dafür bezahlen, wenn es nicht zuviel ist.
Nochmals Tausend Dank für deine Unterstützung und lieben Gruß
Meine Email ist info@rapunzel-lounge.com -
Das scheint untypisch zu sein. Vorsicht bei Kommentaren?
Was bedeutet das jetzt und wie kommt das dahin?
Und was mache ich damit?
Haben Sie eine Idee? -
Hier ist noch meine htaccess:
Apache Configuration
Alles anzeigen# BEGIN SP AddDefaultCharset UTF-8 DefaultLanguage de-DE RewriteEngine On Options +FollowSymLinks ### Care about comments: RewriteCond %{REQUEST_URI} ^/wp-comments-post.php$ RewriteRule (.*) / [L] ### htaccess blocks is ON - 17 Item(s): RewriteCond %{REQUEST_URI} ^((.*)setup\.php(.*)|(.*)/db/(.*)|(.*)myadmin(.*)|(.*)phpmanager(.*)|(.*)phpmyadmin(.*)|(.*)phpmy-admin(.*)|(.*)php-my-admin(.*)|(.*)php-admin(.*)|(.*)/pma/(.*)|(.*)/sqlmanager/(.*)|(.*)/sqladmin/(.*)|(.*)webadmin(.*)|(.*)webdb(.*)|(.*)websql(.*)|(.*)/xamp/(.*))$ [NC] RewriteRule (.*) /wp-content/plugins/vitamin/fast403.php [L] RewriteCond %{QUERY_STRING} ^((.*)src(.*)\.(.*)\.(.*)\.(.*)/(.*)\.php(.*)|src=)$ [NC] RewriteRule (.*) /wp-content/plugins/vitamin/fast403.php [L] ### htaccess redirections: OFF ### htaccess day archives redirections: OFF ### htaccess author redirections: OFF ### htaccess day, author, attachement, search feeds : OFF ### Redirect to sitemaps and robots RewriteCond %{REQUEST_URI} ^/sitemap\.xml$ RewriteRule (.*) /wp-content/plugins/vitamin/sitemaps/index-sitemap.xml [L] RewriteCond %{REQUEST_URI} ^/robots\.txt$ RewriteRule (.*) /wp-content/plugins/vitamin/sitemaps/robots.txt [L] RewriteCond %{REQUEST_URI} ^/sitemaps/(.*)$ RewriteRule ^sitemaps/(.*) /wp-content/plugins/vitamin/sitemaps/$1 [L] ### htaccess fast 404 for files is ON - 11 Item(s): RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} ^(.*)/wp-content/(.*)(\.jpg|\.jpeg|\.png|\.gif|\.ico|\.js|\.css|\.txt|\.htm|\.html|\.php)$ [NC] RewriteRule ^(.*) /wp-content/plugins/vitamin/fast404.php [L] ### htaccess cache is: OFF ### Minification is: ON RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)$ RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/rapunzel-lounge.com/wp-content/%1/%2 -f RewriteRule ^wp-content/(themes|plugins)/(.*)$ /wp-content/cache/rapunzel-lounge.com/wp-content/$1/$2 [L] # Minification for css files RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)\.css$ RewriteRule ^wp-content/(themes|plugins)/(.*)\.css$ /wp-content/plugins/vitamin/minify.php?ext=css&gzip=true&exp=604800&path=$1/$2.css [L] # Minification for js files RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)\.js$ RewriteRule ^wp-content/(themes|plugins)/(.*)\.js$ /wp-content/plugins/vitamin/minify.php?ext=js&gzip=true&exp=604800&path=$1/$2.js [L] # Minification for txt files RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)\.txt$ RewriteRule ^wp-content/(themes|plugins)/(.*)\.txt$ /wp-content/plugins/vitamin/minify.php?ext=txt&gzip=true&exp=0&path=$1/$2.txt [L] # Minification for xml files RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)\.xml$ RewriteRule ^wp-content/(themes|plugins)/(.*)\.xml$ /wp-content/plugins/vitamin/minify.php?ext=xml&gzip=true&exp=0&path=$1/$2.xml [L] ### Headers for expiration if mod_headers or mod_expires is off <IfModule !mod_headers.c> RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins|uploads|cache)/(.*)\.(jpg|jpeg|png|gif|ico)$ [NC] RewriteRule ^wp-content/(themes|plugins|uploads|cache)/(.*)\.(jpg|jpeg|png|gif|ico)$ /wp-content/plugins/vitamin/add_headers.php?ext=$3&gzip=false&exp=604800&path=$1/$2.$3 [L] RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins|uploads|cache)/(.*)\.(htm|txt|xml)$ [NC] RewriteRule ^wp-content/(themes|plugins|uploads|cache)/(.*)\.(htm|txt|xml)$ /wp-content/plugins/vitamin/add_headers.php?ext=$3&gzip=true&exp=0&path=$1/$2.$3 [L] RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins|uploads|cache)/(.*)\.(js|css)$ [NC] RewriteRule ^wp-content/(themes|plugins|uploads|cache)/(.*)\.(js|css)$ /wp-content/plugins/vitamin/add_headers.php?ext=$3&gzip=true&exp=604800&path=$1/$2.$3 [L] </IfModule> ### Headers gzip, expires <IfModule mod_headers.c> <filesMatch .*\.(jpg|jpeg|png|gif|ico|js|css)(\.gz)?$> Header append Cache-Control "public" Header append Expires "A604800" </filesMatch> Header unset Accept-Ranges Header unset ETag Header unset Link Header unset Pragma Header unset Transfer-Encoding Header unset X-Pingback Header append Vary Accept-Encoding RewriteCond %{HTTP:Accept-encoding} gzip RewriteCond %{REQUEST_FILENAME}.gz -f RewriteRule ^(.*)$ $1.gz [L] <FilesMatch .*\.gz$> Header set Content-Encoding: gzip </FilesMatch> <FilesMatch .*\.css.gz$> ForceType text/css </FilesMatch> <FilesMatch .*\.html?.gz$> ForceType text/html Header unset Expires </FilesMatch> <FilesMatch .*\.js.gz$> # Works in IE8 and older but obsolete - today standart = application/javascript ForceType text/javascript </FilesMatch> <FilesMatch .*\.xml.gz$> ForceType text/xml </FilesMatch> <FilesMatch .*\.txt.gz$> ForceType text/plain </FilesMatch> </IfModule> # END SP # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress -
Auf der ersten Ebene von wordpress sieht die wp-comments-post.php so aus:
<?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 ) ) {
/**
* Fires when a comment is attempted on a post that does not exist.
*
* @since unknown
* Param int $comment_post_ID Post ID.
*/
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 ) ) {
/**
* Fires when a comment is attempted on a post that has comments closed.
*
* @since unknown
* Param int $comment_post_ID Post ID.
*/
do_action( 'comment_closed', $comment_post_ID );
wp_die( __('Sorry, comments are closed for this item.') );
} elseif ( 'trash' == $status ) {
/**
* Fires when a comment is attempted on a trashed post.
*
* @since 2.9.0
* Param int $comment_post_ID Post ID.
*/
do_action( 'comment_on_trash', $comment_post_ID );
exit;
} elseif ( ! $status_obj->public && ! $status_obj->private ) {
/**
* Fires when a comment is attempted on a post in draft mode.
*
* @since unknown
* Param int $comment_post_ID Post ID.
*/
do_action( 'comment_on_draft', $comment_post_ID );
exit;
} elseif ( post_password_required( $comment_post_ID ) ) {
/**
* Fires when a comment is attempted on a password-protected post.
*
* @since unknown
* Param int $comment_post_ID Post ID.
*/
do_action( 'comment_on_password_protected', $comment_post_ID );
exit;
} else {
/**
* Fires before a comment is posted.
*
* @since unknown
* Param int $comment_post_ID Post ID.
*/
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->exists() ) {
if ( empty( $user->display_name ) )
$user->display_name=$user->user_login;
$comment_author = wp_slash( $user->display_name );
$comment_author_email = wp_slash( $user->user_email );
$comment_author_url = wp_slash( $user->user_url );
if ( current_user_can( 'unfiltered_html' ) ) {
if ( ! isset( $_POST['_wp_unfiltered_html_comment'] )
|| ! wp_verify_nonce( $_POST['_wp_unfiltered_html_comment'], 'unfiltered-html-comment_' . $comment_post_ID )
) {
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->exists() ) {
if ( 6 > strlen($comment_author_email) || '' == $comment_author )
wp_die( __('<strong>ERROR</strong>: please fill the required fields (name, email).') );
elseif ( !is_email($comment_author_email))
wp_die( __('<strong>ERROR</strong>: please enter a valid email address.') );
}if ( '' == $comment_content )
wp_die( __('<strong>ERROR</strong>: 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);/**
* Perform other actions when comment cookies are set.
*
* @since 3.4.0
*
* Param object $comment Comment object.
* Param WP_User $user User object. The user may not exist.
*/
do_action( 'set_comment_cookies', $comment, $user );$location = empty($_POST['redirect_to']) ? get_comment_link($comment_id) : $_POST['redirect_to'] . '#comment-' . $comment_id;
/**
* The location URI to send commenter after posting.
*
* @since unknown
*
* Param string $location The 'redirect_to' URI sent via $_POST.
* Param object $comment Comment object.
*/
$location = apply_filters( 'comment_post_redirect', $location, $comment );wp_safe_redirect( $location );
exit;Vielleicht ist hier ein Fehler drin?
-
Im Editor? Wie erreichst Du denn die wp-comments-post.php mit dem Editor von WP? Oder welchen Editor meinst Du?
Es ist der Editor, den ich innerhalb meines Themes erreiche unter Design/Editor/comments.php. Das ist auch der Editor, aus dem heraus ich die comments.php kopiert habe.LG mohnfarbe
-
Hallo Melewo,
ja, sie ist im Editor drin und sieht so aus:<?php
/**
* DeSc Included at the bottom of post.php and single.php, deals with all comment layout
*/if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) :
?>
<p><?php _e('Enter password.', 'grisaille'); ?></p>
<?php return; endif; ?><h2 id="comments"><?php comments_popup_link(__('0 comments','grisaille'), __('1 comment', 'grisaille'), __('% comments', 'grisaille'), 'comments-link', false); ?>
<?php if ( comments_open() ) : ?>
<a href="#postcomment" title="<?php _e('Leave a comment', 'grisaille'); ?>">»</a>
<?php endif; ?>
</h2>
<?php if ( $comments ) : ?>
<ol id="commentlist">
<?php wp_list_comments(); ?>
<?php foreach ($comments as $comment) : ?>
<?php endforeach; ?>
</ol>
<?php paginate_comments_links() ?><?php endif; ?>
<?php if ( comments_open() ) : ?>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?></p>
<?php else : ?><?php comment_form(); ?>
<?php endif; // If registration required and not logged in ?>
<?php else : // Comments are closed ?>
<p class="comments-off"><?php _e('Sorry, comments are closed.', 'grisaille'); ?></p>
<?php endif; ?>Für mich leider Bahnhof.
LG -
Hallo,
vor einer Woche habe ich ein Update auf Wordpress 3.7.1 gemacht.
Seitdem funktioniert die Kommentarfunktion bei den Artikeln nicht mehr.In der Browserzeile steht: http://www.rapunzel-lounge.com/wp-comments-post.php
und auf der Seite erscheint Error 404
Ich habe schon alle Plugins deaktiviert, aber es ändert sich nichts.
Kann mir jemand weiterhelfen? Und was braucht ihr dazu?
Bitte in einfachen Worten, ich bin keine Technikerin :-(Danke erstmal und schöne Grüße
mohnfarbe