phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

FAQFAQ - PIERWSZA POMOC!!  regulaminREGULAMIN  SzukajSZUKAJ  UżytkownicyUżytkownicy  GrupyGrupy  StatystykiStatystyki
RejestracjaRejestracja  ZalogujZaloguj  DownloadDownload  katalog Forów DyskusyjnychKatalog Forów   FAQ Video tutoriale

Poprzedni temat «» Następny temat
When I installing forum, pops up the list with files
Autor Wiadomość
Matteo



Pomógł: 1932 razy
Posty: 5715
Wysłany: 02-09-2010, 20:39   When I installing forum, pops up the list with files

If during installation, forum shown something like that:

Kod:
You can not install the forum because some files have wrong content, if you edit some file, maybe contain error, if you do not edit any files thats mean some problems with FTP upload on the server, try again.

Details:
language/lang_english/lang_admin.php - File missing!
language/lang_english/lang_admin_album.php - File missing!
language/lang_english/lang_admin_attach.php - File missing!
shoutbox.php - File missing!
shoutbox_body.php - File missing!
shoutbox_send.php - File missing!
shoutbox_view.php - File missing!


Means that, just you don't uploaded some files to server.
Upload it again.

Kod:
File missing - means that the file is not found (should be there)
Wrong content ! Checksum: [ 77c15e155b81709f6ab210065ea91dfe ]
- means that file was modified.

If you upload it 8 times but you still see this error,
then you have to edit file
Kod:
 install.php
.

Looking for THIS:

Kod:
$result = '';
for($i=0; count($file_list) > $i; $i++)
{
    if ( md5_checksum($file_list[$i]) != $md5_sum[$file_list[$i]] )
    {
        $content = md5_checksum($file_list[$i]);
        $result .= ($content) ? '<font color="red"><b>' . $file_list[$i] . '</b></font> - <b>Wrong content !</b> Checksum: <font size="2">[ ' . $content . ' ]</font><br>' : '<font color="red"><b>' . $file_list[$i] . '</b></font> - <b>File missing!</b><br />';
    }
}
if ( $result )
{
    echo'<b>You can not install the forum because some files have wrong content, if you edit some file, maybe contain error, if you do not edit any files thats mean some problems with FTP upload on the server, try again.</b></font><br /><br />Details:<br />' . $result . '';
    exit;
}


about line 54:

Add two forward slashes
Kod:
//
before
Kod:
exit;


and code looks like that:

Kod:
$result = '';
for($i=0; count($file_list) > $i; $i++)
{
    if ( md5_checksum($file_list[$i]) != $md5_sum[$file_list[$i]] )
    {
        $content = md5_checksum($file_list[$i]);
        $result .= ($content) ? '<font color="red"><b>' . $file_list[$i] . '</b></font> - <b>Wrong content !</b> Checksum: <font size="2">[ ' . $content . ' ]</font><br>' : '<font color="red"><b>' . $file_list[$i] . '</b></font> - <b>File missing!</b><br />';
    }
}
if ( $result )
{
    echo'<b>You can not install the forum because some files have wrong content, if you edit some file, maybe contain error, if you do not edit any files thats mean some problems with FTP upload on the server, try again.</b></font><br /><br />Details:<br />' . $result . '';
    //exit;
}


Now save, close, install.

(original content)
_________________
Fora, strony, sklepy internetowe i wiele więcej...
matteo.fcb(at)gmail.com
 
     
Gadatliwa Kasia 

   
Wyświetl posty z ostatnich:   
Odpowiedz do tematu
Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Nie możesz załączać plików na tym forum
Możesz ściągać załączniki na tym forum
Dodaj temat do Ulubionych
Wersja do druku

Skocz do:  

Kopiowanie wszelkich treści zawartych na forum, modyfikacji oraz instrukcji bez zgody administracji i autorów tematów/postów zabronione!

Powered by phpBB modified by Przemo © 2003 phpBB
Strona wygenerowana w 0,09 sekundy. Zapytań do SQL: 11
Polecane serwisy

Najlepsze oprogramowanie do prowadzenia sklepu internetowegoNajlepszy program do sklepu firmowany przez Przem'a

Sklep z gadżetami

mediaclick.pl

serwis laptopów

phpbb

Polisy Ubezpieczeniowe TU Europa

Design Cart - Tworzenie sklepu internetowego

dnirozwoju.pl

Ranking Hostingów HostingOnline.pl

• Zamów reklamę