Есть вопрос?
Зайди на форум

Поиск на сайте: Advanced

Denix - новый дистрибутив Linux. Русификация Ubuntu и установка кодеков

dkws.org.ua
Форум сайта dkws.org.ua
 
Главная    ТемыТемы    АльбомАльбом    РегистрацияРегистрация 
 ПрофильПрофиль   Войти и проверить личные сообщенияВойти и проверить личные сообщения   ВходВход 

проблемы при установке Drupal

 
Начать новую тему Ответить на тему    Список форумов dkws.org.ua -> Сайтостроение
 
Автор Сообщение
Martin

Завсегдатай


Зарегистрирован: 28.07.2009
Сообщения: 623
Откуда: Харьков

СообщениеДобавлено: Вт Июн 07, 2011 9:24 am    Заголовок сообщения: проблемы при установке Drupal
Ответить с цитатой

При первоначальной установке Друпал на хостинге Install Drupal in English выходит это сообщение:
Код:
Requirements problem
The following errors must be resolved before you can continue the installation process:

    The Drupal installer requires that you create a settings file as part of the installation process.
        Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.
        Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the on-line handbook.
    More details about installing Drupal are available in INSTALL.txt.
    The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually, or ensure that the installer has the permissions to create it automatically. For more information, please see INSTALL.txt or the on-line handbook.

Please check the error messages and try again.

Почему не могу продолжить установку?
Вернуться к началу
Посмотреть профиль Отправить личное сообщение
Martin

Завсегдатай


Зарегистрирован: 28.07.2009
Сообщения: 623
Откуда: Харьков

СообщениеДобавлено: Вт Июн 07, 2011 9:56 am    Заголовок сообщения:
Ответить с цитатой

решил. нужно было default.settings.php переименовать в settings.php и установить ему публичные права на запись и создать в ручную каталог sites/default/files (автоматически почему то программа установки создать его не смогла)
Вернуться к началу
Посмотреть профиль Отправить личное сообщение
Martin

Завсегдатай


Зарегистрирован: 28.07.2009
Сообщения: 623
Откуда: Харьков

СообщениеДобавлено: Вт Июн 07, 2011 10:15 am    Заголовок сообщения:
Ответить с цитатой

Теперь возникли проблемы на этапе: Set up database/Настройка базы данных - не может найти и подключится к БД.
Не могу разобраться в файле настроек settings.php:
Код:
/**
 * Database settings:
 *
 * Note that the $db_url variable gets parsed using PHP's built-in
 * URL parser (i.e. using the "parse_url()" function) so make sure
 * not to confuse the parser. If your username, password
 * or database name contain characters used to delineate
 * $db_url parts, you can escape them via URI hex encodings:
 *
 *   : = %3a   / = %2f   @ = %40
 *   + = %2b   ( = %28   ) = %29
 *   ? = %3f   = = %3d   & = %26
 *
 * To specify multiple connections to be used in your site (i.e. for
 * complex custom modules) you can also specify an associative array
 * of $db_url variables with the 'default' element used until otherwise
 * requested.
 *
 * You can optionally set prefixes for some or all database table names
 * by using the $db_prefix setting. If a prefix is specified, the table
 * name will be prepended with its value. Be sure to use valid database
 * characters only, usually alphanumeric and underscore. If no prefixes
 * are desired, leave it as an empty string ''.
 *
 * To have all database names prefixed, set $db_prefix as a string:
 *
 *   $db_prefix = 'main_';
 *
 * To provide prefixes for specific tables, set $db_prefix as an array.
 * The array's keys are the table names and the values are the prefixes.
 * The 'default' element holds the prefix for any tables not specified
 * elsewhere in the array. Example:
 *
 *   $db_prefix = array(
 *     'default'   => 'main_',
 *     'users'     => 'shared_',
 *     'sessions'  => 'shared_',
 *     'role'      => 'shared_',
 *     'authmap'   => 'shared_',
 *   );
 *
 * Database URL format:
 *   $db_url = 'mysql://username:password@localhost/databasename';
 *   $db_url = 'mysqli://username:password@localhost/databasename';
 *   $db_url = 'pgsql://username:password@localhost/databasename';
 */
$db_url = 'mysql://username:password@localhost/databasename';
$db_prefix = '';

/**
 * Base URL (optional).
 *
 * If you are experiencing issues with different site domains,
 * uncomment the Base URL statement below (remove the leading hash sign)
 * and fill in the URL to your Drupal installation.
 *
 * You might also want to force users to use a given domain.
 * See the .htaccess file for more information.
 *
 * Examples:
 *   $base_url = 'http://www.example.com';
 *   $base_url = 'http://www.example.com:8888';
 *   $base_url = 'http://www.example.com/drupal';
 *   $base_url = 'https://www.example.com:8888/drupal';
 *
 * It is not allowed to have a trailing slash; Drupal will add it
 * for you.
 */
# $base_url = 'http://www.example.com';  // NO trailing slash!

Куда нужно прописать имя БД, ее пользователя и его пароль?
Вернуться к началу
Посмотреть профиль Отправить личное сообщение
Martin

Завсегдатай


Зарегистрирован: 28.07.2009
Сообщения: 623
Откуда: Харьков

СообщениеДобавлено: Вт Июн 07, 2011 11:28 am    Заголовок сообщения:
Ответить с цитатой

Drulal пишет вот что:
Код:
Failed to connect to your MySQL database server. MySQL reports the following message: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct database hostname?
    Are you sure that the database server is running?

For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
Вернуться к началу
Посмотреть профиль Отправить личное сообщение
Martin

Завсегдатай


Зарегистрирован: 28.07.2009
Сообщения: 623
Откуда: Харьков

СообщениеДобавлено: Вт Июн 07, 2011 1:58 pm    Заголовок сообщения:
Ответить с цитатой

решил: не правильно указал в settings.php адресс сервера БД. Но установить все равно не смог-у хостинга устарело ПО Very Happy а еще самым популярным считается (мастерхост) Very Happy
Вернуться к началу
Посмотреть профиль Отправить личное сообщение
Martin

Завсегдатай


Зарегистрирован: 28.07.2009
Сообщения: 623
Откуда: Харьков

СообщениеДобавлено: Вт Июн 07, 2011 5:54 pm    Заголовок сообщения:
Ответить с цитатой

оказывается это у меня ПО устарело, по словам операционистки из службы поддержки мастерхоста
Цитата:
Функция ereg() является устаревшей. Ее нужно заменить. Пока что она работает, но в новых версиях PHP уже не будет.

ахотя устанавливал последнюю версию Drupal 7.2 Sad
Вернуться к началу
Посмотреть профиль Отправить личное сообщение
Показать сообщения:   
Начать новую тему Ответить на тему    Список форумов dkws.org.ua -> Сайтостроение Часовой пояс: GMT
Страница 1 из 1
 Главная страница сайта
 
Перейти:  
Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете голосовать в опросах
© Колисниченко Денис