FAQ Установка TorrentPier II и с чем его едят

рофф

Пользователь
ругается Error in posting #2


$sql = ($mode != "editpost") ? "INSERT INTO " . BB_POSTS . " (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, poster_rg_id, attach_rg_sig) VALUES ($topic_id, $forum_id, " . $userdata['user_id'] . ", '$post_username', $current_time, '" . USER_IP . "', $poster_rg_id, $attach_rg_sig)" : "UPDATE " . BB_POSTS . " SET post_username = '$post_username'" . $edited_sql . ", poster_rg_id = $poster_rg_id, attach_rg_sig = $attach_rg_sig WHERE post_id = $post_id";
if (!DB()->sql_query($sql)) {
bb_die('Error in posting #2');
}
а это нет.....
 

рофф

Пользователь
Установка tp223 ни каких проблем не вызывает, смотрите пример ниже.

сделал как в инструкции, но при composer install вылезает
Код:
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - longman/ip-tools 1.2.1 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system.
    - longman/ip-tools 1.2.0 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system.
    - Installation request for longman/ip-tools ^1.2 -> satisfiable by longman/ip-tools[1.2.0, 1.2.1].

  To enable extensions, verify that they are enabled in your .ini files:
    -
    - /usr/local/etc/php/ext-10-opcache.ini
    - /usr/local/etc/php/ext-18-session.ini
    - /usr/local/etc/php/ext-20-bz2.ini
    - /usr/local/etc/php/ext-20-ctype.ini
    - /usr/local/etc/php/ext-20-curl.ini
    - /usr/local/etc/php/ext-20-dom.ini
    - /usr/local/etc/php/ext-20-exif.ini
    - /usr/local/etc/php/ext-20-filter.ini
    - /usr/local/etc/php/ext-20-ftp.ini
    - /usr/local/etc/php/ext-20-gd.ini
    - /usr/local/etc/php/ext-20-gettext.ini
    - /usr/local/etc/php/ext-20-hash.ini
    - /usr/local/etc/php/ext-20-iconv.ini
    - /usr/local/etc/php/ext-20-json.ini
    - /usr/local/etc/php/ext-20-mbstring.ini
    - /usr/local/etc/php/ext-20-mcrypt.ini
    - /usr/local/etc/php/ext-20-mysqli.ini
    - /usr/local/etc/php/ext-20-openssl.ini
    - /usr/local/etc/php/ext-20-pdo.ini
    - /usr/local/etc/php/ext-20-posix.ini
    - /usr/local/etc/php/ext-20-simplexml.ini
    - /usr/local/etc/php/ext-20-sqlite3.ini
    - /usr/local/etc/php/ext-20-tokenizer.ini
    - /usr/local/etc/php/ext-20-xml.ini
    - /usr/local/etc/php/ext-20-xmlwriter.ini
    - /usr/local/etc/php/ext-30-pdf.ini
    - /usr/local/etc/php/ext-30-pdo_sqlite.ini
    - /usr/local/etc/php/ext-30-phar.ini
    - /usr/local/etc/php/ext-30-xmlreader.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
и всё..... подскажите, чем лечить?
 

Exile

Администратор
сделал как в инструкции, но при composer install вылезает
Код:
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - longman/ip-tools 1.2.1 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system.
    - longman/ip-tools 1.2.0 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system.
    - Installation request for longman/ip-tools ^1.2 -> satisfiable by longman/ip-tools[1.2.0, 1.2.1].

  To enable extensions, verify that they are enabled in your .ini files:
    -
    - /usr/local/etc/php/ext-10-opcache.ini
    - /usr/local/etc/php/ext-18-session.ini
    - /usr/local/etc/php/ext-20-bz2.ini
    - /usr/local/etc/php/ext-20-ctype.ini
    - /usr/local/etc/php/ext-20-curl.ini
    - /usr/local/etc/php/ext-20-dom.ini
    - /usr/local/etc/php/ext-20-exif.ini
    - /usr/local/etc/php/ext-20-filter.ini
    - /usr/local/etc/php/ext-20-ftp.ini
    - /usr/local/etc/php/ext-20-gd.ini
    - /usr/local/etc/php/ext-20-gettext.ini
    - /usr/local/etc/php/ext-20-hash.ini
    - /usr/local/etc/php/ext-20-iconv.ini
    - /usr/local/etc/php/ext-20-json.ini
    - /usr/local/etc/php/ext-20-mbstring.ini
    - /usr/local/etc/php/ext-20-mcrypt.ini
    - /usr/local/etc/php/ext-20-mysqli.ini
    - /usr/local/etc/php/ext-20-openssl.ini
    - /usr/local/etc/php/ext-20-pdo.ini
    - /usr/local/etc/php/ext-20-posix.ini
    - /usr/local/etc/php/ext-20-simplexml.ini
    - /usr/local/etc/php/ext-20-sqlite3.ini
    - /usr/local/etc/php/ext-20-tokenizer.ini
    - /usr/local/etc/php/ext-20-xml.ini
    - /usr/local/etc/php/ext-20-xmlwriter.ini
    - /usr/local/etc/php/ext-30-pdf.ini
    - /usr/local/etc/php/ext-30-pdo_sqlite.ini
    - /usr/local/etc/php/ext-30-phar.ini
    - /usr/local/etc/php/ext-30-xmlreader.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
и всё..... подскажите, чем лечить?
requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system.

Вроде написано вполне четко.
 

Kryl

Пользователь
Всем привет .
что то не пойму , при установке composer install выдает такое , где этот файл json ? ставлю в директорию домашнею как на видео ..
To initialize a project, please create a composer.json file as described in the

Please Login or Register to view hidden text.

"Getting Started" section
 

Kryl

Пользователь
не знаю ))) что за ерунда , вроде установил , но ни фига не работает )))
из изменений только файл composer.lock появился ...
 
Сверху