Регистрация    Вход    Форум    Поиск    FAQ

Список форумов » TYPOlight-поддержка » Вопросы от новичков




Начать новую тему Ответить на тему  [ Сообщений: 2 ] 
Автор Сообщение
 Заголовок сообщения: Fatal Error - Could not connect to database
 Сообщение Добавлено: 26 мар 2010, 16:44 
Не в сети

Зарегистрирован: 25 мар 2010, 21:02
Сообщений: 1
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.1.6

После закачки файлов появилось:
An error occurred while executing this script!

1. If you are a TYPOlight user, contact the administrator of your website.
2. Open file system/logs/error.log and search for a corresponding entry.
3. Open file system/config/localconfig.php and add the following line:

$GLOBALS['TL_CONFIG']['displayErrors'] = true;

4. Read the TYPOlight FAQs or visit the TYPOlight support page.

Сделал все как написано, увидел такое:
Fatal error: Uncaught exception Exception with message Could not connect to database (Access denied for user 'apache'@'localhost' (using password: NO)) thrown in /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/Database.php on line 76

#0 /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/Database.php(134): Database->__construct()
#1 [internal function]: Database::getInstance()
#2 /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/System.php(145): call_user_func(Array)
#3 /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/Model.php(78): System->import('Database')
#4 /var/www/vhosts/seo-ru.com/httpdocs/system/modules/frontend/FrontendUser.php(89): Model->__construct()
#5 /var/www/vhosts/seo-ru.com/httpdocs/system/modules/frontend/FrontendUser.php(171): FrontendUser->__construct()
#6 [internal function]: FrontendUser::getInstance()
#7 /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/System.php(145): call_user_func(Array)
#8 /var/www/vhosts/seo-ru.com/httpdocs/index.php(57): System->import('FrontendUser', 'User')
#9 /var/www/vhosts/seo-ru.com/httpdocs/index.php(310): Index->__construct()
#10 {main}

Что с этим делать?


Вернуться наверх 
 Профиль  
 
 Заголовок сообщения: Re: Fatal Error - Could not connect to database
 Сообщение Добавлено: 26 мар 2010, 17:01 
Не в сети
Администратор
Аватар пользователя

Зарегистрирован: 07 окт 2009, 22:31
Сообщений: 90
piper писал(а):
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.1.6

После закачки файлов появилось:
An error occurred while executing this script!

1. If you are a TYPOlight user, contact the administrator of your website.
2. Open file system/logs/error.log and search for a corresponding entry.
3. Open file system/config/localconfig.php and add the following line:

$GLOBALS['TL_CONFIG']['displayErrors'] = true;

4. Read the TYPOlight FAQs or visit the TYPOlight support page.

Сделал все как написано, увидел такое:
Fatal error: Uncaught exception Exception with message Could not connect to database (Access denied for user 'apache'@'localhost' (using password: NO)) thrown in /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/Database.php on line 76

#0 /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/Database.php(134): Database->__construct()
#1 [internal function]: Database::getInstance()
#2 /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/System.php(145): call_user_func(Array)
#3 /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/Model.php(78): System->import('Database')
#4 /var/www/vhosts/seo-ru.com/httpdocs/system/modules/frontend/FrontendUser.php(89): Model->__construct()
#5 /var/www/vhosts/seo-ru.com/httpdocs/system/modules/frontend/FrontendUser.php(171): FrontendUser->__construct()
#6 [internal function]: FrontendUser::getInstance()
#7 /var/www/vhosts/seo-ru.com/httpdocs/system/libraries/System.php(145): call_user_func(Array)
#8 /var/www/vhosts/seo-ru.com/httpdocs/index.php(57): System->import('FrontendUser', 'User')
#9 /var/www/vhosts/seo-ru.com/httpdocs/index.php(310): Index->__construct()
#10 {main}

Что с этим делать?


привет!
давай всё по порядку. похоже, ты не запустил install.php., а сразу стал вызывать index.php.
если так, то запусти сначала typoligth/install.php и заполни там все необходимые поля.


Вернуться наверх 
 Профиль  
 
Показать сообщения за:  Сортировать по:  
 
Начать новую тему Ответить на тему  [ Сообщений: 2 ] 

Список форумов » TYPOlight-поддержка » Вопросы от новичков


Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0

 
 

 
Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
cron
Русская поддержка phpBB