( Zaloguj | Zarejestruj )
![]() ![]() |
31.1.2010 - 21:09
Post
#1
|
|
![]() aktywność: ![]() Grupa: +Bloger Postów: 42 Nr: 7 574 |
Wszystko było okej, do momentu aż zapragnąłem dziś przenieść skrypt META (Admin) z Sekcji HEAD do stopki. Patrz mój poprzedni post.
Nagle w nagłówku i tytule wpisów nie ma polskich znaków. Korzystam z NotePad++, prze konwertowałem wszystkie pliki php do UTF-8 i nadal nie działa. Mój Blog Mój Nagłowek : CYTAT DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head> <link rel="shortcut icon" type="image/x-icon" href="http://nowyporzadekswiata.pl/wp-content/uploads/2010/01/favicon.ico"> <title><?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?></title> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" /> <?php global $lw_layout_settings,$lw_sidebar_settings; if($lw_layout_settings == "Wider") : ?> <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/wider.css" type="text/css" /> <?php if($lw_sidebar_settings=="Two sidebars"): ?> <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/new_sidebar.css" type="text/css" /> <?php endif; ?> <?php else: ?> <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/original.css" type="text/css" /> <?php endif; ?> <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.png" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_enqueue_script('jquery'); ?> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> </head> <body> <div id="wrapper"> <?php lw_header_image(); ?> <div id="header"> <?php lw_rss_feed(); ?> <div id="top_bar"> <ul id="front_menu"<?php echo lw_expmenu(); ?>> <?php echo lw_homebtn(__('Home','lightword')); ?> <?php echo lw_wp_list_pages(); ?> </ul> <?php echo lw_searchbox(); ?> </div> </div> <div id="content"> |
|
|
|
31.1.2010 - 21:17
Post
#2
|
|
|
aktywność: ![]() ![]() ![]() Grupa: +Bloger Postów: 232 Nr: 7 706 |
Ten header.php jest sprzed zmian, czy po? Poza tym nie wiem dlaczego edytowałeś header.php, skoro widżet META-DANE prawdopodobnie miałeś w sidebar.php.
|
|
|
|
31.1.2010 - 22:01
Post
#3
|
|
![]() aktywność: ![]() Grupa: +Bloger Postów: 42 Nr: 7 574 |
Header jest po zmianach.
Sidebar: CYTAT <?php lw_sidebar(); ?> <div class="content-sidebar"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Sidebar") ) : ?> <h3><?php _e('Pages','lightword'); ?></h3> <ul> <?php wp_list_pages('title_li='); ?> </ul> <h3><?php _e('Categories','lightword'); ?></h3> <ul> <?php wp_list_categories('title_li='); ?> </ul> <h3><?php _e('Blogroll','lightword'); ?></h3> <ul> <?php wp_list_bookmarks('title_li=&categorize=0'); ?> </ul> <h3><?php _e('Archive','lightword'); ?></h3> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> <h3><?php _e('Meta','lightword'); ?></h3> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS','lightword'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>','lightword'); ?></a></li> <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS','lightword'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>','lightword'); ?></a></li> <?php wp_meta(); ?> </ul> <?php endif; ?> </div> Nie mam już pomysłu na naprawę. |
|
|
|
31.1.2010 - 22:40
Post
#4
|
|
|
aktywność: ![]() ![]() ![]() Grupa: +Bloger Postów: 232 Nr: 7 706 |
Hm, z sidebara przerzuciłeś meta do footera, tak? Ale co zmieniałeś w headerze?
|
|
|
|
01.2.2010 - 10:21
Post
#5
|
|
![]() aktywność: ![]() Grupa: +Bloger Postów: 42 Nr: 7 574 |
Problem w tym, że nic nie zmieniłem w Header.
Już chyba wiem co było przyczyną podczas edycji stopki musiałem przypadkowo nacisnąć jakiś skrót klawiszowy, który sprawił że miałem format ANSI. Pozmieniałem wszystkie pliki php na UTF-8, wrzuciłem na serwer i problem jest nadal. |
|
|
|
01.2.2010 - 10:49
Post
#6
|
|
![]() aktywność: ![]() Grupa: +Bloger Postów: 42 Nr: 7 574 |
Zmieniłem LightWord z Beta na po przedniejszą wersję.
Problem z polskimi znakami w nagłówku zniknął, ale pojawił sie taki błąd: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/oden52/domains/nowyporzadekswiata.pl/public_html/wp-content/themes/lightword/functions.php:1) in /home/oden52/domains/nowyporzadekswiata.pl/public_html/wp-content/plugins/gwolle-gb/gwolle-gb.php on line 103 |
|
|
|
02.2.2010 - 22:47
Post
#7
|
|
![]() aktywność: ![]() Grupa: +Bloger Postów: 42 Nr: 7 574 |
Czy jacyś eksperci mogliby mi pomóc?
|
|
|
|
03.2.2010 - 14:12
Post
#8
|
|
|
aktywność: ![]() ![]() ![]() Grupa: +Bloger Postów: 232 Nr: 7 706 |
Usuń wtyczkę gwolle-gb z folderu plugins. Sprawdź, czy wszystko ok, potem możesz ją zainstalować jeszcze raz.
|
|
|
|
03.2.2010 - 14:46
Post
#9
|
|
![]() aktywność: ![]() Grupa: +Bloger Postów: 42 Nr: 7 574 |
Dziękuje, problem rozwiązany po usunięciu tej wtyczki.
|
|
|
|
![]() ![]() |
| : 9 02 12 - 08:49 |