Forum Moderators: coopster & phranque

Message Too Old, No Replies

Collective v3 Alpha 1

         

Brett_Tabke

1:33 pm on Jul 31, 2000 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I've uploaded a early version of the Collective v3 Alpha 1. Everything works but the Submission Scheduling. The main purpose of this is to test the new installation setup. I've streamlined it and it should be simple. I wouldn't install this version over a previous version (start fresh).

Again, this is beta/alpha quality software and not intended for general release. There will be no support with this version. I am mainly interested in Installation feedback to assure installation is as easy as possible.

The following install notes are in the gfx-help directory and I see I forgot to up the version number in the install notes file (it really is v3).
Download Alpha 1 [searchengineworld.com].

Install notes:
----------------
Installing The Collective v3

By Brett Tabke

[searchengineworld.com...]

System Requirements:
--------------------
o Perl 5 (any flavor, any platform).
o Module Libwww (included with latest perl packages).
o Two writeable directories.
o The script must live on a web server. (not callable from command line).
- all communication to/from the script is done via a browser.

o (note: The Collective can be run from a local box, as it was
developed under Win95 with Apache web server running locally.


Files Included:
---------------
In the main directory:
"collective.cgi" the main program.
"engine.ini" search engine definition file.

"common.lib" common routines.
"config.lib" config related library routines.
"db.lib" manages the databases.
"batch.lib" batch submission mode library.
"cal.lib" calendar library.
"kwda.lib" keyword density analyzer library.
"sedefine.lib" parses the engine.ini file.
"submit.lib" library process for search engine submission.

In the \gfx-help\ directory:
"collective.jpg" logo graphic.
"sew.gif" gif file for sew button.
"help.htm" help file.
"install.txt" this file.
"version.txt" collective revision history.
"arrow.gif" used by keyword density analyzer.

(There may be other *.lib files present).


Installation
------------
Dezip the files and maintain the directory structure. Check the
first line of the collective.cgi perl script and change the path of
the shabang line to point to your Perl interpreter. The default is

#!usr/bin/perl.

There should be no mandatory configuration other than the shabang
line. However; in the top part of the main "collective.cgi"
script, there are some variables available for those that know
about such things. See documentation there if you are having any
difficulties getting The Collective up and running.

Create a directory in your cgi-bin to hold The Collective
on your web server.

Upload the main directory of files to your webserver. All files except
the graphics files (.gif/.jpg) should be uploaded in ASCII text mode.

Create the "data" and "temp" directories and set the permissions for
the following files to 755:

"collective.cgi"
".lib" files
"data" and "temp" directories.

Move the "gfx-help" directory and files to a location that is
accessible from the web. (most people are unable to access html and
graphic files from their cgi-bin directory). Remember to make the
$html_dir edited above reflect where you place the gfx-help
directory.

There are now two files distributed in the Zip that go in the /data
directory. One is is the database serial number. Upgraders should
not upload this file. The second file is the main Collective Configuration
file and it SHOULD be uploaded into the data directory.

After running, you will now be prompted for a user name and password.

The default user is "admin" and password is also "admin".

Call the main script for the first time from the browser,
"http://www.yourdomainhere.com/cgi-bin/collective.cgi"

At the bottom left line of the main screen is the option "configure".
Select configure. (see main html help file for configure help).

Danielle

10:43 am on Aug 2, 2000 (gmt 0)

10+ Year Member



Installed fine here in about 2 minutes.... Except the data and temp dir had to be 666

Also the path to the graphics had to be manually set.

Sun Sparc running System V

Hugs,
Danielle

Danielle

11:09 am on Aug 2, 2000 (gmt 0)

10+ Year Member



More info.....

Submitting a single URL.....

All went well except the following....

Altavista..... Success page has changed so got a 200 error...

Anzwers...... Got an error ... You can't submit from this domain. Looks like they are only taking submissions from there .au domain. So got a 200 error.

Hugs,
Danielle

Edited by: Danielle

Edited by: Danielle

Brett_Tabke

12:22 pm on Aug 2, 2000 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Ok, thanks Danielle. I see I used the search engine ini file from the last release and not an updated one. Answers should also be failing and Fast was not included.

The 666 permissions sounds like something local. Not sure what I should say in the docs on that one.

DaveAtIFG

6:37 am on Aug 7, 2000 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Brett

I've been fooling with the durn thing all day and still can't get it running!

When I call the script from www.mydomain.com/cgi-bin/collective.cgi, I expect to see and do see a logon screen. I enter admin/admin and I get 403s with every combo of 777, 775,770, and 755 I try on the data and temp dir and the files in the data dir. It does create an action.dat file in the data dir before the 403 with any of the above permissions.

I tried 666 permissions as Danielle suggested and get no logon, straight to the configure screen and errors which look like this:

Configuration File:

/home/www/mydomain/cgi-bin/collective/data/collective_config.lib


# The Collective v3.00 Alpha 1

$default_email = 'billgates@borg.com';
$html_dir = "gfx-help/";
$duserid = "admin";
$dpassword = "azznAia9Jdr4s";
$trackusers = "Yes";
$trackactions = "100";
$default{"Altavistadefault"} = "checked";
$default{"Anzwersdefault"} = "checked";
$default{"Canada.comdefault"} = "checked";
$default{"Excitedefault"} = "checked";
$default{"Googledefault"} = "checked";
$default{"HotBotdefault"} = "checked";
$default{"Lycosdefault"} = "checked";
$default{"Northern Lightdefault"} = "checked";
$default{"WebCrawlerdefault"} = "checked";


1;

File Error!

(err #2b): The server or script encountered an error while trying to access
/home/www/mydomain/cgi-bin/collective/data/collective_config.lib !Either the directory or file
doesn't exist, or its permissions are set incorrectly.


There was a problem creating the configuration file:
/home/www/mydomain/cgi-bin/collective/data/collective_config.lib
Check to see that the permissions on the data directory are set to (755 or 750).
Also check the "data directory" line near the top of the main collective script to see that it points at the
collective data directory.

Help!

DaveAtIFG

6:43 am on Aug 7, 2000 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Couldn't do an edit on my last post either... I'm calling the script using [mydomain.com...] as I should, not as indicated in the last post.

Brett_Tabke

2:12 pm on Aug 7, 2000 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hmm. I'm at a lost to know what the problem is Dave. If this is your site on westhost here, I know it works default (I've installed it on half a dozen of their boxes). I'm wondering if your Config directory itself has bad permissions? Try setting the directory itself to full permissions 777. And then the config file to 755.

And (just to double check), you don't have something left over from one of the previous versions?

I appreciate the feedback.

DaveAtIFG

6:32 pm on Aug 7, 2000 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey Brett

It's a fresh install, been waiting for version 3 and Dump Truckin'. Started over this morning, deleted everything and reupped, same results. Tried permissions as you suggested and got 403 and no login. With 775 on collective dir (config dir?) and 755 on .cgi and all .lib files I get to login screen but 403s when I hit login as mentioned in earlier email.

It's a second westhost domain with plenty of free space.
I'll provide address/login/pw by email if you want to look...

FWIW, when I try to run the demo from SEW at [searchengineworld.com...]
I get the login screen, then a 403 there also...

Greg

6:20 pm on Aug 15, 2000 (gmt 0)

10+ Year Member



Brett,
Do you know what file makes the html for the login screen? I think the problem might be that the form uses post when it might work with get. Just thinking.

WordSmith

1:00 pm on Sep 4, 2000 (gmt 0)



Just had to tell you, this is one fabbo biffo piece of software.
I was having huge problems with the first version I installed, came here for info and found the new install. Worked straight off, extra features even, really good submitter. A very straghtforward install, easiest cgi ever. Only problem is the graphics still point to gfx help in my cgi bin, not the path I entered in configuration. Minor problem tho.
I checked the Altavista (error 200)by hand and it seems to succeed, but returns an error to the submitter. I have had the same problem on lots of other submitters lately too.