Aktualizacja forum 1.1.x do wersji 2.0

Zaczęty przez Nolt, 30 Listopad 2009, 00:44

0 użytkowników i 1 Gość przegląda ten wątek.

Nolt

Spróbuj zmienić nazwę pliku .htaccess i wtedy wgraj pliki. Czy konto które dodałeś (login admin) posiada pełne prawa dostępu do tego katalogu? Czy forum było instalowane za pierwszym razem za pomocą instalatora skryptów?
www.wizzi.pl
Moje style dla SMF 2

SMF.PL FAQ
nie odpowiadam na żadne PW, więc ich nie wysyłajcie chyba że zostaniecie o to poproszeni

omegaman

nie mogę zmienić .htaccess
tak forum był instalowane za pomocą instalatora skryptów
CytatCzy konto które dodałeś (login admin) posiada pełne prawa dostępu do tego katalogu?
a jak to sprawdzić loguje się jako admin


Nolt

Podejrzewam że to właśnie instalator skryptów blokuje możliwość nadpisania plików. Nie polecam autoinstalatorów, lepiej zainstalować forum standardową metodą.
www.wizzi.pl
Moje style dla SMF 2

SMF.PL FAQ
nie odpowiadam na żadne PW, więc ich nie wysyłajcie chyba że zostaniecie o to poproszeni

omegaman

Czyli nie ma opcji żeby przejść do wersji 2.0 RC 4 bez utraty danych.  :o

Nolt

Co rozumiesz za utratą danych? Wszystkie dane przechowywane są w bazie danych. Wystarczy że wejdziesz do phpmyadmin wyeksportujesz bazę, następnie instalujesz ręcznie wersję 1.1.x i podpinasz bazę. Na koniec korzystasz z poradnika w pierwszej wiadomości tego tematu i cieszysz się SMF 2.0 :)
www.wizzi.pl
Moje style dla SMF 2

SMF.PL FAQ
nie odpowiadam na żadne PW, więc ich nie wysyłajcie chyba że zostaniecie o to poproszeni

omegaman


omegaman

#21
udało się zaktualizować forum jednak pojawił się problem ;( problem na zdjęciu w załączniku no i pojawił się problem z załącznikami (czy poza bazą danych przenosząc na inny serwer należy je kopiować???) I jeszcze jedno czy normalne jest że po aktualizacji forum ładuje się wolnej??

Nolt

www.wizzi.pl
Moje style dla SMF 2

SMF.PL FAQ
nie odpowiadam na żadne PW, więc ich nie wysyłajcie chyba że zostaniecie o to poproszeni


karol

mnie wywala takie coś:

http://www.pomagamy.y0.pl/

ocb?

aktualizacja dobiegła do końca poprawnie.

dzięki z góry za pomoc.

Nolt

Twój plik Settings.php powinien wyglądać tak:
<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com)                    *
* =============================================================================== *
* Software Version:           SMF 2.0 RC4                                         *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006-2010 by:     Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/

########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance = 1; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage = 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname = 'Moje forum'; # The name of your forum.
$language = 'polish-utf8'; # The default language file set for the forum.
$boardurl = 'http://localhost/test'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = 'admin@localhost.pl'; # Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename = 'SMFCookie564'; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_type = 'mysql';
$db_server = 'localhost:3306';
$db_name = 'test';
$db_user = 'root';
$db_passwd = '';
$ssi_db_user = '';
$ssi_db_passwd = '';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 0;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = 'C:\\xampp\\htdocs\\test'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = 'C:\\xampp\\htdocs\\test/Sources'; # Path to the Sources directory.
$cachedir = 'C:\\xampp\\htdocs\\test/cache'; # Path to the cache directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 0;


# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!
file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';
if (!
file_exists($cachedir) && file_exists($boarddir . '/cache'))
$cachedir = $boarddir . '/cache';

$db_character_set = 'utf8';
?>

Jeśli w pliku który posiadasz zmienna $maintenance pojawia dwa razy usuń tą dodatkową linijkę. (prawdopodobnie instalator nie usunął jej gdy zakończył pracę z aktualizacją)
www.wizzi.pl
Moje style dla SMF 2

SMF.PL FAQ
nie odpowiadam na żadne PW, więc ich nie wysyłajcie chyba że zostaniecie o to poproszeni

karol

<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com)                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance = 2; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage = 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname = 'Forum - Pomagamy.y0.pl'; # The name of your forum.
$language = 'english'; # The default language file set for the forum.
$boardurl = 'http://www.pomagamy.y0.pl'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = 'dane'; # Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename = 'SMFCookie745'; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server = 'dane';
$db_name = 'dane';
$db_user = 'dane';
$db_passwd = 'dane';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/var/www/virtual/pomagamy.y0.pl'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/var/www/virtual/pomagamy.y0.pl/Sources'; # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 0;


# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!
file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';

$db_character_set = 'utf8';
?>



tak u mnie to wygląda, nie miałem podwójnej lini jak to pisałeś,

Nolt

Zmień wartość
$maintenance = 2
na
$maintenance = 0
www.wizzi.pl
Moje style dla SMF 2

SMF.PL FAQ
nie odpowiadam na żadne PW, więc ich nie wysyłajcie chyba że zostaniecie o to poproszeni

karol

zmieniałem na ero na jeden także już wcześniej jak mam na zero wyskakuje mi białe tło z napisem "Unknown column 'add_deny' in 'field list'"

Nolt

Plik Settings_bak.php też wygląda tak samo?
Podrzuć jeszcze plik index.php z głównego folderu SMF.
www.wizzi.pl
Moje style dla SMF 2

SMF.PL FAQ
nie odpowiadam na żadne PW, więc ich nie wysyłajcie chyba że zostaniecie o to poproszeni