View Full Version : install problem
fangzhouxing
12-20-2008, 01:18 PM
I have read INSTALL, and load the index.php page in ff3, the background was displayed, but the login window was invisible.
In FireBug, I found two errors, see pics.
Please help me!
ThorstenSuckow
12-20-2008, 02:10 PM
1) Do you have mod_rewrite installed for your apache webserver, and did you configure your webserver to allow .htaccess files?
2) Did you install conjoon in a subfolder of your doument root? (i.e. is it accessible over www.domain.tld/subfolder (http://www.domain.tld/subfolder) or www.domain.tld? (http://www.domain.tld?)
I have attached an example virtual host config:
<VirtualHost *:80>
AllowEncodedSlashes On
DocumentRoot "F:/deploy/build/build/htdocs"
ServerName www.conjoon-demo.org
<Directory "F:/deploy/build/build/htdocs">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
This would put conjoon into the document root, thus it's accessible over www.conjoon-demo.org (http://www.conjoon-demo.org)
fangzhouxing
12-21-2008, 12:10 AM
Thanks for the help, now I can login and see the Email tabpanel.
But Why the 'New Email' toolbar button is disabled? I can do nothing now.
ThorstenSuckow
12-21-2008, 12:57 AM
Thanks for the help, now I can login and see the Email tabpanel.
But Why the 'New Email' toolbar button is disabled? I can do nothing now.
You need to add an email account first. Do so by navigating to the "Email Accounts" dialog: Menubar -> Extras -> Email Accounts
The account dialog will pop up and immediately show the "Email Account Wizard", since you have not configured any accounts by now. You can add your account and after this is done you will be able to send emails.
fangzhouxing
12-21-2008, 02:43 AM
I did not notice the 'Menubar -> Extras' menu, it is not very noticable for new user.
By the way, I am very appreciated the way you use ExtJS.
This software is great! Thanks .
juljupy
12-21-2008, 05:40 PM
Hi i did the changes you put, but when i try to load it i got this error in Firebug cosole:
"GET http://localhost/conjoon-0.1a2/build/htdocs/default/registry/get.entries/format/json?_dc=1229884458060"
so i search for that file into that folder and it doesn't exist, what am i missing?
ThorstenSuckow
12-21-2008, 08:20 PM
Hi i did the changes you put, but when i try to load it i got this error in Firebug cosole:
"GET http://localhost/conjoon-0.1a2/build/htdocs/default/registry/get.entries/format/json?_dc=1229884458060"
so i search for that file into that folder and it doesn't exist, what am i missing?
In fact it does not exist - the .htaccess file in the htdocs folder is responsible for rewriting the urls. Are you sure you have mod_rewrite enabled for your Apache webserver?
According to your posted url, the following values have to be changed once mod_rewrite runs on your server:
in config.ini.php:
base_url = /conjoon-0.1a2/build/htdocs
in .htaccess
RewriteBase /conjoon-0.1a2/build/htdocs
if, and only if you access conjoon over the url http://localhost/conjoon-0.1a2/build/htdocs/
zelegolas
07-06-2009, 11:14 AM
I have the same issue:
"GET http://localhost/conjoon-0.1a2/build/htdocs/default/registry/get.entries/format/json?_dc=1229884458060" 401 Authorization Required
My apache config:
Alias "/conjoon" "/var/www/conjoon-0.1a3/build/htdocs"
<Directory "/var/www/conjoon-0.1a3/build/htdocs">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</Directory>
Module rewrite is installed
My .htaccess:
RewriteEngine on
RewriteBase /conjoon
RewriteRule (^index\/redirect.+)$ index.php
RewriteRule !(^install)|(^blank\.html)|\.(mp3|swf|js|ico|gif|j pg|png|css)$ index.php
My system:
Gentoo Linux
ThorstenSuckow
07-06-2009, 11:51 AM
I have the same issue:
"GET http://localhost/conjoon-0.1a2/build/htdocs/default/registry/get.entries/format/json?_dc=1229884458060" 401 Authorization Required
Is this a typo? It seems to differ from the dir names found in your apache config...
zelegolas
07-06-2009, 11:55 AM
Is this a typo? It seems to differ from the dir names found in your apache config...
Sorry you right:
"GET https://localhost/conjoon/default/registry/get.entries/format/json?_dc=1246881582010"
401 Authorization Required
ThorstenSuckow
07-06-2009, 11:58 AM
What does the address look like you type into your browser to open up conjoon?
Does the login-screen appear?
How does your config.ini.php look like? (Specially the base_url property)
zelegolas
07-06-2009, 12:06 PM
What does the address look like you type into your browser to open up conjoon?
Does the login-screen appear?
How does your config.ini.php look like? (Specially the base_url property)
The address on my browser it's:
"https://localhost/conjoon/"
I don't have any login-screen.
My config.ini.php:
;<?php
;/**
; * conjoon
; * (c) 2002-2009 siteartwork.de/conjoon.org
; * licensing@conjoon.org
; *
; * $Id$
; */
; ?>
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; README ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; This is the template for the application configuration file for the conjoon
; software.
; You should set the variables to the values that suits your installation and
; then rename this file to "config.ini.php".
;
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; SECURITY WARNING ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Do not remove the line below, or otherwise you risc exposing your application
; settings (i.e. passwords, db settings etc.). You can, however, remove everything
; between line 1 and this line.
;
; ------- DO NOT REMOVE THE FOLLOWING LINE ------
;<?php die('forbidden');?>
; --------- DO NOT REMOVE THE LINE ABOVE --------
;;;;;;;;;;;;;;;;;;;;;;;;
;;; ENVIRONMENT ;;;
;;;;;;;;;;;;;;;;;;;;;;;;
[environment]
; if your hoster does not allow you to configure php's include path, set this to
; the path where the "lib" folder resides.
; Notice: since the bootstrapper has to
; re-set the include path on every request, it is better to hardcode this value
; in your webserver's config.
; Example:
; UNIX: "/path1:/path2"
; Windows: "\path1;\path2"
; Notice:
; If you use this setting, make sure you quote the value if it contains a semicolon
; when specifying more than one directory, otherwise conjoon will interpret
; anything that follows the semicolon as a comment.
include_path = /var/www/conjoon-0.1a3/build/htdocs/conjoon_libs
; set this to the path where the "application" folder can be found.
; make sure the containing folders are readable and writable by the webserver.
; the path may be relative to the folder where the index.pho resides in.
application_path = /var/www/conjoon-0.1a3/build/htdocs/conjoon_application
; set this to the path under which conjoon is available on your host.
; Example: If you configured your webserver so that conjoon is available
; under http://my.domain.com/, the value must be set to "/". If you configured
; your webserver so that the application is available under http://my.domain.com/app/,
; the value must be set to "app".
base_url = conjoon
; The value should be set to anything that provides more information about the
; context conjoon is installed in. The value is not needed for any evaluation tasks,
; but will appear at some places in the software, such as the login screen.
; If you are running the software from an USB stick, the value for this property could
; be somewhat like "USB installation"
edition = "Test Conjoon"
;;;;;;;;;;;;;;;;;;;;;;;;
;;; DATABASE ;;;
;;;;;;;;;;;;;;;;;;;;;;;;
[database]
; set this value to the adapter conjoon should use for db connections.
; There is currently only support for pdo_mysql, so you should not change
; this value.
adapter = pdo_mysql
; database host
params.host = 127.0.0.1
; port your database server listens to. For mysql, this should default to
; "3306"
params.port = 3306
; username for db connections
params.username = conjoon
; password for db connections
params.password = test
; the name of the database used
params.dbname = conjoon
; max_allowed_packet denotes the maximum site of a packet that can be stored
; in a database using the configured connection. If you have worked with
; MySQL before, this value should be familiar to you. However, it's used for
; all db adapters: Provide a value that is less than or equal to the
; "max_allowed_packet" variable of your MySQL server configuration (or any configuration
; setting of the database server you are using that corresponds to this variable's
; functionality). The value has to be provided in bytes.
; If left empty, conjoon will look up this value from the database configuration by itself.
; Setting this value is mainly important for the email module of conjoon, as emails vary in
; size and any email that is larger than max_allowed_packet cannot and wil not be stored
; into the database
variables.max_allowed_packet = 1048576
zelegolas
07-06-2009, 12:40 PM
When I check with firebug for the response I have this:
{"authorized":false,"title":"conjoon","success":false,"error":{"code":null,"line":180,"file":"\/var\/www\/conjoon-0.1a3\/build\/htdocs\/conjoon_application\/modules\/default\/controllers\/ReceptionController
.php","message":"Authorization required. You need to log in to access this resource.","type":"CONJOON_ERROR_AUTHORIZATION"
,"level":"error"}}
May be it's could be help
ThorstenSuckow
07-06-2009, 01:03 PM
It'd be interesting to see what the source gives you, once you have entered https://localhost/conjoon - since an XMLHttpRequest gets fired, the page should initially load and request default settings from the registry. It's odd though that the registry gives you that kind of error - did you migrate from an older version of conjoon? Did you try to run the application without ssl protocol (plain old http)?
The file Conjoon/Controller/Plugin/Auth.php should contain a condition that checks if the controller-action that gives you a 401 error (see line 88 in this file) was called, and should usually pass the user even if he's not logged in.
// the application needs to query the registry. That's okay since no secret data will
// be transported if the registry sees that there's no login
if ($request->action == 'get.entries' && $request->controller == 'registry' &&
$request->module == 'default') {
return;
}
Since the action cannot be called, I assume that there is still something wrong with your mod-rewrite setup...
You could go into the file and echo the given variables, i.e. inspect $request-Action, $request->controller and $request->module.
Anyhow, I'd propose changing the RewriteBase (in .htaccess) and the base_url (in config.ini.php) properties to
/conjoon
Notice the leading slash! On some systems this helped solving the issue.
zelegolas
07-06-2009, 11:57 PM
It'd be interesting to see what the source gives you, once you have entered https://localhost/conjoon - since an XMLHttpRequest gets fired, the page should initially load and request default settings from the registry. It's odd though that the registry gives you that kind of error - did you migrate from an older version of conjoon? Did you try to run the application without ssl protocol (plain old http)?
The file Conjoon/Controller/Plugin/Auth.php should contain a condition that checks if the controller-action that gives you a 401 error (see line 88 in this file) was called, and should usually pass the user even if he's not logged in.
// the application needs to query the registry. That's okay since no secret data will
// be transported if the registry sees that there's no login
if ($request->action == 'get.entries' && $request->controller == 'registry' &&
$request->module == 'default') {
return;
}
Since the action cannot be called, I assume that there is still something wrong with your mod-rewrite setup...
You could go into the file and echo the given variables, i.e. inspect $request-Action, $request->controller and $request->module.
Anyhow, I'd propose changing the RewriteBase (in .htaccess) and the base_url (in config.ini.php) properties to
/conjoon
Notice the leading slash! On some systems this helped solving the issue.
On the .htaccess the "/" already exist.
I just add "/" on the config file and now I have the login-screen
Yes :) Thanks :)
Before I used roundcube with Dovecot and Postfix.
Do you now how I can access to my emails from Conjoon?
I will play also with the configuration but if you have any advise let me know
ThorstenSuckow
07-07-2009, 09:39 AM
I have created a ticket which reports this issue - the install wizard will check for leading slashes in the future. Thanks for your post!
Regarding fetching emails... well, you'd have to configure an email account first - see this blog post (http://www.conjoon.org/blog/2008/12/31/your-first-steps/) which guides you through the necessary steps.
zelegolas
07-07-2009, 10:49 AM
I have created a ticket which reports this issue - the install wizard will check for leading slashes in the future. Thanks for your post!
You welcome. :)
Regarding fetching emails... well, you'd have to configure an email account first - see this blog post (http://www.conjoon.org/blog/2008/12/31/your-first-steps/) which guides you through the necessary steps.
Some issues:
- I don't see "Email Account Assistance" but "Konten"
- I don't have "Loading.." but something finished by "biten" to fast to really read the message but it's not English for sure
- The window is correct on Windows but too small on Linux and Mac (with firefox) user and password field are truncated. The "Remove Account" button it also truncated
- What ever I tried to configure for the email account it doesn't work. I have a popup windows with a message:
n unexpected error occured. The server returned the following response:
-----
Response Status: 200
Response Text:
( ! ) Fatal error: Call to undefined function simplexml_load_file() in /var/www/conjoon-0.1a3/build/htdocs/conjoon_libs/Zend/Locale/Data.php on line 146 Call Stack #TimeMemoryFunctionLocation 10.000486696{main}( )../index.php:0 20.04632517752Zend_Controller_Front->dispatch( )../index.php:153 30.06303437468Zend_Controller_Dispatcher_Standard->dispatch( )../Front.php:946 40.08284500188Zend_Controller_Action->dispatch( )../Standard.php:293 50.08294500288Groupware_EmailController->fetchEmailsAction( )../Action.php:502 60.17949908492Conjoon_Modules_Groupware_Email_Lett erman::fetchEmails( )../EmailController.php:131 70.192610002876Conjoon_Modules_Groupware_Email_Let terman->_fetchEmails( )../Letterman.php:195 80.207110066556Conjoon_Modules_Groupware_Email_Let terman->_saveEmail( )../Letterman.php:740 90.208210071224Conjoon_Modules_Groupware_Email_Ite m_Filter_Item->getProcessedData( )../Letterman.php:423 100.208210071224Conjoon_Filter_Input->getProcessedData( )../Item.php:179 110.208210071224Conjoon_Filter_Input->process( )../Input.php:182 120.208410071224Zend_Filter_Input->process( )../Input.php:131 130.208410071272Zend_Filter_Input->_process( )../Input.php:448 140.213310104060Zend_Filter_Input->_validate( )../Input.php:659 150.213610109028Zend_Filter_Input->_validateRule( )../Input.php:758 160.213610109724Zend_Validate->isValid( )../Input.php:846 170.213610110184Conjoon_Validate_Date->isValid( )../Validate.php:94 180.213610110932Zend_Date->__construct( )../Date.php:42 190.214110111528Zend_Date->set( )../Date.php:207 200.214210111832Zend_Date->_calculate( )../Date.php:1215 210.215010153828Zend_Locale_Format::getDateFormat( )../Date.php:2614 220.215110153920Zend_Locale_Data::getContent( )../Format.php:954 230.215110154624Zend_Locale_Data::_getFile( )../Data.php:907 240.215110154992Zend_Locale_Data::_findRoute( )../Data.php:217
Could be the configuration with my server is not compatible with conjoon or my php is not compiled with the option that you need. I will check. If you have any advices.
- I cannot change the protocol its always POP3 (gray color) (my server support also POP3S, IMAP, IMAPS)
ThorstenSuckow
07-07-2009, 11:27 AM
- I don't see "Email Account Assistance" but "Konten"
This was already fixed - will be translated properly in the next version.
- I don't have "Loading.." but something finished by "biten" to fast to really read the message but it's not English for sure
Seems to be a translation error, I'll look into it.
- The window is correct on Windows but too small on Linux and Mac (with firefox) user and password field are truncated. The "Remove Account" button it also truncated
Can you provide a screenshot?
- What ever I tried to configure for the email account it doesn't work. I have a popup windows with a message:
n unexpected error occured. The server returned the following response:
-----
Response Status: 200
Response Text:
( ! ) Fatal error: Call to undefined function simplexml_load_file() ...
see http://www.conjoon.org/forum/showthread.php?t=305
- I cannot change the protocol its always POP3 (gray color) (my server support also POP3S, IMAP, IMAPS)
see http://www.conjoon.org/forum/showthread.php?t=45
zelegolas
07-08-2009, 11:07 PM
This was already fixed - will be translated properly in the next version.
Ok
Seems to be a translation error, I'll look into it.
Ok
Can you provide a screenshot?
Sure check the attached
see http://www.conjoon.org/forum/showthread.php?t=305
With simplexml it's better I list email available but when I try to open an email it's generate this error:
An unexpected error occured. The server returned the following response:
-----
Response Status: 200
Response Text:
( ! ) Warning: require_once(Zend/Filter/Htmlentities.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/conjoon-0.1a3/build/htdocs/conjoon_libs/Conjoon/Modules/Groupware/Email/Attachment/Filter/AttachmentResponse.php on line 18 Call Stack #TimeMemoryFunctionLocation 10.000486920{main}( )../index.php:0 20.04322518104Zend_Controller_Front->dispatch( )../index.php:153 30.06043437816Zend_Controller_Dispatcher_Standard->dispatch( )../Front.php:946 40.08064500596Zend_Controller_Action->dispatch( )../Standard.php:293 50.08084500696Groupware_EmailController->getEmailAction( )../Action.php:502 60.08084500720Groupware_EmailController->_getEmail( )../EmailController.php:772 70.12775232336require_once( '/var/www/conjoon-0.1a3/build/htdocs/conjoon_libs/Conjoon/Modules/Groupware/Email/Attachment/Filter/AttachmentResponse.php' )../EmailController.php:813 ( ! ) Fatal error: require_once() [function.require]: Failed opening required 'Zend/Filter/Htmlentities.php' (include_path='.:/usr/share/php5:/usr/share/php:/var/www/conjoon-0.1a3/build/htdocs/conjoon_libs') in /var/www/conjoon-0.1a3/build/htdocs/conjoon_libs/Conjoon/Modules/Groupware/Email/Attachment/Filter/AttachmentResponse.php on line 18 Call Stack #TimeMemoryFunctionLocation 10.000486920{main}( )../index.php:0 20.04322518104Zend_Controller_Front->dispatch( )../index.php:153 30.06043437816Zend_Controller_Dispatcher_Standard->dispatch( )../Front.php:946 40.08064500596Zend_Controller_Action->dispatch( )../Standard.php:293 50.08084500696Groupware_EmailController->getEmailAction( )../Action.php:502 60.08084500720Groupware_EmailController->_getEmail( )../EmailController.php:772 70.12775232336require_once( '/var/www/conjoon-0.1a3/build/htdocs/conjoon_libs/Conjoon/Modules/Groupware/Email/Attachment/Filter/AttachmentResponse.php' )../EmailController.php:813
I guess an other php option is missing.
My php config:
'./configure' '--prefix=/usr/lib/php5' '--host=i686-pc-linux-gnu' '--mandir=/usr/lib/php5/man' '--infodir=/usr/lib/php5/info' '--sysconfdir=/etc' '--cache-file=./config.cache' '--with-pcre-regex=/usr' '--disable-cli' '--with-apxs2=/usr/sbin/apxs2' '--with-config-file-path=/etc/php/apache2-php5' '--with-config-file-scan-dir=/etc/php/apache2-php5/ext-active' '--without-pear' '--disable-bcmath' '--with-bz2' '--disable-calendar' '--with-curl' '--with-curlwrappers' '--disable-dbase' '--enable-exif' '--without-fbsql' '--without-fdftk' '--enable-ftp' '--with-gettext' '--without-gmp' '--disable-hash' '--disable-ipv6' '--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-mhash' '--without-msql' '--without-mssql' '--with-ncurses' '--with-openssl' '--with-openssl-dir=/usr' '--disable-pcntl' '--without-pgsql' '--disable-posix' '--with-pspell' '--without-recode' '--disable-shmop' '--without-snmp' '--disable-soap' '--enable-sockets' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-wddx' '--with-xmlrpc' '--with-xsl' '--enable-zip' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--without-db4' '--disable-flatfile' '--with-gdbm' '--disable-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-gd' '--with-imap' '--with-imap-ssl' '--with-ldap' '--without-ldap-sasl' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-mysqli' '--without-pdo-dblib' '--with-pdo-mysql=/usr' '--without-pdo-odbc' '--without-pdo-pgsql' '--with-pdo-sqlite=/usr' '--with-readline' '--without-libedit' '--without-mm' '--with-sqlite=/usr' '--enable-sqlite-utf8'
see http://www.conjoon.org/forum/showthread.php?t=45
Thanks for the link I will check later.
ThorstenSuckow
07-08-2009, 11:18 PM
With simplexml it's better I list email available but when I try to open an email it's generate this error:
An unexpected error occured. The server returned the following response:
-----
Response Status: 200
Response Text:
( ! ) Warning: require_once(Zend/Filter/Htmlentities.php) ...
See http://www.conjoon.org/forum/showthread.php?t=46 - this error was reported and is already fixed in SVN, but it's not in your build yet. So I have to kindly ask you to open up that file and correct the typo on your own. The current version is still alpha and the next release (due next month) will be much more stable.
zelegolas
07-08-2009, 11:33 PM
See http://www.conjoon.org/forum/showthread.php?t=46 - this error was reported and is already fixed in SVN, but it's not in your build yet. So I have to kindly ask you to open up that file and correct the typo on your own. The current version is still alpha and the next release (due next month) will be much more stable.
I fixe it manually it's ok now
Don't worry you already done a good job even if we have some little issues.
And for sure you provide a very good support, very fast!! :-)
I have a question:
On my email server I have tree of sub-folder defined like:
INBOX
- Sites
- SourceForges
- Apple
...
- Forums
- Site 1
- Site 2
...
SENT
- Personal
- Family
- Friends
- Jean X
- Luc Y
On Conjoon I can only see what I have on INBOX. It's may be because I use POP3 not IMAP, may be.
ThorstenSuckow
07-12-2009, 02:15 AM
On Conjoon I can only see what I have on INBOX. It's may be because I use POP3 not IMAP, may be.
You are right, it should be possible to create sub-folders for the "sent"-root-folder even for the POP3 protocol. I have created a ticket for this feature request.
ThorstenSuckow
11-18-2009, 07:05 AM
On the .htaccess the "/" already exist.
I just add "/" on the config file and now I have the login-screen
A leading slash will now be added automatically during the installation process since r906 (http://wiki.conjoon.org/changeset/906/trunk)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.