Yardımcı olduğun için çook teşekkür ederim dediklerini aynen uyguladım ve sorunsuzca geçtim.
Ben deniyodum olmuyodu bazı şeyleri yanlış yapmışım sen burada anlattığında farkettim tekrar teşekkür ederim . . .
5.7 den 6.1 e geçmeden Eklentilerin (Örn: CCK, Views) 6x sürümüyle uyumlu olup olmadığını tespit et. 6x sürümüne uyumlu olmayan önemli eklentiler varsa 5.7 de kal veya bu eklentileri sistemden kaldır.
update_status Eklentisini kullananlar! Bu eklentiyi devre dışı yapıp uninstall yapması ve klasörü modules dizininden silmesi gerekli. (updatestatus çekirdek sisteme alındı.)
Temayı Garland veya Bluemarine olarak değiştir.
.htaccess ve robots.txt dosyasını kendine göre ayarladıysan onları yedekle.
Siteye super admin olarak giriş yaptığını tespit et. User ID 1
Siteni offline yap. Admin -> Site yapılandırması -> Site bakımı -> site drumu -> Kapalı
FILES VE SITES dışında Drupal 5.7 sürümüne ait TÜM DOSYALARI sil.
6.1 e geçtim şu hatayıda nasıl düzelteceğimi bi zahmet yazsan tabi biliyosan
* warning: include_once(themes/deco/forum-topic-navigation) [function.include-once]: failed to open stream: No such file or directory in /home/ege10000/public_html/includes/theme.inc on line 283.
* warning: include_once() [function.include]: Failed opening 'themes/deco/forum-topic-navigation' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ege10000/public_html/includes/theme.inc on line 283.
böyle bir hata aldım deco temasını yükledikten sonra almaya başladım lütfen yardım edin ??
// convert secondary right sidebar to right sidebar if there's no right sidebar
if ($vars['sidebar_right_sec'] && empty($vars['sidebar_right'])) {
$vars['sidebar_right'] = $vars['sidebar_right_sec'];
$vars['sidebar_right_sec'] = '';
}
// set a class on the body to allow easier css themeing based on the layout type
if ($vars['sidebar_right'] && $vars['sidebar_right_sec'] && $vars['sidebar_left']) {
$vars['body_classes'] .= ' sidebar-triple';
$vars['sidebar_triple'] = TRUE;
}
elseif ($vars['sidebar_left'] && $vars['sidebar_right']) {
$vars['body_classes'] .= ' sidebar-double';
}
elseif ($vars['sidebar_right'] && $vars['sidebar_right_sec']) {
$vars['body_classes'] .= ' sidebar-right-double';
}
elseif ($vars['sidebar_left']) {
$vars['body_classes'] .= ' sidebar-left';
}
elseif ($vars['sidebar_right'] || $vars['sidebar_right_sec']) {
$vars['body_classes'] .= ' sidebar-right';
}
// add additional rightbar body class to reduce css to refer to right sidebars
if ($vars['sidebar_right']) {
$vars['body_classes'] .= ' rightbar';
}
}
// set variables for the logo and slogan
$site_fields = array();
if ($vars['site_name']) {
$site_fields[] = check_plain($vars['site_name']);
}
if ($vars['site_slogan']) {
$site_fields[] = '- '.check_plain($vars['site_slogan']);
}
$vars['site_title'] = implode(' ', $site_fields);
if (isset($site_fields[0])) {
$site_fields[0] = ''. $site_fields[0] .'';
}
if (isset($site_fields[1])) {
$site_fields[1] = ''. $site_fields[1] .'';
}
// convert primary links to lowercase and secondary links to uppercase
if ($vars['primary_links']) {
foreach ($vars['primary_links'] as $key => $link) {
$vars['primary_links'][$key]['title'] = strtolower($link['title']);
}
}
if ($vars['secondary_links']) {
foreach ($vars['secondary_links'] as $key => $link) {
$vars['secondary_links'][$key]['title'] = strtoupper($link['title']);
}
}
}
/**
* Alert the user when the layout is changed based on the used regions.
*
* @param $regions
* An associative array containing the regions.
*/
function _deco_alert_layout($regions) {
if (user_access('administer blocks')) {
// remove the block indicators first
$sidebars = array(
'sidebar_right_sec' => $regions['sidebar_right_sec'],
'sidebar_right' => $regions['sidebar_right'],
'sidebar_left' => $regions['sidebar_left']
);
// warn the user that the secondary right sidebar will look like a regular right sidebar
if ($sidebars['sidebar_right_sec'] && empty($sidebars['sidebar_right'])) {
drupal_set_message(t('Warning: if you add blocks to the secondary right sidebar and leave the right sidebar empty, the secondary right
sidebar will be rendered as a regular right sidebar.'));
}
// warn the user that the three sidebars will look like three equal columns
elseif ($sidebars['sidebar_right'] && $sidebars['sidebar_right_sec'] && $sidebars['sidebar_left']) {
drupal_set_message(t('Warning: if you add blocks to all three sidebars they will be rendered as three equal columns above the content.'));
}
}
}
/**
* Generates the html to be rendered in the content area. Prevents duplication in the page template file
*/
function phptemplate_render_content($content, $tabs, $title, $help, $show_messages, $messages, $feed_icons, $body_classes) {
/**
* Format a group of form items.
* Add HTML hooks for advanced styling
*
* @param $element
* An associative array containing the properties of the element.
* Properties used: attributes, title, value, description, children, collapsible, collapsed
* @return
* A themed HTML string representing the form item group.
*/
function phptemplate_fieldset($element) {
if ($element['#collapsible']) {
drupal_add_js('misc/collapse.js');
if (!isset($element['#attributes']['class'])) {
$element['#attributes']['class'] = '';
}
/**
* Returns the rendered local tasks. The default implementation renders
* them as tabs.
*
* @ingroup themeable
*/
function phptemplate_menu_local_tasks($tasks = '') {
$output = '';
if (!empty($tasks)) {
$output = "\n\n". $tasks ."\n\n";
}
return $output;
}
/**
* Returns the rendered local tasks. The default implementation renders
* them as tabs.
*
* @ingroup themeable
*/
function phptemplate_menu_secondary_local_tasks($tasks = '') {
$output = '';
if (!empty($tasks)) {
$output = "\n\n". $tasks ."\n\n";
}
return $output;
}
/**
* Return a themed breadcrumb trail.
*
* @param $breadcrumb
* An array containing the breadcrumb links.
* @return a string containing the breadcrumb output.
*/
function phptemplate_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return ''. implode(' › ', $breadcrumb) .'';
}
}
/**
* Format a query pager.
*
* Menu callbacks that display paged query results should call theme('pager') to retrieve a pager control so that users can view
* other results. Format a list of nearby pages with additional query results.
*
* Adds HTML hooks for making the pager appear in a horizontal bar
*/
function phptemplate_pager($tags = array(), $limit = 10, $element = 0, $parameters = array(), $quantity = 9) {
$output = theme_pager($tags, $limit, $element, $parameters, $quantity);
if (!empty($output)) {
$output = ''.$output.'';
}
return $output;
}
yusufyc
Salı, 2008-04-08 00:12
Permalink
geçiş
geçiş yapmaya çalıştım hata verdi yedekleri geri yükledim
yusufyc
Salı, 2008-04-08 10:32
Permalink
Çok Teşekkür Ederim
Yardımcı olduğun için çook teşekkür ederim dediklerini aynen uyguladım ve sorunsuzca geçtim.
Ben deniyodum olmuyodu bazı şeyleri yanlış yapmışım sen burada anlattığında farkettim tekrar teşekkür ederim . . .
(yorumu yanlış cevaplamışım :) )
mahir
Salı, 2008-04-08 11:13
Permalink
farketmez
birşey değil ve farketmez :-)
mahir
Salı, 2008-04-08 01:49
Permalink
Upgrading from Drupal 5.x to Drupal 6.x
Daha fazla yardım (ingilizce video):
http://www.masteringdrupal.com/screencast/upgrading-to-drupal-6
Bol şanslar
yusufyc
Salı, 2008-04-08 11:09
Permalink
Birde 6.1 e geçtim hata ???
6.1 e geçtim şu hatayıda nasıl düzelteceğimi bi zahmet yazsan tabi biliyosan
* warning: include_once(themes/deco/forum-topic-navigation) [function.include-once]: failed to open stream: No such file or directory in /home/ege10000/public_html/includes/theme.inc on line 283.
* warning: include_once() [function.include]: Failed opening 'themes/deco/forum-topic-navigation' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ege10000/public_html/includes/theme.inc on line 283.
böyle bir hata aldım deco temasını yükledikten sonra almaya başladım lütfen yardım edin ??
mahir
Salı, 2008-04-08 11:09
Permalink
thema 6x sürümüyle
thema 6x sürümüyle uyumlumu?
yusufyc
Salı, 2008-04-08 11:13
Permalink
Uyumlu
evet uyumlu
mahir
Salı, 2008-04-08 11:21
Permalink
forum-topic-navigation
forum-topic-navigation function problem yapıyor. template.php dosyasının kodlarını yazabilimisin? veya deco temayı nereden indirdin? drupal.org?
yusufyc
Salı, 2008-04-08 11:32
Permalink
buradan indirdim
http://drupal.org/node/168936
yusufyc
Salı, 2008-04-08 11:33
Permalink
Themplate.php kodları
<?php/**
* @file
* File which contains theme overrides for the Deco theme.
*/
/**
* Override or insert PHPTemplate variables into the templates.
*/
function phptemplate_preprocess_page(&$vars) {
$vars['body_classes'] = isset($vars['body_classes']) ? $vars['body_classes'] : '';
// variable to see if we have a triple sidebars and are not on block admin page
$vars['sidebar_triple'] = FALSE;
// add variable for block admin page
$vars['block_admin'] = FALSE;
if (arg(2) == 'block' && arg(3) == FALSE) {
$vars['block_admin'] = TRUE;
_deco_alert_layout($vars);
$vars['body_classes'] .= ' block-admin';
}
else {
// convert secondary right sidebar to right sidebar if there's no right sidebar
if ($vars['sidebar_right_sec'] && empty($vars['sidebar_right'])) {
$vars['sidebar_right'] = $vars['sidebar_right_sec'];
$vars['sidebar_right_sec'] = '';
}
// set a class on the body to allow easier css themeing based on the layout type
if ($vars['sidebar_right'] && $vars['sidebar_right_sec'] && $vars['sidebar_left']) {
$vars['body_classes'] .= ' sidebar-triple';
$vars['sidebar_triple'] = TRUE;
}
elseif ($vars['sidebar_left'] && $vars['sidebar_right']) {
$vars['body_classes'] .= ' sidebar-double';
}
elseif ($vars['sidebar_right'] && $vars['sidebar_right_sec']) {
$vars['body_classes'] .= ' sidebar-right-double';
}
elseif ($vars['sidebar_left']) {
$vars['body_classes'] .= ' sidebar-left';
}
elseif ($vars['sidebar_right'] || $vars['sidebar_right_sec']) {
$vars['body_classes'] .= ' sidebar-right';
}
// add additional rightbar body class to reduce css to refer to right sidebars
if ($vars['sidebar_right']) {
$vars['body_classes'] .= ' rightbar';
}
}
// set variables for the logo and slogan
$site_fields = array();
if ($vars['site_name']) {
$site_fields[] = check_plain($vars['site_name']);
}
if ($vars['site_slogan']) {
$site_fields[] = '- '.check_plain($vars['site_slogan']);
}
$vars['site_title'] = implode(' ', $site_fields);
if (isset($site_fields[0])) {
$site_fields[0] = ''. $site_fields[0] .'';
}
if (isset($site_fields[1])) {
$site_fields[1] = ''. $site_fields[1] .'';
}
$vars['site_title_html'] = implode(' ', $site_fields);
// convert primary links to lowercase and secondary links to uppercase
if ($vars['primary_links']) {
foreach ($vars['primary_links'] as $key => $link) {
$vars['primary_links'][$key]['title'] = strtolower($link['title']);
}
}
if ($vars['secondary_links']) {
foreach ($vars['secondary_links'] as $key => $link) {
$vars['secondary_links'][$key]['title'] = strtoupper($link['title']);
}
}
}
/**
* Alert the user when the layout is changed based on the used regions.
*
* @param $regions
* An associative array containing the regions.
*/
function _deco_alert_layout($regions) {
if (user_access('administer blocks')) {
// remove the block indicators first
$sidebars = array(
'sidebar_right_sec' => $regions['sidebar_right_sec'],
'sidebar_right' => $regions['sidebar_right'],
'sidebar_left' => $regions['sidebar_left']
);
foreach ($sidebars as $k => $v) {
$sidebars[$k] = preg_replace('/(\)(.*)(\<\/div\>)/', '', $v);
}
// warn the user that the secondary right sidebar will look like a regular right sidebar
if ($sidebars['sidebar_right_sec'] && empty($sidebars['sidebar_right'])) {
drupal_set_message(t('Warning: if you add blocks to the secondary right sidebar and leave the right sidebar empty, the secondary right
sidebar will be rendered as a regular right sidebar.'));
}
// warn the user that the three sidebars will look like three equal columns
elseif ($sidebars['sidebar_right'] && $sidebars['sidebar_right_sec'] && $sidebars['sidebar_left']) {
drupal_set_message(t('Warning: if you add blocks to all three sidebars they will be rendered as three equal columns above the content.'));
}
}
}
/**
* Implementation of hook_theme()
*/
function deco_theme() {
return array(
'forum_topic_navigation' => array(
'file' => 'forum-topic-navigation',
'arguments' => array('node' => NULL),
)
);
}
/**
* Generates the html to be rendered in the content area. Prevents duplication in the page template file
*/
function phptemplate_render_content($content, $tabs, $title, $help, $show_messages, $messages, $feed_icons, $body_classes) {
$in_node = (strstr($body_classes, 'page-node') ? TRUE : FALSE);
$output = '';
$output .= ((!empty($title)) ? '
'.$title.'
' : '');
$tabs = menu_primary_local_tasks();
$output .= ($tabs ? phptemplate_menu_local_tasks('
'.$tabs.'
') : '');
$secondary_tabs = menu_secondary_local_tasks();
$output .= ($secondary_tabs ? phptemplate_menu_secondary_local_tasks('
'.$secondary_tabs.'
') : '');
$output .= ($help ? ''.$help.'' : '');
$output .= (($show_messages && $messages) ? $messages : '');
$output .= $content;
$output .= ($feed_icons ? $feed_icons : '');
return $output;
}
/**
* Format a group of form items.
* Add HTML hooks for advanced styling
*
* @param $element
* An associative array containing the properties of the element.
* Properties used: attributes, title, value, description, children, collapsible, collapsed
* @return
* A themed HTML string representing the form item group.
*/
function phptemplate_fieldset($element) {
if ($element['#collapsible']) {
drupal_add_js('misc/collapse.js');
if (!isset($element['#attributes']['class'])) {
$element['#attributes']['class'] = '';
}
$element['#attributes']['class'] .= ' collapsible';
if ($element['#collapsed']) {
$element['#attributes']['class'] .= ' collapsed';
}
}
return ''. ($element['#title'] ? ''. $element['#title'] .'' : '') .''. (isset($element['#description']) && $element['#description'] ? ''. $element['#description'] .'' : '') . (!empty($element['#children']) ? $element['#children'] : '') . $element['#value'] ."\n";
}
/**
* Returns the rendered local tasks. The default implementation renders
* them as tabs.
*
* @ingroup themeable
*/
function phptemplate_menu_local_tasks($tasks = '') {
$output = '';
if (!empty($tasks)) {
$output = "\n\n". $tasks ."\n\n";
}
return $output;
}
/**
* Returns the rendered local tasks. The default implementation renders
* them as tabs.
*
* @ingroup themeable
*/
function phptemplate_menu_secondary_local_tasks($tasks = '') {
$output = '';
if (!empty($tasks)) {
$output = "\n\n". $tasks ."\n\n";
}
return $output;
}
/**
* Return a themed breadcrumb trail.
*
* @param $breadcrumb
* An array containing the breadcrumb links.
* @return a string containing the breadcrumb output.
*/
function phptemplate_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return ''. implode(' › ', $breadcrumb) .'';
}
}
/**
* Format a query pager.
*
* Menu callbacks that display paged query results should call theme('pager') to retrieve a pager control so that users can view
* other results. Format a list of nearby pages with additional query results.
*
* Adds HTML hooks for making the pager appear in a horizontal bar
*/
function phptemplate_pager($tags = array(), $limit = 10, $element = 0, $parameters = array(), $quantity = 9) {
$output = theme_pager($tags, $limit, $element, $parameters, $quantity);
if (!empty($output)) {
$output = ''.$output.'';
}
return $output;
}
function phptemplate_comment_submitted($comment) {
return t('!username — !datetime',
array(
'!username' => theme('username', $comment),
'!datetime' => ''.format_date($comment->timestamp).''
));
}
function phptemplate_node_submitted($node) {
return t('!username — !datetime',
array(
'!username' => theme('username', $node),
'!datetime' => ''.format_date($node->created).''
));
}
?>
mahir
Salı, 2008-04-08 11:49
Permalink
Tema hatalı 6.1
Tema'da hata varmış, Programcı dev sürümünü kullanmayı tavsiye ediyor.
Dev:
http://ftp.drupal.org/files/projects/deco-6.x-1.x-dev.tar.gz
Hata raporu:
1- http://drupal.org/node/231352#comment-766684
2- http://drupal.org/node/218498