Installation instructions
- Register on this site and get a license keys (free or paid) for all your domains in member’s section
- Download latest Fast Traffic Trader 2 archive from here, unzip it and upload in binary mode on your server or you can do it more easily directly from ssh:
cd yoursite_index_directory
wget http://www.ftt2.com/latest/ftt2.zip
unzip ftt2.zip
rm ftt2.zip - Chmod or chown to user under which apache runs either full ftt2 folder with all containing files and folders to 0777 or only these directories:
chmod -R 0777 ftt2/toplists ftt2/update ftt2/system/logs ftt2/system/templates_c
If you chmod only directories above, script will ask you ftp or sftp login/password for automatic script upgrade purposes - Navigate in your browser to http://yoursite.com/ftt2/install/index.php and follow instructions
- If you did everything right, script is installed! Now you can delete install folder for better security:
rm -rf ftt2/install - Navigate to http://yoursite.com/ftt2/admin.php for configuration.
- Insert in.php script in your template pages between <head> and </head>
?>
<?php include_once('/path/to/your/site/index/directory/ftt2/in.php');
If your site powered by CMS with smarty templates, you can insert in.php in smarty template this way:
{php}include_once('/path/to/your/site/index/directory/ftt2/in.php');{/php}
If {php} tags not allowed in your configuration, you can upload file with name insert.ftt2.php in smarty plugins folder of your Rotator/CMS script ( usually that is folder with name plugins and it contains such files as function.eval.php, modifier.strip.php and others) containing this code:
<?php
function smarty_insert_ftt2($params, &$smarty) {
include('/path/to/your/site/index/directory/ftt2/in.php');
}
?>
And after that insert this code in smarty template between <head> and </head>:
{insert name='ftt2'} - Read documentation about out script parameters, toplists and other settings to setup links in your template
Don’t hesitate to comment this article if something is unclear
крон нужно прописывать?
нет
а импортнуть трейдеров с ATX возможно?
пока нет
Так и не смог его устоновить не чего не понимаю что делаю не так
я тоже так не могу понять. Обратитесь в поддержку.
реально будет скрипт апгрейда сетки сиджей на обычном ftt ? боевые сиджи не хотелось бы руками перебирать каждый – если сетка большая.
К сожалению нет. Совершенно другая архитектура скрипта, мне тогда придется из фтт делать фтт2 еще раз.
В мануале все запутано, автор, создай отдельно мануалы для тех кто стаивт один сидж, кто сетку установить хочет, кто имеет сиджи на разных серверах.
update
Warning: Invalid argument supplied for foreach() in /var/www/subaric/data/www/xlist.in/ftt2/install/functions.php on line 64
all files readable?
Warning: Invalid argument supplied for foreach() in /var/www/subaric/data/www/xlist.in/ftt2/install/functions.php on line 78
Здравствуйте не подскажите в чем может быть проблема ? это как только загружаеш ftt2/install/index.php
и везде стоит ок
попробуйте загрузить файл test.php с таким содержанием:
< ?php echo dirname(__FILE__)."\n".__FILE__."\n"; ?>Теоретически он должен показать полный путь к папке, в которой находится этот файл и на другой строке путь к самому этому файлу. По видимому у Вас хостинг настроен таким образом, что показывает не это. Возможно __FILE__ выводит только имя файла без полного пути. Проконсультируйтесь, пожалуйста, с админами вашего хостинга, чтобы константе __FILE__ соответствовал корректный абсолютный путь.
Спасибо, проблема решина
как апдейтить?
Maintaince->Sites Management->Upgrade all sites.
Подождать несколько минут. Если какой-то сайт не апгрейдится, при наведении мыши на слово “upgrading” можно посмотреть не вызвано ли это ошибкой и исправить права на папку. Или же на сайте нет трафика и крон скрипт поэтому не вызывается. Тогда надо самому зайти на сайт как серфер, чтобы крон запустился.
Такая же ошибка, как у Subaric, только у меня при установке она возникла. __FILE__ у меня показывает верный путь, из-за чего еще может появляцца эта ошибка?
Надо подробней – когда именно возникает ошибка. Стучите в аську 36051319.