News:

Wondering if this will always be free?  See why free is better.

Main Menu

Backup

Started by Lord Zeus, May 11, 2007, 03:14:47 PM

Previous topic - Next topic

Lord Zeus

Como faxo para fazer restaurar o forum depois de um erro...tipo sei ke tenho de utilizar o backup mas como?

sagui

se induicasses qual era o erro era talves mais facil de ajudar.
cumps
sagui

Lord Zeus

eu tava a tentar instalar um mod manualmente com o parser so k depois nao deu entao apaguei akilo ke tinha posto no index.template.php e kontinuou a nao dar...

aparece.m isto todo ', empty($context['robot_no_index']) ? '' : ' ', '  '; // The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly. echo ' '; /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...) Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual. Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big. Standards compliance mode happens when you use xhtml... */ if ($context['browser']['needs_size_fix']) echo ' '; // Show all the relative links, such as help, search, contents, and the like. echo ' '; // If RSS feeds are enabled, advertise the presence of one. if (!empty($modSettings['xmlnews_enable'])) echo ' '; // If we're viewing a topic, these should be the previous and next topics, respectively. if (!empty($context['current_topic'])) echo ' '; // If we're in a board, or a topic for that matter, the index will be the board's index. if (!empty($context['current_board'])) echo ' '; // We'll have to use the cookie to remember the header... if ($context['user']['is_guest']) $options['collapse_header'] = !empty($_COOKIE['upshrink']); // Output any remaining HTML headers. (from mods, maybe?) echo $context['html_headers'], ' '; // the routine for the info center upshrink echo '  '; echo '
'; if (empty($settings['header_logo_url'])) echo ' ', $context['forum_name'], ''; else echo ' ', $context['forum_name'], ''; echo '    '.$context['forum_name'].'
'; // display user name echo ' '; if($context['user']['is_logged']) echo ' '; // display the time echo '
', $txt['hello_member_ndt'], ' ', $context['user']['name'] , '    ' , $context['current_time'], ''; // this is the upshrink button for the user info section echo ' *
'; if (!empty($context['user']['avatar'])) echo ' '; echo '
', $context['user']['avatar']['image'], '    '; // If the user is logged in, display stuff like their name, new messages, etc. if ($context['user']['is_logged']) { echo ' ', $txt['unread_since_visit'], '
', $txt['show_unread_replies'], '
'; } // Otherwise they're a guest - send them a lovely greeting... else echo $txt['welcome_guest']; // Now, onto our second set of info, are they logged in again? if ($context['user']['is_logged']) { // Is the forum in maintenance mode? if ($context['in_maintenance'] && $context['user']['is_admin']) echo ' ', $txt[616], '
'; // Are there any members waiting for approval? if (!empty($context['unapproved_members'])) echo ' ', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' ', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], ' ', $txt['approve_members_waiting'], '
'; // Show the total time logged in? if (!empty($context['user']['total_time_logged_in'])) { echo ' ', $txt['totalTimeLogged1']; // If days is just zero, don't bother to show it. if ($context['user']['total_time_logged_in']['days'] > 0) echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2']; // Same with hours - only show it if it's above zero. if ($context['user']['total_time_logged_in']['hours'] > 0) echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3']; // But, let's always show minutes - Time wasted here: 0 minutes ;). echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], '
'; } echo ' '; } // Otherwise they're a guest - this time ask them to either register or login - lazy bums... else { echo '

', $txt['smf52'], '
'; } echo '
'; echo ' '; // Show a random news item? (or you could pick one from news_lines...) if (!empty($settings['enable_news'])) echo ' '; echo '
', $txt[102], ': ', $context['random_news_line'], '    
Advanced Search   '; // Search within current topic? if (!empty($context['current_topic'])) echo ' '; // If we're on a certain board, limit it to this board ;). elseif (!empty($context['current_board'])) echo ' '; echo '
'; // Show the menu here, according to the menu sub template. template_menu(); // The main content should go here. echo '
'; } function template_main_below() { global $context, $settings, $options, $scripturl, $txt; echo '
'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo '
Back-n-Black by Crip    ', theme_copyright(), '    MySQL | PHP | XHTML | CSS
'; // Show the load time? if ($context['show_load_time']) echo ' ', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], ''; // This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough. if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari']) { // The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself. echo ' '; } echo '
'; // The following will be used to let the user know that some AJAX process is running echo '
', $txt['ajax_in_progress'], '
'; } // Show a linktree. This is that thing that shows "My Community | General Category | General Discussion".. function theme_linktree() { global $context, $settings, $options; echo '
'; // Each tree item has a URL and name. Some may have extra_before and extra_after. foreach ($context['linktree'] as $link_num => $tree) { // Show something before the link? if (isset($tree['extra_before'])) echo $tree['extra_before']; // Show the link, including a URL if it should have one. echo '', $settings['linktree_link'] && isset($tree['url']) ? '' . $tree['name'] . '' : $tree['name'], ''; // Show something after the link...? if (isset($tree['extra_after'])) echo $tree['extra_after']; // Don't show a separator for the last one. if ($link_num != count($context['linktree']) - 1) echo ' > '; } echo '
'; } // Show the menu up top. Something like [home] [help] [profile] [logout]... function template_menu() { global $context, $settings, $options, $scripturl, $txt; // Work out where we currently are. $current_action = 'home'; if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers'))) $current_action = 'admin'; if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm'))) $current_action = $context['current_action']; if ($context['current_action'] == 'search2') $current_action = 'search'; if ($context['current_action'] == 'theme') $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin'; // Are we using right-to-left orientation? if ($context['right_to_left']) { $first = 'last'; $last = 'first'; } else { $first = 'first'; $last = 'last'; } // The start of tab section. // Show the [home] button. echo '

    * '; echo ' ' , $txt[103] , '
    * '; // Show the [help] button. echo ' ' , $txt[119] , '
    * '; // How about the [search] button? if ($context['allow_search']) echo ' ' , $txt[182] , '
    * '; // Is the user allowed to administrate at all? ([admin]) if ($context['allow_admin']) echo ' ' , $txt[2] , '
    * '; // Edit Profile... [profile] if ($context['allow_edit_profile']) echo ' ' , $txt[79] , '
    * '; // Go to PM center... [pm] if ($context['user']['is_logged'] && $context['allow_pm']) echo ' ' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '['. $context['user']['unread_messages'] . ']' : '' , '
    * '; // The [calendar]! if ($context['allow_calendar']) echo ' ' , $txt['calendar24'] , '
      '; // the [member] list button if ($context['allow_memberlist']) echo '

    * ' , $txt[331] , '
    * '; // If the user is a guest, show [login] button. if ($context['user']['is_guest']) echo ' ' , $txt[34] , '
    * '; // If the user is a guest, also show [register] button. if ($context['user']['is_guest']) echo ' ' , $txt[97] , '
    * '; // Otherwise, they might want to [logout]... if ($context['user']['is_logged']) echo ' ' , $txt[108] , '
      '; // The end of tab section. echo '

