Well, initial testing seems to indicate something appears to be calling
"DB::table()" before the "DB::instance()->connection" object has been
created, though I've not been able to identify what yet.

Changing the table() function in db.php to the following:

---
    public static function table( $name )
    {
        if ( NULL == DB::instance()->connection ) {
            return TRUE;
        }
        return DB::instance()->connection->table( $name );
    }
---

... seems to allow things to continue and work, however I've not tested much
more than attempting to insert a couple of posts and comments.

Maybe someone with a bit more knowledge of this part of the code could
comment.

I'll keep looking into this tomorrow.

HTH,
Colin

On Thu, Nov 27, 2008 at 3:47 PM, Colin <[EMAIL PROTECTED]> wrote:

> Oh yes, my testing is on a standalone Solaris system that is already
> running an instance of Habari that was installed quite some time ago, not
> the MT server.
>
> Will let you know how I get on.
>
>
>
> On Thu, Nov 27, 2008 at 3:10 PM, Colin <[EMAIL PROTECTED]> wrote:
>
>> I've just attempted a new install of Habari using the latest SVN code and
>> I've encountered the same issue.
>>
>> I'll do some digging and see what I come up with.
>>
>>
>>
>>
>> On Thu, Nov 27, 2008 at 2:23 AM, Matt Read <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> Try getting the latest version from SVN. the installer was broken a
>>> couple of revisions ago.
>>>
>>> On Wed, Nov 26, 2008 at 8:35 PM, D'alessandro <[EMAIL PROTECTED]>
>>> wrote:
>>> >
>>> > On Nov 26, 6:29 pm, "Michael Harris" <[EMAIL PROTECTED]>
>>> > wrote:
>>> >> 2008/11/27 D'alessandro <[EMAIL PROTECTED]>:
>>> >
>>> >> > On Nov 26, 6:02 pm, "Michael Harris" wrote:
>>> >>
>>> >> >> Habari doesn't show SQLite as an option ? Odd. Sure, try with
>>> MySQL.
>>> >>
>>> >> > Well the thing is i do not even get to the installer screen... i get
>>> >> > that error i mentioned in my first post.
>>> >>
>>> >> My mistake, I thought this was after you were trying to install.
>>> >
>>> > No worries, i got carried away too.
>>> >
>>> >> > I did setup a postgreSQL and a MySQL on my server but like i said i
>>> >> > can't even get to the installer screen for habari when i go to my
>>> >> > install place. So i can't do anything... alredy tried to to the
>>> >> > checkout again and i get the same thing.
>>> >>
>>> >> If you don't even get to the installer, Habari doesn't know anything
>>> >> about your databases. I'm stumped for the moment, I'm afraid.
>>> >
>>> > Yeah i have seen the installer screen and i know that you pick your db
>>> > etc there, so yeah i guess the db type at the moment is not the issue.
>>> >
>>> >> Is this a completely fresh install ? Do you have a config.php file
>>> already ?
>>> >
>>> > Completely fresh. No config file.
>>> >
>>> > --
>>> > D
>>> > >
>>> >
>>>
>>>
>>>
>>> --
>>> Matt Read
>>> http://mattread.com
>>>
>>> >>>
>>>
>>
>>
>> --
>> Colin Seymour
>> Blog: http://www.colinseymour.co.uk
>> Tech Stuff: http://www.lildude.co.uk
>>
>>
>
>
> --
> Colin Seymour
> Blog: http://www.colinseymour.co.uk
> Tech Stuff: http://www.lildude.co.uk
>
>


-- 
Colin Seymour
Blog: http://www.colinseymour.co.uk
Tech Stuff: http://www.lildude.co.uk

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to