Habari install database setup

29 views
Skip to first unread message

avdmeers

unread,
Apr 25, 2011, 11:00:33 AM4/25/11
to habari-users
Hi,

For a while I've been stuck at the database setup for Habari. Details:

- The database has been setup (MySQL), a database has been made and
access given to a user with all the required privileges.

- The rewrite_module is loaded and working.

- The specific error I get is:
--------------------------------------------
Installation Issue

The installer couldn't verify your settings, possibly because your
server is not correctly configured. See the manual for information on
how to correct this problem, or continue without database
verification.
Server Response

Object not found! */--> Object not found! The requested URL was not
found on this server. The link on the referring page seems to be wrong
or outdated. Please inform the author of that page about the error. If
you think this is a server error, please contact the webmaster. Error
404 localhost Mon Apr 25 16:51:58 2011 Apache
-------------------------------------------

The relevant parts of my httpd.conf file:
-------------------------------------------
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>

<Directory /srv/http>
Options Indexes FollowSymLinks Includes
AllowOverride FileInfo
Order allow,deny
Allow from all

</Directory>

# Habari .htaccess
<Directory /srv/http/blog>
AllowOverride FileInfo
</Directory>

<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
-------------------------------------------

My php.ini file extensions being loaded:
-------------------------------------------
;extension=bcmath.so
;extension=bz2.so
;extension=calendar.so
;extension=curl.so
;extension=dba.so
;extension=enchant.so
;extension=exif.so
;extension=ftp.so
extension=gd.so
extension=gettext.so
;extension=gmp.so
extension=iconv.so
;extension=imap.so
;extension=intl.so
extension=json.so
extension=mhash.so
;extension=ldap.so
extension=mcrypt.so
;extension=mssql.so
extension=mysqli.so
extension=mysql.so
;extension=odbc.so
;extension=openssl.so
extension=pdo_mysql.so
;extension=pdo_odbc.so
;extension=pdo_pgsql.so
;extension=pdo_sqlite.so
;extension=pgsql.so
;extension=phar.so
;extension=posix.so
;extension=pspell.so
;extension=shmop.so
;extension=snmp.so
;extension=soap.so
;extension=sockets.so
;extension=sqlite3.so
;extension=sqlite.so
;extension=sysvmsg.so
;extension=sysvsem.so
;extension=sysvshm.so
;extension=tidy.so
extension=xmlrpc.so
;extension=xsl.so
;extension=zip.so
extension=zlib.so
-------------------------------------------

ls -l for blog root directory:
-------------------------------------------
drwxr-xrwx 6 http http 4096 Apr 24 12:59 .
drwxr-xr-x 4 root root 4096 Apr 24 13:28 ..
-rw-r--rw- 1 http http 0 Apr 24 12:57 config.php
drwxr-xr-x 4 root root 4096 Apr 24 12:59 doc
-rw-r--rw- 1 http http 283 Apr 24 12:57 .htaccess
-rw-r--r-- 1 root root 421 Apr 24 12:59 index.php
-rw-r--r-- 1 root root 11358 Apr 24 12:59 LICENCE
-rw-r--r-- 1 root root 1031 Apr 24 12:59 NOTICE
drwxr-xr-x 6 root root 4096 Apr 24 12:59 .svn
drwxr-xr-x 12 root root 4096 Apr 24 12:59 system
drwxr-xr-x 9 root root 4096 Apr 24 12:59 user
-------------------------------------------

ls -l for blog/user:
-------------------------------------------
drwxr-xrwx 3 http http 4096 Apr 24 12:59 cache
drwxr-xr-x 3 root root 4096 Apr 24 12:59 classes
drwxr-xrwx 2 http http 4096 Apr 24 12:59 files
-rw-r--r-- 1 root root 0 Apr 24 12:59 index.html
drwxr-xr-x 3 root root 4096 Apr 24 12:59 locale
drwxr-xr-x 3 root root 4096 Apr 24 12:59 plugins
drwxr-xr-x 6 root root 4096 Apr 24 12:59 .svn
drwxr-xr-x 3 root root 4096 Apr 24 12:59 themes
-------------------------------------------

All help is appreciated, since I'm hopelessly stuck for the moment.
Thanks in advance.

edacsac

unread,
Apr 26, 2011, 12:26:28 PM4/26/11
to habari-users
I was stuck in the same spot for quite awhile. On the Habari
installation page there is a section about "My .htaccess file wasn't
written!". I copy/pasted the the following into my .htaccess file and
was on my way. Hope it works for you as well.

### HABARI START
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /
RewriteRule . index.php [PT]
RewriteRule ^(system/(classes|locale|schema|$)) index.php [PT]
### HABARI END

avdmeers

unread,
Apr 26, 2011, 8:47:01 PM4/26/11
to habari-users
Thanks, but it doesn't seem to do the trick, the .htaccess was already
configured. When I press "check database connection" after giving the
database info, it seems to overwrite the .htaccess file to the usual:

### HABARI START
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteBase /blog
RewriteRule . index.php [PT]
RewriteRule ^(system/(classes|handlers|locale|schema|$)) index.php
[PT]
### HABARI END

avdmeers

unread,
Apr 27, 2011, 4:58:35 PM4/27/11
to habari-users
Solved, when installing Habari, I used the svn repository to get the
latest files, when I went to download the official 0.7 archive on
habariproject I got to install it.

rick c

unread,
Apr 27, 2011, 8:54:55 PM4/27/11
to habari-users
This issue may have been fixed for svn checkouts with r5101 (
http://trac.habariproject.org/habari/changeset/5101 ).

Rick
Reply all
Reply to author
Forward
0 new messages