Here's what I have:
System - apache - mysql - php
MAMP - 2.0 - 5.0.19 - 5.1.6
Site5 - 1.3.37 - 4.1.21 - 5.2
I'm thinking that the problem is with the apache 1.3. Dev0.1 worked,
though.
The error I get on the instal page is
"Panic! No database connection class appears to be found for the
connection string specified. Please check config.php"
and everything in config.php is correct. Do database tables are
created.
Any ideas?
My test site cr8er.net runs on Site5 without a hitch.
Apache 1.3.37
MySQL 4.1.22
PHP 5.2.1
What's your connection string?
Owen
$db_connection= array(
'connection_string'=>'mysql:host=localhost;dbname=xxx_habari',
'username'=>'xxx_habari',
'password'=>'xxx',
'prefix'=>'habari_'
);
// $locale = '{$locale}';
On Aug 5, 8:49 am, "Owen Winkler" <epit...@gmail.com> wrote:
I posted on your blog, and just noticed that this post says the same thing:
PHP5 is required for Habari. Version 0.1 probably worked before
because you had the required .htaccess directive applied. Maybe you
deleted or overwrote it when you installed 0.2?
The line is:
AddHandler application/x-httpd-php5 .php
And it's documented in the wiki here:
http://wiki.habariproject.org/en/Installation
Hope that helps. Let us know!
Owen
Here's the phpinfo
http://misguidedthoughts.com/habarizone/phpinfo.php
On Aug 9, 6:23 pm, "Owen Winkler" <epit...@gmail.com> wrote:
Hmm. Ok. Well, we can diagnose this error specifically...
The error that you're showing should only ever appear if the database
connection class for the engine that you're using does not exist.
You're using MySQL, so the database connection class that you're using
should be located at:
HABARI_PATH/system/schema/mysql/connection.php
Where HABARI_PATH is the path where Habari's index.php is located. If
this file does exist at this location, then we'll have to dissect the
code a bit.
Around line 68 of /system/classes/databaseconnect.php there is this line:
require_once( HABARI_PATH . "/system/schema/{$engine}/connection.php" );
Which basically does what I said above. We'll need to know what it
thinks the file is, and perhaps what the file contents are. If the
database connection class is not in that file as required, then it
won't be able to create the class or build a connection.
As far as you can get with diagnosing this would be much appreciated.
Owen
An easy way to diagnose this is to replace "require_once" with "die".
That will cause Habari to stop execution at that point, and to output
the string inside the parentheses. In this way, you can both tell
Habari to stop right there, and to show you what it's trying to load.
--
GPG 9CFA4B35 | ski...@skippy.net | http://skippy.net/
http://habari.misguidedthoughts.com show 745 working.
Not sure if your 745 is working as you have only the first page, try
publish few more posts to check if pagination is working. If it's
not then you'll have to do what I did as I mentioned in above thread.
On Aug 12, 2:13 am, silverwing <hodgk...@gmail.com> wrote:
> I couldn't get Dev0.2 working, but I did get svn 745 installed (with
> errors that were reported on the dev list.http://habari.misguidedthoughts.com/745error
> )
>
> http://habari.misguidedthoughts.comshow 745 working.
But, yeah, the pager doesn't work. I'll tackle that later.
Also, I installed a couple of the plugins from the wiki plugin page
and they're not showing up in my admin/plugin page.
On Aug 12, 3:34 am, sfong15 <sfon...@gmail.com> wrote:
> Silverwing, I think I experienced the same see thishttp://groups.google.com/group/habari-dev/browse_frm/thread/528a86585...
>
> Not sure if your 745 is working as you have only the first page, try
> publish few more posts to check if pagination is working. If it's
> not then you'll have to do what I did as I mentioned in above thread.
>
> On Aug 12, 2:13 am, silverwing <hodgk...@gmail.com> wrote:
>
> > I couldn't get Dev0.2 working, but I did get svn 745 installed (with
> > errors that were reported on the dev list.http://habari.misguidedthoughts.com/745error
> > )
>
> >http://habari.misguidedthoughts.comshow745 working.
O:) Carla