Elxis CMS Forum

Extensions => Components => Topic started by: forgetms on January 02, 2008, 16:10:15

Title: Can not install docman
Post by: forgetms on January 02, 2008, 16:10:15
Hi!

I am seeking an simple way to provide visitors download pages. This component looks fine to me but I have no idea how to get com_fserver:

https://www.elxis.org/index.php?option=com_fserver&f=45

Then I noticed that docman might be what I need. I tried to install com_docman4elxis_1.3.zip.

First, docman.xml appears to have been designed exclusively for MySQL because (MySQL's keyword?)

TYPE=MyISAM

are appended to "CREATE TABLE ..." statements. This component can not be installed for PostgreSQL. Then I removed all those "TYPE=MyISAM" and then zip the files as "/tmp/f.zip". Then I tried re-installing /tmp/f.zip. Now the "CREATE TABLE ..." syntax errors are gone. However, I have encountered another error:

Upload component - Failed
File /var/www/elxis/tmpr/install_477b967018a1c/includes_frontend/index.html does not exist!

How do I fix this? Help will be much appreciated!

Thank you in advance!

CN

Title: Re: Can not install docman
Post by: Ivan Trebješanin on January 02, 2008, 20:33:01
Are you using FTP (in Global configuration)?
Title: Re: Can not install docman
Post by: forgetms on January 03, 2008, 14:20:09
Are you using FTP (in Global configuration)?
The bullet "No" is chosen for

Enable FTP:
Title: Re: Can not install docman
Post by: Ivan Trebješanin on January 03, 2008, 14:41:32
I think MyISAM is not of importance here. Tell me your server environment (PHP version, DB version). Also tell me are any new DB tables are created by installer?
Title: Re: Can not install docman
Post by: forgetms on January 03, 2008, 16:10:02
They are:

Debian Etch
php 5.2.0
php5-pgsql
There is no new table created during docman was being installed. The total number of tables and sequences are 63 as shown in the attached files.

[old attachment deleted by admin]
Title: Re: Can not install docman
Post by: forgetms on January 03, 2008, 16:11:43
Also the DB is PostgreSQL 8.3 beta3.
Title: Re: Can not install docman
Post by: datahell on January 03, 2008, 16:45:03
There are some issues with PostgreSQL 8.3 as postgreSQL changed some things.
Elxis 2008 has been fixed in order to support postgreSQL 8.3. Prior to 8.3 PostgreSQL databases are supported without problems even by the 2006.x Elxis.

Docman is not an genuine Elxis extension. It is a fixed version of the mambo's Docman and might does not support other databases other than MySQL.
Title: Re: Can not install docman
Post by: forgetms on January 03, 2008, 18:26:31
There are some issues with PostgreSQL 8.3 as postgreSQL changed some things.
Elxis 2008 has been fixed in order to support postgreSQL 8.3. Prior to 8.3 PostgreSQL databases are supported without problems even by the 2006.x Elxis.

Docman is not an genuine Elxis extension. It is a fixed version of the mambo's Docman and might does not support other databases other than MySQL.

Thank you for the explanation!

I am not sure if this is a compatibility issue only with PostgreSQL 8.3. As in the attached log file, there is no error during the installation after "TYPE=MyISAM" has been removed.
Code: [Select]
Upload component - Failed
File /var/www/elxis/tmpr/install_477d0b4591871/includes_frontend/index.html does not exist!

[old attachment deleted by admin]
Title: Re: Can not install docman
Post by: datahell on January 03, 2008, 18:58:45
If you have install it locally debug it ( $database->_resource->debug = true; or set debug = 1 in global configuration file ) and make corrections on the db queries if needed for PostgreSQL. Sorry, I can not help you more (see the problem by myself) as I am very busy.