Freeside Problems

Webmaster wizkid at wizkid.org
Tue May 4 12:09:58 PDT 1999


I am using Perl 5.005_03 without problems... All i know i did have to edit
( i don't think it had to do with anything, but i disliked the trailing
slashes in the files it did so i edited the UID.pm file to remove the line
from their...)

on line 22 i changed the following:
$conf_dir = "/usr/local/etc/freeside/";
to
$conf_dir = "/usr/local/etc/freeside";
... since all file calls add a '/' between file/directories...

But that does not cause the error to appear...

Here is how i set up the system..

-- I Removed the old freeside system ( i had the origional installed ), i
kept MySQL & the database though.
-- I moved the old per installation to some other directory (this is
because the DBI package gave me headaches when trying to upgrade perl from
5.003 - 5.005)
-- I then installed all the Perl Packages (all freshly unpackaged &
installed) this was some of the old binaries are not compatibe witht the
new 5.005_03!!!
-- I then installed freeside (the new ver 1.2.1)
-- Created mapsecrets, and other conf files...
-- Ran the database upgrade.
-- All ok now...

Here is a Perl -V from my running version (incase that may be a problem)

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.0.30, archname=i586-linux
    uname='linux sys1 2.0.30 #3 tue aug 11 16:07:24 gmt 1998 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O2', gccversion=2.7.2.3
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /shlib /lib /usr/lib
    libs=-lndbm -lgdbm -ldbm -ldb -ldl -lm -lc
    libc=/lib/libc.so.5.4.33, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/i586-linux/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Apr 18 1999 01:30:19
  @INC:
    /usr/lib/perl5/i586-linux
    /usr/lib/perl5
    /usr/lib/perl5/site_perl/i586-linux
    /usr/lib/perl5/site_perl



At 12:16 PM 5/4/99 , you wrote:
>
>Hi,
>
>Conf::config is being called from UID.pm Line 224.
>
>I have hardcoded my datasource, username, password into this script and
>then I get passed that.
>
>I then hit 
>SOFTWARE ERROR
>Illegal line in /usr/local/etc/freeside//conf.DBI:mysql:freeside/shells
>/bin/csh /bin/sh /bin/bash 
>
>
>This indicates the the problem is DEFINETLY related to the Newer versions
>of perl. 
>
>Is anyone Successfully using Freeside with Perl version 5.005 or Greater?
>
>Conf.pm needs to be modified to work under perl5.00502 but I do not know
>how to do it.
>
>Regards
>Andrew
>
>On Tue, 4 May 1999, Joel Griffiths wrote:
>
>> On Tue, 04 May 1999, you wrote:
>> > Hi,
>> > 
>> > Have you managed to resolve the problems you have been having. 
>> No. I haven't had time to work on it. I imagine the problem is pretty 
>simple to
>> solve though. I just need to find a little time to work on it.
>> 
>> > I have the same version of perl that you have and I get the SAME error
>> > messages.
>> It's nice to know I wasn't imagining anything. If you know Perl, I am pretty
>> certain that the problem lies in the Conf.pm file. I will have a look at the
>> scripts this week to see if I can find the exact problem.
>> 
>> >From what I have had time to do, it appears that the config subroutine of
>> Conf::config returns the entire file despite carriage returns (as defined by
>> Perl) and Freeside is really expecting it to return some sort of 
>seperation. I
>> think I need to find where the call to Conf::config is coming from before 
>I can
>> do anything. Like I said, I hope to have some time this week to look at it.
>> 
>> > This indicates to me that the scripts are
>> not compatible with the > version of perl we are using. >  > Regards
>> That's what I thought.
>> 
>> 
>> > Andrew
>> > 
>> > --
>> > 
>-----------------------------------------------------------------------------
>> > 
>> > Andrew Cameron
>> > Internet:  andrew at ibi.co.za
>> > Internet:  apcameron at intch.co.za
>> > 
>> > 
>-----------------------------------------------------------------------------
>> 
>
>-----------------------------------------------------------------------------
>
>Andrew Cameron
>Internet:  andrew at ibi.co.za
>Internet:  apcameron at intch.co.za
>
>-----------------------------------------------------------------------------
>

-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
 W W W . W i Z K i D . O R G  -  A new look on web hosting & internet services
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
             Suggestion, comments, help, money, anything, email me! 
                  webmaster at wizkid.org or wizkid at wizkid.org
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-

           This site is powered by Cisco, Intel, and Linux Products!
	        -- Where we use ONLY the best! No second Class! --
    Site hosted by Integra-NET internet Services, a leader in networking
       for schools, businesses and homes in the Philadelphia, PA area!
   For internet Service (from 33.6 K through Full T1) Call or Email today!
  Phone: (215) 338-7759  Fax: (215) 338-3633  Email: root at integra-net.com

   This AD had been placed by the owner of wizkid.org freely with out any
                 request or intervention from integra-net.com! 



More information about the freeside-users mailing list