|
|
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo
|
|
[Other] localhost and problem with utf-8 |
Autor |
Wiadomość |
evilmc
Posty: 289
|
Wysłany: 29-08-2010, 18:51 [Other] localhost and problem with utf-8
|
|
|
I have already had a similar problem, but this time it seems a different problem. I switched my forum in the local network on your computer, but now all the posts on the forum look like this:
lang_main.php
Kod: | setlocale(LC_ALL, 'sr_YU.ISO8859-5', 'sr_YU.ISO8859-2', 'sr_YU@cyrillic.UTF-8', 'sr', 'sr_CS', 'sr_CS.UTF-8', 'sr_YU.UTF-8');
$lang['ENCODING'] = 'UTF-8';
$lang['DIRECTION'] = 'ltr';
$lang['DATE_FORMAT'] = 'd M Y'; // This should be changed to the default date format for your language, php date() format |
And all lang files set to UTF-8 encoding. Database table for SQL is: utf8_unicode_ci.
What could be the problem?
forummm.png
|
|
Plik ściągnięto 229 raz(y) 31,72 KB |
|
_________________ Looptroop - Bandit Queen |
Ostatnio zmieniony przez Matteo 01-09-2010, 15:22, w całości zmieniany 3 razy |
|
|
|
|
Gadatliwa Kasia
|
|
|
|
Bucu
Pomógł: 487 razy Posty: 2127
|
Wysłany: 29-08-2010, 20:00
|
|
|
At first, give me url. I need to view your check_files.php (if reading is enabled to admin only, change it) |
_________________ Zanim napiszesz głupi temat, zapoznaj sie z FAQ
Pisanie / Instalacja Modyfikacji / For / CMS , przenoszenie For / CMS / Baz Danych (odpłatnie) - Osoby zainteresowane Proszę o kontakt GG.
Przez GG Pomagam tylko odpłatnie! |
|
|
|
|
evilmc
Posty: 289
|
Wysłany: 29-08-2010, 20:17
|
|
|
my forum in the local network on my computer(localhost = wamp server)
check_files.rar
|
Pobierz Plik ściągnięto 744 raz(y) 8,48 KB |
|
_________________ Looptroop - Bandit Queen |
|
|
|
|
Bucu
Pomógł: 487 razy Posty: 2127
|
Wysłany: 29-08-2010, 20:38
|
|
|
evilmc,
Is your db/mysql.php modified?
And check encoding in source code (meta tag) |
_________________ Zanim napiszesz głupi temat, zapoznaj sie z FAQ
Pisanie / Instalacja Modyfikacji / For / CMS , przenoszenie For / CMS / Baz Danych (odpłatnie) - Osoby zainteresowane Proszę o kontakt GG.
Przez GG Pomagam tylko odpłatnie! |
|
|
|
|
evilmc
Posty: 289
|
Wysłany: 29-08-2010, 22:19
|
|
|
Bucu napisał/a: | Is your db/mysql.php modified? |
I do not understand you.
Bucu napisał/a: | And check encoding in source code (meta tag) |
Could you explain me where should I check? |
_________________ Looptroop - Bandit Queen |
|
|
|
|
Bucu
Pomógł: 487 razy Posty: 2127
|
Wysłany: 29-08-2010, 22:31
|
|
|
evilmc,
view in your browser check_files.php
example:
Kod: | www.serbianunderground.com/forum/check_files.php |
and if file db/mysql.php or db/mysql4.php is listed end shown as modified, overwrite this two files with clean copies from package.
Cytat: |
Could you explain me where should I check?- |
Click view source using RMB in your browser
And find this line:
Kod: | <meta http-equiv="Content-Type" content="text/html; charset |
|
_________________ Zanim napiszesz głupi temat, zapoznaj sie z FAQ
Pisanie / Instalacja Modyfikacji / For / CMS , przenoszenie For / CMS / Baz Danych (odpłatnie) - Osoby zainteresowane Proszę o kontakt GG.
Przez GG Pomagam tylko odpłatnie! |
|
|
|
|
evilmc
Posty: 289
|
Wysłany: 29-08-2010, 22:39
|
|
|
Cytat: | Click view source using RMB in your browser
And find this line:
Code:
<meta http-equiv="Content-Type" content="text/html; charset |
Okey, i find this meta:
Kod: | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css"> |
Bucu napisał/a: | check_files.php |
check_f.png
|
|
Plik ściągnięto 236 raz(y) 89,76 KB |
|
_________________ Looptroop - Bandit Queen |
|
|
|
|
Gadatliwa Kasia
|
|
|
|
Bucu
Pomógł: 487 razy Posty: 2127
|
Wysłany: 29-08-2010, 22:57
|
|
|
Your database is in utf-8 but some characters arent i think.
Is that characters shown on your screen, are the same in database? I think they dont, you need to convert those special characters then load sql file to new db. |
_________________ Zanim napiszesz głupi temat, zapoznaj sie z FAQ
Pisanie / Instalacja Modyfikacji / For / CMS , przenoszenie For / CMS / Baz Danych (odpłatnie) - Osoby zainteresowane Proszę o kontakt GG.
Przez GG Pomagam tylko odpłatnie! |
|
|
|
|
|
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 Możesz załączać pliki na tym forum Możesz ściągać załączniki na tym forum
|
Dodaj temat do Ulubionych Wersja do druku
|
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,07 sekundy. Zapytań do SQL: 14 | |
|
|