Автор Тема: Помогите установить Скрипт, на сайт http://test001sa.hut1.ru/  (Прочитано 6060 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн AnatolZE

  • Заглянувший
  • Новичок
  • *
  • Сообщений: 2
  • +0/-0
  • 0
    • Просмотр профиля
    • http://
Помогите установить Скрипт, на сайт типа http://test001sa.hut1.ru/
Все вроде скопировал...Директории все есть...
Скрипты не открывает просто а перекидывается на сайт знакомств!!!
Счас выложу

#...................................................................#
# Sanitarium WebLoG: web publish system.............................#
# Author: Green Kakadu (WebScript.Ru Network) ......................#
# Email: gnezdo@webscript.ru .......................................#
# WWW: http://webscript.ru .........................................#
# Copyright 2002 WebScript.Ru Network ( http://webscript.ru ).......#
# All Rights Reserved. .............................................#
#...................................................................#


#_____________________
#_____ABOUT YOUR SITE:

#Site name, eq $site_title=\'Сайт anatolZe\';
$site_title=\'Статьи\';

#Not Found Page - visitors view this page if required page not found
#Example: $not_found=\'http://webscript.ru/404.html\';
#You must create this page - script only redirect to it, not create!
$not_found=\'http://test001sa.hut1.ru/404.html\';

#URL Your WebLoG Main Index Page
#Example: $index_url=\'http://webscript.ru/sanitarium\';
$index_url=\'http://test001sa.hut1.ru/www\';

#Sendmail - ask your hosting-provider
#Most popular sendmail paths: /usr/lib/sendmail, /usr/sbin/sendmail
$SEND_MAIL=\'/usr/sbin/sendmail\';

#Administrator E-mail address
#Example: $admin_mail=\'mymail@site.com\';
$admin_mail=\'anatolze@mail.ru\';#! Change this!

#______________________________________________
#____SANITARIUM BUILD/POSTING/COMMENTS OPTIONS:

# The extension to use for your pages:
# html, htm, shtml, php - only small letters!
#Example: $ext=\'htm\';
$ext=\'html\';

# The name of an index file (with extention!)
# Tip: using small letters!
#Example: $index_page=\'index.html\'; (or: \'index.shtml\', \'main.html\', \'index.php\')
$index_page=\'index.html\';

#Generate Static pages or generate dynamically
#Our recommendations  Static Pages, it minimizes your server busy
# Use static pages: $static_pages=1;
# Use dynamic generate pages: $static_pages=0;
$static_pages=1;

#Using emoticons?
# On: $use_emoticons=1;
# If On, emoticons like :) :-) :-( replacing to special images - very pretty!
$use_emoticons=1;

#AutoLink Option?
# If On ($autolink=1;) then text http://webscript.ru in article text
# will be replaced by href: http://webscript.ru" target=_blank>webscript.ru
#WARNING: you must cerefull with this option!
$autolink=1;

#Using Quick HTML Tools?
#Our recomendations: On ($qhtml=1;)
#Adding HTML in articles more simple now!
$qhtml=1;

#Using Fozzy Code Snippets? (add-on from Fozzy the Bear)
# JavaScript Tables Generator (for article content) and image inserpt with caption
#Our recomendations: As you Like (Green Kakadu: Fozzy - CoooL Bear!)
$fozzy=0;

#Number of article\'s previews per index pages
#Our recommendations: 10-15
#Example: $entry_per_page=10;
$entry_per_page=15;

#Number of comments per page
#Our recommendations: 15-20
#Example: $coms_per_page=15;
$coms_per_page=10;

#Premoderate comments?
#If On, all new comments publish after admin validation
#If Off, new comments publish immediately
#Our recommendations: On
# On: $premoderate=1;
# Off: $premoderate=0;
$premoderate=0;
#Emailing about new comments post?
$send_new_comments=1;

# You  need to use flock(). If your system doesn\'t support it, Win95/Win98,
# then off this at your own risk!
#Our recommendations: On !!!!
# On: $use_flock=1; Use it!
# Off: $use_flock=0;
$use_flock=1;

#Allow Public searching?
#Size special index database ~20% of your all entires!
#Our recommendations: as you like
#Example: $use_search=1;
$use_search=1;

#_____________________
#____TIME OPTIONS:

#Time localization:
# Example:
# $GMT=\'+3\'; Moscow
# $GMT=\'-9\'; New York
# and so...
# $GMT=\'\'; GMT
$GMT=\'+3\';

#Time format:
#$time_view=1; time format: dd/mm/yyyy (by default)
#$time_view=2; time format: dd MON yyyy
#$time_view=3; time format: WEEKDAY DAY MON yyyy
#$time_view=4; time format: WDAY DAY NON yyyy hour:min:sec
#$time_view=5; time format: dd.mm.yyyy
#$time_view=6; time format: mm.dd.yyyy
$time_view=1;

