Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 multiple installation problems

v1.0_(example)
open
nobody
5
2010-03-26
2010-03-26
cjohann
No

multiple problems with this installation, despite spending 6 hours struggling with it today.

Debian Lenny, postgres 8.3, php5, apache2

On the first login, admin/admin, the following error:

Warning: pg_query() [function.pg-query]: Query failed: ERROR: set-valued function called in context that cannot accept a set CONTEXT: PL/pgSQL function "get_all_pathnames" line 14 at RETURN NEXT in /var/www/docmgr/lib/pgsql.php on line 94
#0 POSTGRESQL->fetch(SELECT docmgr.get_all_pathnames('2') AS objpath;, 1) called at [/var/www/docmgr/apilib/lib/docmgr.php:411] #1 DOCMGR->objectAllPaths() called at [/var/www/docmgr/apilib/lib/docmgr.php:615] #2 DOCMGR->showCommon() called at [/var/www/docmgr/apilib/request.php:87] #3 include(/var/www/docmgr/apilib/request.php) called at [/var/www/docmgr/lib/misc.php:422] #4 callAPI(Array ([command] => docmgr_object_save,[object_type] => collection,[parent_path] => /Users,[name] => admin,[mkdir] => 1,[noinherit] => 1,[private] => 1,[protected] => 1)) called at [/var/www/docmgr/app/common-docmgr.php:26] #5 callDocmgr(Array ([command] => docmgr_object_save,[object_type] => collection,[parent_path] => /Users,[name] => admin,[mkdir] => 1,[noinherit] => 1,[private] => 1,[protected] => 1)) called at [/var/www/docmgr/app/firstlogin.php:52] #6 checkDocmgr() called at [/var/www/docmgr/app/common-docmgr.php:309] #7 checkSetup() called at [/var/www/docmgr/app/postauth.inc.php:5] #8 include(/var/www/docmgr/app/postauth.inc.php) called at [/var/www/docmgr/index.php:63]
Warning: pg_query() [function.pg-query]: Query failed: ERROR: set-valued function called in context that cannot accept a set CONTEXT: PL/pgSQL function "get_all_pathnames" line 14 at RETURN NEXT in /var/www/docmgr/lib/pgsql.php on line 94
#0 POSTGRESQL->fetch(SELECT docmgr.get_all_pathnames('2') AS objpath;, 1) called at [/var/www/docmgr/apilib/lib/docmgr.php:411] #1 DOCMGR->objectAllPaths() called at [/var/www/docmgr/apilib/lib/docmgr.php:615] #2 DOCMGR->showCommon() called at [/var/www/docmgr/apilib/request.php:87] #3 include(/var/www/docmgr/apilib/request.php) called at [/var/www/docmgr/lib/misc.php:422] #4 callAPI(Array ([command] => docmgr_bookmark_save,[path] => /Users/admin,[name] => admin,[expandable] => t,[protected] => 1)) called at [/var/www/docmgr/app/common-docmgr.php:26] #5 callDocmgr(Array ([command] => docmgr_bookmark_save,[path] => /Users/admin,[name] => admin,[expandable] => t,[protected] => 1)) called at [/var/www/docmgr/app/firstlogin.php:89] #6 checkDocmgr() called at [/var/www/docmgr/app/common-docmgr.php:309] #7 checkSetup() called at [/var/www/docmgr/app/postauth.inc.php:5] #8 include(/var/www/docmgr/app/postauth.inc.php) called at [/var/www/docmgr/index.php:63]

Then, in the system itself:

- Files will upload but are only visible in search, not under the directory tree;
- Contacts can be added but not deleted;
- New users can be added, but when they try to login they get a blank screen apart from the single word "Array".

This is turning into a nightmare. Can anyone help out?

Discussion