Бормотухи.НЕТ

Бормотухи.НЕТ (http://www.bormotuhi.net/index.php)
-   Инструкции по vBulletin (http://www.bormotuhi.net/forumdisplay.php?f=102)
-   -   Установка кратко! (http://www.bormotuhi.net/showthread.php?t=12075)

sumrak 04.04.2011 04:39

Установка кратко!
 
в этой теме я расскажу как установить ваш форум на хостинг!!!

что нам нужно???

1.сам форум
2.платный или бесплатный хостинг с поддержкой php и MySQL
3.FTP клиент
4.патч для установки

сначало я расскажу в чем отличие платного от бесплатного!

1.платный( домен второго уровня например http://sumrak.ru)
2.бесплатный (домен третьего уровня например http://sumrak.cc.ru)

советую брать платный! они надежные!!

и так начнем установку!

1.заходим в ftp клиент подключаемся к ниму, закидываем форум архив,
далие идем в админ панель сайта, распаковываем архив и закачиваем патч патч заидываем тоже в ftp
2.далие заходим в папку /includes в админ панели! находим файл config.php.new , открываем его,
увы патча у меня нет!


там где $config['Database']['dbname'] = 'ваша_база'
там где $config['Database']['technicalemail'] = 'ваше мыло'
там где $config['MasterServer']['username'] = 'имя пользователя';
там где $config['MasterServer']['password'] = 'пароль'
там где $config['Misc']['forumpath'] = 'путь к форуму'

потом это сохраняем и вайл config.php.new переделать, на config.php

теперь самое главное! установка!

пишите так в браузере http://вашь_сайт.ru/forumpath.php
тем у кого бесплатный то http://вашь_сайт.приставка.ru/forumpath.php

ура идет установка)))

если не работает пишите сюда! решу проблему!

Biltto 08.04.2011 08:55

У меня нет файла forumpath.php, через какой файл мне начинать установку? У меня вобла 4.1.2.

sumrak 08.04.2011 10:19

Ну не обязательно и с ним установку начинать. Можно и так http://Ваш форум.ру/install/install.php

Biltto 08.04.2011 12:26

Цитата:

Сообщение от sumrak (Сообщение 268452)
Ну не обязательно и с ним установку начинать. Можно и так http://Ваш форум.ру/install/install.php

Сделал и так, но выдает "404. Файл не найден."

boxx 08.04.2011 12:38

Видеокрок по установке и русификации vBulletin Publishing Suite 4.x.x

sumrak 08.04.2011 18:33

Варианта два!
1.Возможно домен с хостингом не сцепился! это обычно надо ждать 6-8 часов, а то и больше!
2.Вы файлы форума туда хоть залили? надо зайти на хостинг и файлы форума кидать в папку public_html

Biltto 08.04.2011 19:43

Цитата:

Сообщение от sumrak (Сообщение 268511)
Варианта два!
1.Возможно домен с хостингом не сцепился! это обычно надо ждать 6-8 часов, а то и больше!
2.Вы файлы форума туда хоть залили? надо зайти на хостинг и файлы форума кидать в папку public_html

я закинул их в папку WWW, а не public_html
Щас перекину, хотя это долгий процесс.

sumrak 08.04.2011 19:47

Цитата:

Сообщение от Biltto (Сообщение 268552)
я закинул их в папку WWW, а не public_html
Щас перекину, хотя это долгий процесс.

у вас на хостинге эта папка стандартная должна быть!

sumrak 08.04.2011 19:55

И зачем перекидывать?
1.создайте архив zip с файлами форума
2.закиньте этот архив на хостинг в папку public_html
3.распакуйте архив
4.и начните устанавливать!

вот тоже гиморой нашли))

Biltto 08.04.2011 20:00

я только новичок в этих делах, хотя раньше хорошо все забыл, время...
Мне выдает, что неправильно указал @'localhost'
Подскажите пожалуйста что мне там указывать в конфиг. файле

sumrak 08.04.2011 20:05

Код:

<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.0.0 Beta 3
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2009 vBulletin Solutions Inc. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/

/*-------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to    |
| MySQL, you will need to email your webhost because we  |
| cannot tell you the correct values for the variables    |
| in this file.                                          |
\*-------------------------------------------------------*/

        //        ****** DATABASE TYPE ******
        //        This is the type of the database server on which your vBulletin database will be located.
        //        Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
        // for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysql';

        //        ****** DATABASE NAME ******
        //        This is the name of the database where your vBulletin will be located.
        //        This must be created by your webhost.
