install error

niff's picture

Debian sid
FreeSwitch 1.0.4 home build
FB v3
==========
Hi folks,

I have an error in browser I don't understand while trying to install FB3:

Fatal error: Class 'ParseCdrXml' not found in /usr/src/LOCAL/VOIP/FREEPBX/freepbx-v3/modules/cdrxml/libraries/Cdr.php on line 6

AFAIK this file's missing in FB3, but can I override this and go on, or am I stuck?

niff


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

next still failed

niff's picture

Oops, forgot: I use PostgreSQL v.8.4.1-1

I commented out the line in Cdr.php loading the wanted class, but I just got a text page with strange things:

Install failed with errors!

  • SQLSTATE[42703]: Undefined column: 7 ERREUR: la colonne « provider_id » n'existe pas
    LINE 1: ...TE view carrier_gateway AS SELECT trunk_id AS id, provider_i...

    which seems to tell that there's a missing pkey in a table...

    also:
    NOTICE: JS is not enabled, so please click next once and wait for the page to reload.

    which isn't true: JS is activated (iceweasel)

    niff


[SOLVED 1/2] intall is now ok

niff's picture

I cleared all caches and relaunched installation that worked.

The errors were linked to some FP3 modules I checked whereas they were unchecked @ install time :(

niff


Try doing a "svn update" and

haakon's picture

Try doing a "svn update" and running through the install process again. I had an issue with a test install failing a few days back, but when I did an SVN update this morning the issue went away.


As a matter of fact ...

niff's picture

I made a mistake: trying to check all modules I wanted @ installation.
So I made another one, and let FP install what it wanted, then I installed other modules and it worked!

But thanks anyway: that reminds me it is still a beta version that need to be often upgraded :)


You hit it right on the nose

erivard's picture

You hit it right on the nose tadpole, an svn update did the trick after I had spent literally more over 4 hours trying to figure it out.

Cheers,

E. Rivard