'; } // Generate a strip of buttons. function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '') { global $settings, $buttons, $context, $txt, $scripturl; // Create the buttons... foreach ($button_strip as $key => $value) { if (isset($value['test']) && empty($context[$value['test']])) { unset($button_strip[$key]); continue; } elseif (!isset($buttons[$key]) || $force_reset) $buttons[$key] = '' . $txt[$value['text']] . ''; $button_strip[$key] = $buttons[$key]; } if (empty($button_strip)) return ' '; echo '   ', implode('  |  ', $button_strip) , '  '; } ?>Não foi possivel abrir a template 'main_above'.

sagui

deves ter apagado mal.
fax o upload do index.template de novo

Lord Zeus

#4
N konsegui instalar o mod Staff

sagui

entao mas esta a dar erro ou nao tas a conseguir instalar o mod?
cumps

Lord Zeus

nao konsigo instalar o mod manualmente

sagui

nao consegues pk nao sabes ou estas com dificuldades?

segue o k esta no fixeiro .xml
cumps

Meira

Qdo se faz o bachup do fórum e depois ocorre algum erro, como recuparar isso usando o backup?
Fórum PC Gamers venha fazer parte.
(Come to do part.)

Apllicmz

Tentou fzer backup do fórum
ou backup do cpanel qual deles e que usou...



margarett

Quote from: Meira on June 21, 2007, 09:36:25 PM
Qdo se faz o bachup do fórum e depois ocorre algum erro, como recuparar isso usando o backup?
Olha bem para a questão que colocaste. Pensa que estás "por fora", ou seja, pensa que és eu, e não sei o que queres dizer, ou o que estás a pensar quando colocas essa questão. Achas que tu próprio conseguirias perceber a tua duvida?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Meira

Vcs não entenderam, a função do backup é recuparar a forma anterior qdo ocorre algum erro no fórum, não é?
Então, mas como se faz para usar o backup? Pois, só fiz o backup mas não sei como usá-lo para recuperar algum dano anterior. É isso.
Fórum PC Gamers venha fazer parte.
(Come to do part.)

margarett

OK, agora percebi. Tens duvidas de como recuperar um backup.
Dentro em breve vou fazer um guia bem completo sobre isso ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Meira

Quote from: margarett on June 22, 2007, 11:03:48 AM
OK, agora percebi. Tens duvidas de como recuperar um backup.
Dentro em breve vou fazer um guia bem completo sobre isso ;)

É isso mesmo, Margarret.
Vai ser bem útil esse tutorial.
Abs!
Fórum PC Gamers venha fazer parte.
(Come to do part.)

Advertisement: