KETSE / casebox

Casebox: Secure all your information and team communication in one place
https://www.casebox.org
216 stars 120 forks source link

unable to install casebox #30

Closed basemhegazy closed 8 years ago

basemhegazy commented 8 years ago

I followed all the instructions but this is what I get when I run install script:

cd /var/www/htm/casebox php bin/install.php

You have configured main options for casebox. Saving your settings to /var/www/html/casebox/httpsdocs/config.iniOK Solr configsets symlinks created sucessfully. PHP Notice: Undefined index: SOLR_CLIENT in /var/www/html/casebox/httpsdocs/lib/install_functions.php on line 281 PHP Warning: require_once(/var/www/html/casebox/httpsdocs/libx): failed to open stream: No such file or directory in /var/www/html/casebox/httpsdocs/classes/CB/Solr/Service.php on line 87 PHP Fatal error: require_once(): Failed opening required '' (include_path='/var/www/html/casebox/httpsdocs/libx:/var/www/html/casebox/httpsdocs/libx/min/lib:/var/www/html/casebox/httpsdocs/libx/ZF/library/:/var/www/html/casebox/httpsdocs/classes:/var/www/html/casebox/httpsdocs/plugins/:.:/usr/share/php:/usr/share/pear') in /var/www/html/casebox/httpsdocs/classes/CB/Solr/Service.php on line 87 root@casebox:/var/www/html/casebox# vim /var/www/html/casebox/httpsdocs/lib/install_functions.php

pcmerc commented 8 years ago

I'm not sure if it's intentional or not but it's sad when open source projects have broken code as to drive you to contact their support for help with setup.

correct install_functions.php by adding ,'SOLR_CLIENT' => \CB\DOC_ROOT . 'libx/Apache/Solr/Service.php' to the getDefaultConfigValues function at the top of the file

pcmerc commented 8 years ago

Another thing, does this require: curl -sS https://getcomposer.org/installer | php php composer.phar install

As that is not mentioned in any of the docs if so but there is a composer.json so I assume so.

basemhegazy commented 8 years ago

Thanks for Help, however I am not a developer and I have very basic programming skills that would help me to amend your fix code, but I am still worry to use CaseBox, I moved to OwnCloud, it does satisfy my needs.

nfsecurity commented 8 years ago

The same problem here. Thank you pcmerc for your comments.

JOH451 commented 8 years ago

Tried to install this a few days ago and had exactly the same problem. pcmerc's suggestion overcame the initial problem with SOLR_CLIENT being undefined but now have other problems with install.php which I need to look into.

thanhchatvn commented 8 years ago

Hi, i the same error, how to fix it ? Please

tvitalie commented 8 years ago

Hi guys, sorry for delayed answer. I'm preparing next commit that will fix this issue.

Best regards.

tvitalie commented 8 years ago

I've made the commit on devel branch, You can pull that branch and try to install Casebox while we merge into master.

thanhchatvn commented 8 years ago

@tvitalie : i pull and this bug is fixed, thanks you so much, you is pro (y)

tvitalie commented 8 years ago

This issue is fixed and merged into master branch.