#______________________________
#_______RSS - Rich Summary Site

#Our recommendations: 5-10
#Example: $how_news=7;
$how_news=10;

#Build in .txt files?
#In this case news will be print into *.js (JavaScript) files, and
# *.txt (for SSI or PHP include) files
#Our recomendations: on, if you like SSI or PHP
$txt_news=0;
#_______________________________
#____SANITARIUM PATHs AND URLs:


# Public PATH and URL of Pages (and weblog index page) to be built. No Trailing Slash.
#Example:
# $public_dir=\'/HTTP/www/public_html/ezine\';
# $public_url=\'http://webscript.ru/ezine\';

$public_dir=\'/HTTP/www/www\';
$public_url=\'http://test001sa.hut1.ru/www\';

# PATH and URL of Admin CGI directory. No Trailing Slash.
#Store there: admin.cgi, Sanitarium_WL.pm, cfg.cfg, Comment_WL, upload.cgi, lang.pl
# com_admin.cgi and script data.
#Example:
#$dir=\'/HTTP/www/cgi-bin/sanitarium/admin\';
# Other Files: view.cgi, comments.cgi input in top dir or something else (eq into: /HTTP/www/cgi-bin/sanitarium)
$dir=\'/HTTP/www/cgi/admin\';

#view.cgi url
#Example: $view_cgi_url=\'http://webscript.ru/cgi-bin/2log/view.cgi\';
$view_cgi_url=\'http://test001sa.hut1.ru/cqi/view.cgi\';

#admin.cgi URL
#Example: $script_admin=\'http://webscript.ru/cgi-bin/sanitarium/admin/admin.cgi\';
$script_admin=\'http://test001sa.hut1.ru/cqi/admin/admin.cgi\';

#com_admin.cgi URL:
#Example: $comadmin_cgi_url=\'http://webscript.ru/cgi-bin/sanitarium/admin/com_admin.cgi\';
$comadmin_cgi_url=\'http://test001sa.hut1.ru/cqi/com_admin.cgi\';

#comments.cgi URL:
#Example: $comment_url=\'http://webscript.ru/cgi-bin/sanitarium/comments.cgi\';
$comment_url=\'http://test001sa.hut1.ru/cqi/comments.cgi\';

#upload.cgi URL:
#Example:
$upload_url=\'http://test001sa.hut1.ru/cqi/admin/upload.cgi\';



###########################################################
# OTHER Non-interesting (or interesting?) for you options:
$data=$dir.\'/data\';#path to dir with script BDs
$tmpl_dir=$dir.\'/template\';   #path to dir with templates
$img_url=$public_url.\'/img\'; #Url to dir with uploaded images
$img_dir=$public_dir.\'/img\'; #Path to dir for file uploading
$foto_url=$public_url.\'/foto\';#Url to authors foto\'s dir
$foto_dir=$public_dir.\'/foto\';#Path to author\'s foto dir
$mail_cgi_url=$view_cgi_url;#Script Url for email articles
#END CONFIG

1;
Вот такая ботва ребята
А может на Хостинге HUT не стоит DB_File.
Порекомендуйте рабочий хостинг! Хочу потренироваться а потом уже и куплю платный...

Оффлайн Green Kakadu

  • Координатор
  • Глобальный модератор
  • Ветеран
  • *****
  • Сообщений: 2757
  • +1/-0
  • 0
    • Просмотр профиля
    • http://gnezdo.webscript.ru
Цитировать
AnatolZE:
А может на Хостинге HUT не стоит DB_File.

все там стоит, я года три назад сам ставил.
пути повнимательнее проверь, потому как:
Цитировать
AnatolZE:
$dir=\'/HTTP/www/cgi/admin\';

мне не кажутся правдоподобными :)
 в исканиях.

Оффлайн AnatolZE

  • Заглянувший
  • Новичок
  • *
  • Сообщений: 2
  • +0/-0
  • 0
    • Просмотр профиля
    • http://
Счас погляжус...

Оффлайн Fq

  • Заглянувший
  • Новичок
  • *
  • Сообщений: 1
  • +0/-0
  • 0
    • Просмотр профиля
    • http://
а у менея такая проблема
открываю сетап
и пишет
Testing Configurate Data (cfg.cfg)
NOT Found: /home/n/nowwwosti.h15.ru!
Creating /home/n/nowwwosti.h15.ru ...Content-type: text/html
Software error:
Can not creating  /home/n/nowwwosti.h15.ru, reason No such file or directory
 at setup.cgi line 36.
For help, please send mail to the webmaster (webmaster@nowwwosti.h15.ru), giving this error message and the time and date of the error.

вроде все правильно поставил


$public_dir=\' /home/n/nowwwosti.h15.ru\';
$public_url=\'http://nowwwosti.h15.ru\';
подскажите пжлст

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28