I hv installed groogle-0.9.3-673 successfully.but when login to http://localhost/groogle
I am getting error on page : Fatal error: Call to undefined function mb_detect_order() in /var/www/groogle/htdocs/func_i18n.php on line 3
my func_i18n.php line 3 has mb_detect_order($encoding_list);
I am week in php so plz suggest for same.
mb_detect_order is provided by mbstring, which is typically built into your php binary either directly, or loaded as a module.
Check your distribution repositories for something like php-mbstring.
Which distribution are you using to install on?
thanks for ur reply
As per your one of the reply, I hv skip the step 15 and 16 (Generate the groogle daemon init.d script and enable it during system startup. ) and (Generate the groogle checkout daemon init.d script and enable it during system startup. )
so is there any problem due to it? also I am not getting clearing as u have replied So kindly elaborate it.
What platform are you installing groogle on?
I HV installed it on cent OS 5.6 . also i hv installed php 5.3 from rimi. kindly find the bellow steps which i hv used for installation.
1 rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
2 rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
3 yum -enablerepo=remi install httpd php php-common
4 yum -enablerepo=remi install httpd php mysql-server php-gd php-pdo php-pear
php-pear-DB php-pear-Log php-pear-MDB2 php-mysql memcached mod_ssl php-xml
5 service httpd start
6 rpm -ivh /groogle-0.9.3-673.noarch.rpm
7 yum install gcc
8 yum install zlib-devel
9 rpm -ivh /php-common-5.1.6-27.el5_5.3.i386.rpm
10 yum -enablerepo=remi install php-devel
11 pecl install memcache
12 pear install Auth
13 pear install Text_Diff
14 pear install System_Daemon
15 pear install System_Daemon-1.0.0RC1
16 pear install HTTP
Create the file /etc/php.d/memcache.ini
17 vi /etc/php.d/memcache.ini
; Enable the memcache extension module
19 pear channel-discover pear.doctrine-project.org
20 pear install pear.doctrine-project.org/Doctrine-1.2.2.tgz
21 chkconfig memcached on
22 service memcached start
23 chkconfig mysqld on
24 service mysqld start
25 cd /var/www/groogle/db/
26 ./patchdb.sh -u root
27 mysql -u root
mysql> use mysql
mysql> delete from user where user='';
mysql> flush privileges;
Edit your /etc/php.ini
28 vi /etc/php.ini
max_execution_time = 300
max_input_time = 300
memory_limit = 128M
30 service httpd restart
31 cd /var/www/groogle/htdocs
32 php groogle_daemon.php -write-initd
33 chkconfig -add groogled
34 chkconfig groogled on
35 service groogled start
37 yum install subversion-devel apr-devel neon-devel
38 pecl install svn
Enable the svn module by creating the file /etc/php.d/svn.ini and adding the
39 vi /etc/php.d/svn.ini
; Enable the pecl svn extension module
40 service httpd restart
41 pear install File_Archive
42 service httpd restart
Also on step 32 - 35 i am not getting file groogle_daemon.php so groogled is not started.
Groogle daemon is only for upcoming version 1.0.0 so if you are using version 0.9.3 then you can ignore those parts of the installation instructions.
It sounds like you are using a different version of php which hasn't been compiled with -with-mbstring. In this case I recommend one of 2 steps:
1) Downgrade to groogle 0.9.2. This doesn't have internationisation support.
2) Revert to the php libraries in the centos repositories. This has mbstring compilation option enabled.
If you choose option 1, be aware that groogle 1.0.0 will require mbstring so it will limit your upgrade options. This is because this functionality is required for character encoding, particularly important for internationalization support. Groogle 1.0.0 is much better than 0.9.3. It has a lot of UI and performance improvements. So I would recommend upgrading once it is released.
Thanks for ur reply,
But My problem is resolved just by changing as follows:
1) i hv edit php.ini and done short_open_tag = On
2) i hv install php-mbstring and restart the httpd services.
now everything is working fine and got login page.
Can we use SVN hooks in groogle? if Yes, kindly explain , how ?
What do you want ot use the SVN hooks for?
its requirement ! actually we r using collabnet subversion to check in some java code , so we have to check out with groogle .
so plz tell how ?
I'm not sure I understand what you are trying to achieve.
Groogle doesn't require a subversion hook to checkout the content. When the user raises a review Groogle will retrieve the repository information and data from the URL's provided as required.
If you want Groogle to checkout a complete copy of the repository then version 1.0.0 will have that (for performance improvements), but it still relies on repository access for the relevant revision information.
sorry for last question, my question is ….. if someone checkout any new file from SVN the request goes to groogle for review and developer wait up to review done.
also told me how to create Reviewer in groogle .
When the files are checked into subversion, Groogle will query the repository when you raise, submit or view a review and show the latest revision as an option for selection.
The reviewers/participants list are derived in one the following ways:
- The auth module is queried for a list of users. If the module doesnt support this, then it will return no users.
- The user list is specified in the auth.php configuration file. This takes priority over the auth module list.