Każdy temat założony w ewidentnie złym dziale będzie usuwany! Proszę czytać opisy działów i regulamin!
![]() ![]() |
07.11.2007 - 20:38
Post
#1
|
|
![]() aktywność: ![]() ![]() ![]() ![]() ![]() Grupa: +Bloger Postów: 305 Nr: 3 158 |
Oto plik konfiguracyjny WordPress Multi 1.3:
CODE <?php /* Don't try to create this file by hand. Read the README.txt and run the installer. */ // ** MySQL settings ** // define('DB_NAME', 'nazwa-bazy'); // The name of the database define('DB_USER', 'nazwa-usera'); // Your MySQL username define('DB_PASSWORD', 'haslo'); // ...and password define('DB_HOST', 'host-bazy'); // 99% chance you won't need to change this value define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); define('VHOST', 'VHOSTSETTING'); $base = BASE'; // double check $base if( $base == 'BASE' ) die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' ); // You can have multiple installations in one database if you give each a unique prefix $table_prefix = 'wp_'; // Only numbers, letters, and underscores please! // Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-content/languages. // For example, install de.mo to wp-content/languages and set WPLANG to 'de' // to enable German language support. define ('WPLANG', ''); // uncomment this to enable wp-content/sunrise.php support //define( 'SUNRISE', 'on' ); define( "WP_USE_MULTIPLE_DB", false ); /* That's all, stop editing! Happy blogging. */ define('ABSPATH', dirname(__FILE__).'/'); require_once(ABSPATH.'wp-settings.php'); ?> Nazwę hosta, bazy, usera i hasło oczywiście zmieniamy. Ale co z tym $base? Zostawiając tak jak jest to wywala: KOD Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it! Zmieniając wartość $base wywala to samo, zmieniając $base w instrukcji warunkowej wywala to: KOD No WPMU site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance. Nie rozumiem teraz co i jak pozmieniać? Serwer mam testowy (znaczy sie normalny, tylko już nie używany publicznie, ale prywatnie do testów) na nazwa.pl - pakiet active. Jednak na localhoście to samo. Próbowałem rozkminiac codex'a, ale poddałem się - może ktoś ma jakąś radę? (Jak znam życie, to rozwiązanie jest niezwykle banalne) Ten post edytował Kasia79 07.11.2007 - 20:56
Powód edycji: wstawienie codebox
-------------------- |
|
|
|
07.11.2007 - 21:02
Post
#2
|
|
![]() aktywność: ![]() ![]() ![]() ![]() ![]() ![]() ![]() Grupa: Redakcja Postów: 849 Nr: 2 641 |
Uhm... bardzo banalne
CYTAT /* Don't try to create this file by hand. Read the README.txt and run the installer. */ Co w wolnym tłumaczeniu znaczy mniej więcej: "Nawet nie próbuj utworzyć tego pliku ręcznie! Przeczytaj README.txt i uruchom instalator"Kasia -------------------- Curiosity killed the cat, but satisfaction brought her back.
|
|
|
|
09.11.2007 - 13:39
Post
#3
|
|
![]() aktywność: ![]() ![]() ![]() ![]() ![]() Grupa: +Bloger Postów: 305 Nr: 3 158 |
Heh - za dużo instalacji zwykłego WP, gdzie samodzielnie się grzebało w tym pliku - dzięki
-------------------- |
|
|
|
![]() ![]() |
| Wersja Lo-Fi | Aktualny czas: 8 09 08 - 05:19 |