Gossamer Forum
Home : Products : DBMan : Discussions :

DBConcatenate

Quote Reply
DBConcatenate
Hi,



I have been using this script for awhile now, to gather record stats on my database. Recently my ISP changed our script paths, however, and since I have not been able to get it to work.

Below is the .cfg ...

#

# The column name for the database key. Can be any column, but it must be unique!

# You can't have two records with the same key value!

$db_key = 'ID';

# Database delimeter.

$db_delim = '|';

# Use file locking (1 = Yes, 0 = No). Should be used, but won't work on Win95.

$db_use_flock = 1;

# variables for databases

$db_script_path = "/x/x/x/x/x/x/x/x";

$db_path = "/x/x/x/x/x/x/x/x";

$combine_db = "/x/x/x/x/x/x/x/x/combine.db";

$URL_db = "/x/x/x/x/x/x/x/x/clicky2.log";

$counter_dir = "/x/x/x/x/x/x/x/x/temp2";

$form_db = "/x/x/x/x/x/x/x/x/formresults.bout";



# add your DBMan databases here using a push command for each

# push(@dbman_db ,$db_path . "/data2.db");push(@dbman_db ,$db_path . "/data3.db");

push(@dbman_db ,"/x/x/x/x/x/x/x/x/accommodation.db");


Now I guarantee that the paths are all correct, but when running the script via telnet, I get "No such file or directory at ./combineaccom.pl line 41.

Below is a snippet of the .pl script ....

require "combineaccom.cfg";

use Fcntl;

use File::Find;

# Build new record

open (COMBINE,">$combine_db") || die $!; <<------------- This is line 41

foreach $db (@dbman_db) {

Again, it is definately not the paths as I have checked them a million times.



Can anyone help?

Subject Author Views Date
Thread DBConcatenate Palemo 3282 Sep 1, 2002, 6:12 PM
Post Re: [Palemo] DBConcatenate
jadey 3068 Nov 7, 2002, 8:07 AM
Post Re: [Palemo] DBConcatenate
LoisC 3062 Nov 7, 2002, 10:24 AM