![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 14 Pomógł: 0 Dołączył: 22.09.2010 Ostrzeżenie: (0%) ![]() ![]() |
Witam
Jestem w trakcie przenoszenia strony opartej o cms'a. Krzystam z panelu Direct Admin mojego hostingodawcy. Strona wyświetla się jeśli chodzi o grafikę prawidłowo. Jednak na stronie jest komunikat (w miejscu treści): "Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO) " W panelu Direct Admin stworzyłem bazę danych. W phpmyadmin zaimportowałem bazę danych z poprzedniego hostingu (w formie spakowanego pliku .gz). Gdy uruchamiam phpmyadmin dla strony www pojawia się komunikat: "Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 145782 bytes) in /var/www/html/phpMyAdmin-3.5.8.2-all-languages/index.php on line 16" Nie wiem jak to ugryźć. Może ktoś z forumowiczów potrafi pomóć. Podaje też zawartość pliku index.php: <?php ob_start();// Bufor session_start(); // Wcms 3.0 beta błedy, sugestie, pomysły zgłaszać: // Pliki konfiguracyjne require 'config/config.php'; require 'config/db_config.php'; if($_COOKIE['lang']) { $lang=$_COOKIE['lang'];} else { $lang = $default_lang; } define ('LANGUAGE', $lang); require LANG_DIR.'/'.LANGUAGE.'.php'; require LANG_DIR.'/str_'.LANGUAGE.'.php'; require PHP_DIR.'/Sql.class.php'; require PHP_DIR.'/function.php'; require PHP_DIR.'/smarty/Smarty.class.php'; // Klasy $sql= new Sql; // Smarty $tpl= new Smarty; $tpl->template_dir = TEMPLATES_DIR;// Katalog szablonów $tpl->compile_dir = TEMPLATES_DIR.'_c';// Katalog tymczasowych szablonów //Header require PHP_DIR.'/header.php'; // Menu górne require PHP_DIR.'/menu_gora.php'; // Menu lewe require PHP_DIR.'/menu_lewe.php'; // Treść strony require PHP_DIR.'/tresc.php'; // Stopka strony require PHP_DIR.'/foter.php'; ob_end_flush(); ?> szymkow |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 06:17 |