$config['Database']['dbname'] = 'тут имя вашей базы';

        //        ****** TABLE PREFIX ******
        //        Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';

        //        ****** TECHNICAL EMAIL ADDRESS ******
        //        If any database errors occur, they will be emailed to the address specified here.
        //        Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = 'тут ваше мыло';

        //        ****** FORCE EMPTY SQL MODE ******
        // New versions of MySQL (4.1+) have introduced some behaviors that are
        // incompatible with vBulletin. Setting this value to "true" disables those
        // behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;



        //        ****** MASTER DATABASE SERVER NAME AND PORT ******
        //        This is the hostname or IP address and port of the database server.
        //        If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;

        //        ****** MASTER DATABASE USERNAME & PASSWORD ******
        //        This is the username and password you use to access MySQL.
        //        These must be obtained through your webhost.
$config['MasterServer']['username'] = 'имя вашего пользователя при создании базы';
$config['MasterServer']['password'] = 'пароль пользователя';

        //        ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
        //        This option allows you to turn persistent connections to MySQL on or off.
        //        The difference in performance is negligible for all but the largest boards.
        //        If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config['MasterServer']['usepconnect'] = 0;



        //        ****** SLAVE DATABASE CONFIGURATION ******
        //        If you have multiple database backends, this is the information for your slave
        //        server. If you are not 100% sure you need to fill in this information,
        //        do not change any of the values here.
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;



        //        ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
        //        This setting allows you to change the name of the folders that the admin and
        //        moderator control panels reside in. You may wish to do this for security purposes.
        //        Please note that if you change the name of the directory here, you will still need
        //        to manually change the name of the directory on the server.
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';

        //        Prefix that all vBulletin cookies will have
        //        Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
$config['Misc']['cookieprefix'] = 'bb';

        //        ******** FULL PATH TO FORUMS DIRECTORY ******
        //        On a few systems it may be necessary to input the full path to your forums directory
        //        for vBulletin to function normally. You can ignore this setting unless vBulletin
        //        tells you to fill this in. Do not include a trailing slash!
        //        Example Unix:
        //          $config['Misc']['forumpath'] = '/home/users/public_html/forums';
        //        Example Win32:
        //          $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
$config['Misc']['forumpath'] = '';

        //        ****** COOKIE SECURITY HASH ******
        //        This option allows you to encode cookie.
        //        You may use any latin and/or any other alphanumeric symbols.
        //        Leave this blank to use the default value.
        //        Note: if you change this all users will be logout.
$config['Misc']['cookie_security_hash'] = '';


        //        ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
        //        The users specified here will be allowed to view the admin log in the control panel.
        //        Users must be specified by *ID number* here. To obtain a user's ID number,
        //        view their profile via the control panel. If this is a new installation, leave
        //        the first user created will have a user ID of 1. Seperate each userid with a comma.
$config['SpecialUsers']['canviewadminlog'] = '1';

        //        ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
        //        The users specified here will be allowed to remove ("prune") entries from the admin
        //        log. See the above entry for more information on the format.
$config['SpecialUsers']['canpruneadminlog'] = '1';

        //        ****** USERS WITH QUERY RUNNING PERMISSIONS ******
        //        The users specified here will be allowed to run queries from the control panel.
        //        See the above entries for more information on the format.
        //        Please note that the ability to run queries is quite powerful. You may wish
        //        to remove all user IDs from this list for security reasons.
$config['SpecialUsers']['canrunqueries'] = '';

        //        ****** UNDELETABLE / UNALTERABLE USERS ******
        //        The users specified here will not be deletable or alterable from the control panel by any users.
        //        To specify more than one user, separate userids with commas.
$config['SpecialUsers']['undeletableusers'] = '';

        //        ****** SUPER ADMINISTRATORS ******
        //        The users specified below will have permission to access the administrator permissions
        //        page, which controls the permissions of other administrators
$config['SpecialUsers']['superadministrators'] = '1';

        // ****** DATASTORE CACHE CONFIGURATION *****
        // Here you can configure different methods for caching datastore items.
        // vB_Datastore_Filecache  - to use includes/datastore/datastore_cache.php
        // vB_Datastore_APC - to use APC
        // vB_Datastore_XCache - to use XCache
        // vB_Datastore_Memcached - to use a Memcache server, more configuration below
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

        // ******** DATASTORE PREFIX ******
        // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
        // than one set of forums installed on your host, you *may* need to use a prefix
        // so that they do not try to use the same variable within the cache.
        // This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

        // It is also necessary to specify the hostname or IP address and the port the server is listening on
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i]                = '127.0.0.1';
$config['Misc']['memcacheport'][$i]                        = 11211;
$config['Misc']['memcachepersistent'][$i]        = true;
$config['Misc']['memcacheweight'][$i]                = 1;
$config['Misc']['memcachetimeout'][$i]                = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
*/

