Вот что появляется после того как я заинсталил скрипт:
Testing Configurate Data (cfg.cfg)
Found: /server/www !
Found: /server/cgi-bin/admin/data !
Found: /server/cgi-bin/admin/data/comments !
Found: /server/www/img !
Found: /server/www/foto !
Found: /server/cgi-bin/admin/template/include !
Creating DataBase (index.dat, authors.dat)
Created: /server/cgi-bin/admin/data/index.dat
Created: /server/cgi-bin/admin/data/authors.dat
Created: /server/cgi-bin/admin/data/search.dat
Databases Created!
OK!
1) Потом я нажимаю по ссылке чуть ниже ведущая в админ панель.
2) Создаю новую категорию (название:news; описание:news; кл.слова:news; шаблон:tmp-main). И нажимаю по кнопочке Create!
3) Добавляю новую статью (имя,мыло,сайт:Majix; категория:news; заголовок:news). В остальных полях кроме последнего ставлю:news, а последнем вставляю новость весом 3kb. Нажимаю Post!.
4) Первое что я вижу так это динамический адрес к новости (
http://localhost/cgi-bin/view.cgi?cat_id=1&id=1&page=1) - ссылка рабочая.
5) Пытаюсь открыть раздел (
http://localhost/1/index.html) - который указан в левом меню, нажимаю и вижу "Невозможно найти страницу"
6) Дабавляю вторую новость таким же образом, только "Статьи по теме:" - вожу ид первой новости: 1. И нажимаю Post!
7) Просматриваю вторую новость и вижу внизу ссылку на первую, как материал по теме с адресом:
http://localhost/cgi-bin/view.cgi?goto=1 - нажимаю и обратно "Невозможно найти страницу".
Обратно пытаюсь открыть страницу с новостями и обратно без результатно.
9) Редактирование работает, удаление (2-ой новости.) нет (Error: Error! Key 1 not exists! GET_DATA failed! at D:/server/cgi-bin/admin/admin.cgi line 865 ). Хотя первая новость удаляется, а вторая все равно не удаляется.
10) Всё остальное вроди бы как работает, и если б не эти глюки, то у меня остались бы хорошие впечатления о движке, хотя если дело не внем а во мне (наверно я совсем ослеп или ступил в каком-то месте), то в это нехорошее впечатление перенесется на меня.
Буду рад если укажите в чем проблема.
///// CFG файл который я редактировал ///
D:/server/
D:/server/Apache2/
D:/server/cgi-bin/
D:/server/Perl/
D:/server/php4/
D:/server/www/
D:/server/zend_optimizer/
-----------------------------------------
#...................................................................#
# 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=\'Game-Expert.net.ru - Игровой портал\';
$site_title=\'Game-Expert.net.ru - Игровой портал\';
#Not Found Page - visitors view this page if required page not found
#Example: $not_found=\'
http://localhost/404.html\';#You must create this page - script only redirect to it, not create!
$not_found=\'
http://localhost/404.html\';#URL Your WebLoG Main Index Page
#Example: $index_url=\'
http://localhost/index.html\';$index_url=\'
http://localhost/index.html\';#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=\'game-expert@mail.ru\';
$admin_mail=\'game-expert@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=\'html\';
$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=0;
#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=0;
#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=1;
#Number of article\'s previews per index pages
#Our recommendations: 10-15
#Example: $entry_per_page=10;
$entry_per_page=10;
#Number of comments per page
#Our recommendations: 15-20
#Example: $coms_per_page=15;
$coms_per_page=15;
#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=0;
# 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=0;
#_____________________
#____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=5;
#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=\'/server/www\';
# $public_url=\'
http://localhost\';
$public_dir=\'/server/www\';
$public_url=\'
http://localhost\';
# 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/admin\';
# Other Files: view.cgi, comments.cgi input in top dir or something else (eq into: /server/cgi-bin/admin)
$dir=\'/server/cgi-bin/admin\';
#view.cgi url
#Example: $view_cgi_url=\'
http://localhost/cgi-bin/view.cgi\';$view_cgi_url=\'
http://localhost/cgi-bin/view.cgi\';#admin.cgi URL
#Example: $script_admin=\'
http://localhost/cgi-bin/admin/admin.cgi\';$script_admin=\'
http://localhost/cgi-bin/admin/admin.cgi\';#com_admin.cgi URL:
#Example: $comadmin_cgi_url=\'
http://localhost/cgi-bin/admin/com_admin.cgi\';$comadmin_cgi_url=\'
http://localhost/cgi-bin/admin/com_admin.cgi\';#comments.cgi URL:
#Example: $comment_url=\'
http://localhost/cgi-bin/comments.cgi\';$comment_url=\'
http://localhost/cgi-bin/comments.cgi\';#upload.cgi URL:
#Example:
$upload_url=\'
http://localhost/cgi-bin/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;