Hallo zusammen,
ich hoffe, ich habe das korrekte Forum erwischt, sonst sorry und bitte ggf. verschieben.
Ich baue gerade mein erstes Blog auf und habe mich für ein Premium Theme von ThemeJunkie entschieden: Bigfoot
Nun gibt es aktuell wohl ein Sicherheitsproblem mit der Datei timthumb.php, welche auch in Bigfoot zum Einsatz kommt. Ich habe die Datei inzwischen aktualisiert. Nun habe ich das Theme mit ThemeCheck überprüft und erhalte jede Menge Warnungen und Hinweise, mit denen ich allein nicht zurecht komme. Irgendwie habe ich das Gefühl, das ich mit diesem Theme keinen guten Griff getan habe, obwohl es mir gut gefällt.
Kennt jemand Bigfoot und/oder kann mir vielleicht jemand behilflich sein, das Ganze zu bereinigen? HTML und AnfängerPHP/CSS Kenntnisse sind vorhanden.
Hier die Warnungen und Fehlermeldungen:
Zitat
- WARNING: Found base64_decode in the file includes/timthumb.php. base64_decode() ist nicht erlaubt.. Linie 184: $imgData = base64_decode('R0lGODlhUAAMAIAAAP8AAP///yH5BAAHAP8ALAAAAABQAAwAAAJpjI+py+0P
- WARNING: Both DOS and UNIX style line endings were found in the file includes/theme-options.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
- WARNING: Both DOS and UNIX style line endings were found in the file css/ie.css. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
- WARNING: fwrite was found in the file includes/timthumb.php mögliche Datei Operationen.Linie 902: fwrite(self::$curlFH, $d);
- WARNING: fread was found in the file includes/timthumb.php mögliche Datei Operationen.Linie 919: $imgType = fread($fp, 3);
- WARNING: fopen was found in the file includes/timthumb.php mögliche Datei Operationen.Linie 715: $fp = fopen($tempfile,'r',0,$context);Linie 722: $fh = fopen($lockFile, 'w');Linie 916: $fp = fopen($this->cachefile, 'rb');Linie 1053: self::$curlFH = fopen($tempfile, 'w');
- WARNING: file_put_contents was found in the file includes/timthumb.php mögliche Datei Operationen.Linie 716: file_put_contents($tempfile4, $this->filePrependSecurityBlock . $imgType . Linie 717: file_put_contents($tempfile4, $fp, FILE_APPEND);Linie 1087: if(! file_put_contents($tempfile, $img)){
- WARNING: file_get_contents was found in the file includes/timthumb.php mögliche Datei Operationen.Linie 932: $content = file_get_contents ($this->cachefile);Linie 936: $this->debug(3, 'Served using file_get_contents and echo');Linie 1082: $img = @file_get_contents ($url);
- WARNING: fclose was found in the file includes/timthumb.php mögliche Datei Operationen.Linie 718: fclose($fp);Linie 730: fclose($fh);Linie 733: fclose($fh);Linie 928: fclose($fp);Linie 1071: fclose(self::$curlFH);
- WARNING: curl_init was found in the file includes/timthumb.php mögliche Datei Operationen.Linie 1051: if(function_exists('curl_init')){Linie 1060: $curl = curl_init($url);
- WARNING: curl_exec was found in the file includes/timthumb.php mögliche Datei Operationen.Linie 1070: $curlResult = curl_exec($curl);
- REQUIRED: Could not find wp_link_pages. See: wp_link_pages <?php wp_link_pages( $args ); ?>
- REQUIRED: Could not find post_class. Siehe: post_class <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- REQUIRED: Could not find language_attributes. Siehe: language_attributes<html <?php language_attributes(); ?>
- REQUIRED: Could not find comment_form. Siehe: comment_form <?php comment_form(); ?>
- REQUIRED: Could not find body_class call in body tag. Siehe: body_class <?php body_class( $class ); ?>
- REQUIRED: Could not find add_theme_support( 'automatic-feed-links' ). Siehe: add_theme_support <?php add_theme_support( $feature ); ?>
- REQUIRED: includes/theme-options.php. Themes sollen add_theme_page() benutzen, um Admin Seiten hinzufügen.Linie 54: add_submenu_page('themes.php', __('Bigfoot Theme Options', 'themejunkie'),
- REQUIRED: get_category_rss_link found in the file archive.php. Deprecated since version . Use get_category_feed_link()2.5 instead.Linie 1: <?php get_header(); ?> <div id='column1'> <div id='browsing'> <?php if (is_category()) { ?> <h1><?php _e('Archive', 'themejunkie'); ?> : <?php echo single_cat_title(); ?></h1> <span class='catfeed'><?php $cat_obj = $wp_query->get_queried_object(); $cat_id = $cat_obj->cat_ID; echo '<a href=''; get_category_rss_link(true, $cat, ''); echo ''>RSS feed</a>'; ?></span>
- REQUIRED: License URI: fehlt von dein style.css Überschrift.
- REQUIRED: .sticky css class is needed in your theme css.
- REQUIRED: .gallery-caption CSS Klasse ist gebraucht in dein theme's CSS.
- REQUIRED: .bypostauthor css class is needed in your theme css.
- ERFORDERLICH: Einhalt Breite wurde nicht definiert. Beispiel: if ( ! isset( $content_width ) ) $content_width = 900;
- RECOMMENDED: could not find the file readme.txt in the theme. Bitte siehe Theme_Documentation für mehrere Informationen.
- RECOMMENDED: bloginfo(url) was found in the file header.php. Use echo home_url() instead.
- RECOMMENDED: bloginfo(template_url) was found in the file header.php. Use get_template_directory_uri() instead.
- RECOMMENDED: bloginfo(template_directory) was found in the file header.php. Use get_template_directory_uri() instead.
- RECOMMENDED: bloginfo(template_directory) was found in the file functions.php. Use get_template_directory_uri() instead.
- EMPFOHLEN: Kein Hinweis auf add_editor_style() wurde im Theme gefunden. Es ist empfohlen, dass das Theme Editor Stilisierung einführt, damit derEditorinhalt den resultierenden Eintragausgabeinhalt übereinstimmt, für eine bessere Benutzererfahrung.
- EMPFOHLEN: Kein Hinweis auf add_custom_image_header wurde im Theme gefunden. Es ist empfohlen, dass das Theme diese Funktionalität einführt, wenn ein Bild für den Header verwendet wird.
- EMPFOHLEN: Tags: ist entweder leer oder fehlt in style.css Überschrift.
- INFO: Possible hard-coded links were found in the file includes/theme-options.php.Linie 86: <a href='http://theme-junkie.com/support/' target='_blank'><?php _e('Get Support', '
- INFO: Possible hard-coded links were found in the file footer.php.Linie 1: <div class='clear'></div> </div> <!--end #wrapper--> <div id='footer'> <div class='wrap'> <div id='footer1'> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget #1') ) : ?> <?php endif; ?> <div class='clear'></div> </div> <!--end .footer1--> <div id='footer2'> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget #2') ) : ?> <?php endif; ?> <div class='clear'></div> </div> <!--end .footer2--> <div id='footer3'> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget #3') ) : ?> <?php endif; ?> <div class='clear'></div> </div> <!--end .footer3--> <div id='footer4'> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget #4') ) : ?> <?php endif; ?> <div class='clear'></div> </div> <!--end .footer4--> <div class='clear'></div> </div> <!--end .wrap--> </div> <!--end #footer--> <div id='bottom'> <div class='wrap'> <div class='left'> © <?php the_time('Y'); ?> <a href='<?php bloginfo('siteurl'); ?>'><?php bloginfo('name'); ?></a>. <?php _e('All rights reserved', 'themejunkie'); ?>. </div> <!--end .left--> <div class='right'> <?php _e('Proudly designed by', 'themejunkie'); ?> <a href='http://www.theme-junkie.com/'><?php _e('Theme Junkie', 'themejunkie'); ?></
- INFO: sidebar.php Das Theme scheint include oder require zu benutzen. Wenn diese benutzt sind, um unterschiedliche Abschnitte eines Templates von selbständige Dateien einzuschließen, dann get_template_part() sollte anstatt benutzt werden. Linie 1: <div id='sidebar'> <?php include('ads/sidebar125x125ads.php'); ?> <!--begin of social widget-->
- INFO: At least one hard coded date was found in the file footer.php. Consider get_option( 'date_format' )
- INFO: At least one hard coded date was found in the file archive.php. Consider get_option( 'date_format' )
Ich danke schon im voraus für Eure Bemühungen und jeden helfenden Rat.