// ****** The following options are only needed in special cases ******

        //        ****** MySQLI OPTIONS *****
        // When using MySQL 4.1+, MySQLi should be used to connect to the database.
        // If you need to set the default connection charset because your database
        // is using a charset other than latin1, you can set the charset here.
        // If you don't set the charset to be the same as your database, you
        // may receive collation errors.  Ignore this setting unless you
        // are sure you need to use it.
// $config['Mysqli']['charset'] = 'utf8';

        //        Optionally, PHP can be instructed to set connection parameters by reading from the
        //        file named in 'ini_file'. Please use a full path to the file.
        //        Example:
        //        $config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
$config['Mysqli']['ini_file'] = '';

// Image Processing Options
        // Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings.
$config['Misc']['maxwidth'] = 2592;
$config['Misc']['maxheight'] = 1944;

/*======================================================================*\
|| ####################################################################
|| # CVS: $RCSfile$ - $Revision: 32878 $
|| ####################################################################
\*======================================================================*/


Biltto 08.04.2011 20:29

Спасибо огромное! Оказывается я не добавлял пользователя в базу данных!!

sumrak 08.04.2011 20:31

Ни чего страшного. Со всеми бывает. Будьте внимательней!

sumrak 08.04.2011 20:33

Надеюсь установка пошла?)))

Biltto 08.04.2011 20:55

Fatal error: Class 'vBCms_Content' not found in /home/zochrc27/public_html/biltto/forum/vb/packages/vbcms/controller/content.php on line 93
что означает это сообщение?

sumrak 09.04.2011 04:34

Цитата:

Сообщение от Biltto (Сообщение 268576)
Fatal error: Class 'vBCms_Content' not found in /home/zochrc27/public_html/biltto/forum/vb/packages/vbcms/controller/content.php on line 93
что означает это сообщение?

Ошибка в 93 строчке! не ставте cms тода!

Biltto 09.04.2011 11:49

Цитата:

Сообщение от sumrak (Сообщение 268589)
Ошибка в 93 строчке! не ставте cms тода!

восстановить его не удастся?

Biltto 09.04.2011 11:53

Вот что на той строчке
$this->content = vBCms_Content::create($this->node->getPackage(), $this->node->getClass(), $this->node->getContentId());

sumrak 11.04.2011 14:53

Цитата:

Сообщение от Biltto (Сообщение 268637)
восстановить его не удастся?

Я php не так уж и понимаю!

hakerok 11.04.2011 19:30

Цитата:

Сообщение от sumrak (Сообщение 268511)
Варианта два!
1.Возможно домен с хостингом не сцепился! это обычно надо ждать 6-8 часов, а то и больше!
2.Вы файлы форума туда хоть залили? надо зайти на хостинг и файлы форума кидать в папку public_html

а я сли у меня на хосте нет такой папки???Что делать???Как откріть зип архив в админке????

Slavok47 11.04.2011 19:33

Цитата:

Сообщение от hakerok (Сообщение 269453)
Как откріть зип архив в админке

зависит от админки, в ISP есть кнопочка запаковать/распаковать, юзай ftp менеджер

hakerok 11.04.2011 19:35

Цитата:

Сообщение от Slavok47 (Сообщение 269455)
юзай ftp менеджер

а где его взять???И где в админке его разархивировать????????????????:angry:

hakerok 11.04.2011 19:38

А в какую папку закинуть архив???а если у меня архив з песней можно ее вікинуть из архива?(песня 10mb)

sumrak 11.04.2011 19:38

Цитата:

Сообщение от hakerok (Сообщение 269453)
а я сли у меня на хосте нет такой папки???Что делать???Как откріть зип архив в админке????

Я так полагаю у вас бесплатный хостинг? тогда попробуйте создать ее и закинуть туда файлы, если не получиться, то обратитесь к хостеру.

А zip не открывать надо, а распаковать!

sertaras 11.04.2011 19:40

Biltto
Походу путь в настройках портала неверно записан... Там в архиве хака есть файлик которым можно узнать полный путь...


Текущее время: 19:42. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc. Перевод: zCarot

Время генерации страницы 0.11940 секунды с 8 запросами