installation problem

382 views
Skip to first unread message

kanje

unread,
Jun 20, 2012, 3:08:26 AM6/20/12
to chisim...@googlegroups.com
hello
KNG logo

Chisimba Installer

Help
Start 1 2 3 4 5 6 7 8 Complete
Database Name.
Create database.
(Note that this will delete and re-create ALL tables in the named database, not just Chisimba tables)

when i click next to inter in stage 7 blank page appear
hel me please
regards r
kanje

Derek Keats

unread,
Jun 20, 2012, 3:34:11 AM6/20/12
to chisim...@googlegroups.com
Have you configured your PHP.ini to show errors? If not, look in your error log and see what the error says. Normally an error on step 7 is a result of either an incorrect password or the database not being available. Please check your error log and see what it says there.
--
Dr Derek W. Keats, PhD
IT Strategy, FOSS, Technology Innovation
Kenga Solutions Pty Ltd
2 Hollywood Drive, Northcliff, Johannesburg
Email: de...@dkeats.com
Phone: +27 82 787 0169 / +27 11 477 4954
Web: http://www.dkeats.com

kanje

unread,
Jun 20, 2012, 3:53:44 AM6/20/12
to chisim...@googlegroups.com
i configured now i got this message
Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /usr/share/php/MDB2.php on line 1936
what to do
regard kanje

Derek Keats

unread,
Jun 20, 2012, 3:57:34 AM6/20/12
to chisim...@googlegroups.com
Where is this code from? Seems like you haven't got the right MDB2 driver.
What is the operating system, etc, the usual stuff that you need to include when reporting a problem. It is really hard to help without that info.
d

kanje

unread,
Jun 20, 2012, 4:01:10 AM6/20/12
to chisim...@googlegroups.com
iam using ubuntu 12.05
i configured now i got this message
Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /usr/share/php/MDB2.php on line 1936

Derek Keats

unread,
Jun 20, 2012, 4:04:45 AM6/20/12
to chisim...@googlegroups.com
And the other question? Is the code from subversion, and is it up to date? Sorry, but people will not respond to your queries without this information. We are all volunteers here.


On Wed, Jun 20, 2012 at 10:01 AM, kanje <flora....@gmail.com> wrote:
iam using ubuntu 12.05
i configured now i got this message
Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /usr/share/php/MDB2.php on line 1936


kanje

unread,
Jun 20, 2012, 4:07:38 AM6/20/12
to chisim...@googlegroups.com
sorry
yes the code is from subversion and it up date

kanje

unread,
Jun 20, 2012, 4:09:43 AM6/20/12
to chisim...@googlegroups.com
sorry
and itried to upgade and geive tis message
sudo pear install MDB2_Driver_mysql
pear/MDB2_Driver_mysql is already installed and is the same as the released version 1.5.0b3
install failed

Derek Keats

unread,
Jun 20, 2012, 4:10:07 AM6/20/12
to chisim...@googlegroups.com
What command did you use to install PEAR, the full history...
do 

history > cmds.txt

Then edit it to remove older stuff, and then paste it in an email.

d

Derek Keats

unread,
Jun 20, 2012, 4:11:54 AM6/20/12
to chisim...@googlegroups.com
Odd, I am running 12.04 and an install takes < 3 minutes every time. 
Did you run the commands from the shellscripts repository?
d

Derek Keats

unread,
Jun 20, 2012, 4:14:00 AM6/20/12
to chisim...@googlegroups.com
can you add me on google chat, maybe I can help faster
I have a meeting at 11 SA time though & it will take long so needs to be fast

regina babu

unread,
Jun 20, 2012, 4:15:16 AM6/20/12
to chisim...@googlegroups.com
    1  cd /var/www/
    2  ls
    3  cd ..
    4  cd tmp/
    5  ls
    6  Cp -R waypointhr /var/www/
    7  cd ..
    8  chmod -R 777 /var/www/
    9  chmod -R 777 /var/
   10  cd /var/www
   11  cp -R /tmp/waypointhr
   12  sudo update
   13  sudo apt-get install apache2
   14  sudo apt-get install mysql-server
   15  apt-get install php5 libapache2-mod-php5
   16  sudo apt-get install php5 libapache2-mod-php5
   17  exit
   18  sudo svn co https://cvs2.uwc.ac.za/chisimba/modules/trunk/ modules
   19  sudo svn co https://cvs2.uwc.ac.za/chisimba/skins/trunk/ skins
   20  sudo svn co https://cvs2.uwc.ac.za/chisimba_documentation/ docs/
   21  cd /var/www/
   22  cp -r /tmp/waypointhr
   23  cp -r /tmp/waypointhr www
   24  cd
   25  cp -r /tmp/waypointhr /var/www/
   26  sudo cp -r /tmp/waypointhr /var/www/
   27  sudo chmod -R 777 /var/www/
   28  sudo apt-get install phpmyadmin
   29  cd var
   30  cd /var
   31  mkdir chisimba
   32  sudo mkdir chisimba
   33  ls
   34  cd chisimba/
   35  svn co https://cvs2.uwc.ac.za/chisimba/framework/trunk/ framework
   36  sudo apt-get install subversion
   37  svn co https://cvs2.uwc.ac.za/chisimba/framework/trunk/ framework
   38  sudo su svn co https://cvs2.uwc.ac.za/chisimba/framework/trunk/ framework
   39  sudo svn co https://cvs2.uwc.ac.za/chisimba/framework/trunk/ framework
   40  cd /media/
   41  ls
   42  cd SAUT/
   43  ls
   44  cd chisimba
   45  ls
   46  cd web
   47  ls
   48  cd sautf/
   49  ls
   50  cd framework/
   51  ls
   52  cd
   53  gedit /etc/phpmyadmin/config.inc.php
   54  sudo gedit /etc/phpmyadmin/config.inc.php
   55  cd /etc/phpmyadmin/
   56  sudo mkdir upload
   57  cd
   58  cd /media/SAUT/
   59  cd backup/
   60  sudo cp semsv218_6_10.sql /etc/phpmyadmin/upload
   61  cd
   62  cd /etc/php5/
   63  ls
   64  cd apache2/
   65  ls
   66  sudo gedit php.ini
   67  /etc/init.d/apache2 restart
   68  sudo /etc/init.d/apache2 restart
   69  cd ../../..
   70  cd etc/phpmyadmin/
   71  rm-rf upload/
   72  cd
   73  cd /var/
   74  chmod 777 www -R
   75  sudo chmod 777 www -R
   76  cd www
   77  sudo chmod 777 sautems -R
   78  cd emsv2/
   79  sudo gedit connect.php
   80  cd /etc/phpmyadmin/
   81  rmdir upload/
   82  sudo rmdir upload/
   83  sudo rm -rf upload/
   84  /etc/php5/
   85  cd/etc/php5/
   86  cd /etc/php5/
   87  ls
   88  cd apache2/
   89  ls
   90  gedit php.ini
   91  sudo gedit php.ini
   92  cd
   93  cd /var/www/
   94  sudo chmod 777 emsv2 -R
   95  gedit /etc/php5/apache2/php.ini
   96  sudo gedit /etc/php5/apache2/php.ini
   97  sudo /etc/init.d/apache2 restart
   98  sudo php pyrus.phar install pear/MDB2_Driver_mysql
   99  sudo pear install MDB2_Driver_mysql
  100  sudo pear upgrade MDB2_Driver_mysql
  101  history > cmds.txt
that is the history ,but i dont see the history of installation pear
--
REGINA BABU KIVUYO
SYSTEM DEVELOPER
STATISTICIAN
0767660833
regi...@yahoo.com
flora....@gmail.com

Derek Keats

unread,
Jun 20, 2012, 4:19:22 AM6/20/12
to chisim...@googlegroups.com
Try redoing this

sudo pear channel-update pear.php.net
sudo pear upgrade pear
sudo pear upgrade-all
sudo pear install --alldeps -f Config Log
sudo pear install MDB2
sudo pear install MDB2_Driver_mysql
sudo pear install MDB2_Driver_pgsql
sudo pear install MDB2_Driver_mysqli
sudo pear install  --alldeps -f MDB2_Schema

regina babu

unread,
Jun 20, 2012, 4:28:54 AM6/20/12
to chisim...@googlegroups.com
sorry
i still have the problem
after doing this
saut@saut-OptiPlex-380:/var/www$ sudo pear channel-update pear.php.net
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
saut@saut-OptiPlex-380:/var/www$ sudo pear upgrade pear
Nothing to upgrade
saut@saut-OptiPlex-380:/var/www$ sudo pear upgrade-all
Will upgrade channel://pear.php.net/console_getopt
Will upgrade channel://pear.php.net/archive_tar
downloading Console_Getopt-1.3.1.tgz ...
Starting to download Console_Getopt-1.3.1.tgz (4,471 bytes)
.....done: 4,471 bytes
downloading Archive_Tar-1.3.10.tgz ...
Starting to download Archive_Tar-1.3.10.tgz (18,294 bytes)
...done: 18,294 bytes
upgrade-all ok: channel://pear.php.net/Console_Getopt-1.3.1
upgrade-all ok: channel://pear.php.net/Archive_Tar-1.3.10
saut@saut-OptiPlex-380:/var/www$ sudo pear install --alldeps -f Config Log
WARNING: "pear/XML_Parser" is deprecated in favor of "pear/XML_Parser2"
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
pear/Log can optionally use PHP extension "sqlite"
downloading Config-1.10.12.tgz ...
Starting to download Config-1.10.12.tgz (32,291 bytes)
.........done: 32,291 bytes
downloading Log-1.12.7.tgz ...
Starting to download Log-1.12.7.tgz (46,898 bytes)
...done: 46,898 bytes
downloading DB-1.7.14.tgz ...
Starting to download DB-1.7.14.tgz (133,103 bytes)
...done: 133,103 bytes
downloading Mail-1.2.0.tgz ...
Starting to download Mail-1.2.0.tgz (23,214 bytes)
...done: 23,214 bytes
downloading Net_SMTP-1.6.1.tgz ...
Starting to download Net_SMTP-1.6.1.tgz (13,164 bytes)
...done: 13,164 bytes
downloading Net_Socket-1.0.10.tgz ...
Starting to download Net_Socket-1.0.10.tgz (5,429 bytes)
...done: 5,429 bytes
downloading Auth_SASL-1.0.6.tgz ...
Starting to download Auth_SASL-1.0.6.tgz (9,119 bytes)
...done: 9,119 bytes
install ok: channel://pear.php.net/Config-1.10.12
install ok: channel://pear.php.net/Log-1.12.7
install ok: channel://pear.php.net/DB-1.7.14
install ok: channel://pear.php.net/Mail-1.2.0
install ok: channel://pear.php.net/Net_Socket-1.0.10
install ok: channel://pear.php.net/Auth_SASL-1.0.6
install ok: channel://pear.php.net/Net_SMTP-1.6.1
saut@saut-OptiPlex-380:/var/www$ sudo pear install MDB2
pear/MDB2 is already installed and is the same as the released version 2.4.1
install failed
saut@saut-OptiPlex-380:/var/www$ sudo pear install MDB2_Driver_mysql

pear/MDB2_Driver_mysql is already installed and is the same as the released version 1.5.0b3
install failed
saut@saut-OptiPlex-380:/var/www$ sudo pear install MDB2_Driver_pgsql
pear/MDB2_Driver_pgsql is already installed and is the same as the released version 1.4.1
install failed
saut@saut-OptiPlex-380:/var/www$ sudo pear install MDB2_Driver_mysqli
downloading MDB2_Driver_mysqli-1.4.1.tgz ...
Starting to download MDB2_Driver_mysqli-1.4.1.tgz (38,064 bytes)
..........done: 38,064 bytes
install ok: channel://pear.php.net/MDB2_Driver_mysqli-1.4.1
saut@saut-OptiPlex-380:/var/www$ sudo pear install  --alldeps -f MDB2_Schema
WARNING: failed to download pear.php.net/MDB2 within preferred state "stable", will instead download version 2.5.0b3, stability "beta"
WARNING: "pear/XML_Parser" is deprecated in favor of "pear/XML_Parser2"
warning: pear/MDB2_Schema requires package "pear/MDB2" (version >= 2.5.0b1), installed version is 2.4.1
downloading MDB2_Schema-0.8.5.tgz ...
Starting to download MDB2_Schema-0.8.5.tgz (77,410 bytes)
..................done: 77,410 bytes
install ok: channel://pear.php.net/MDB2_Schema-0.8.5
saut@saut-OptiPlex-380:/var/www$ sudo /etc/init.d/apache2 restart * Restarting web server apache2                                                apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
                                                                         [ OK ]
saut@saut-OptiPlex-380:/var/www$

Derek Keats

unread,
Jun 20, 2012, 4:31:46 AM6/20/12
to chisim...@googlegroups.com
Must be another mess with PEAR again then.
I rue the day we ever used it.
Is your UBUNTU uptodate?
i.e.
apt-get update && apt-get upgrade

just to make sure you haven't got a wonky version of PHP or something.
d

Frank Tilugulilwa

unread,
Jun 20, 2012, 7:39:02 AM6/20/12
to chisim...@googlegroups.com
Regina, which path did you put for PEAR libraries ?

--
Frank

Frank Tilugulilwa

unread,
Jun 20, 2012, 7:49:41 AM6/20/12
to chisim...@googlegroups.com

For Ubuntu it is /usr/share/php/ otherwise try to clear your browser cache and re-test it will work,

--
Frank

regina babu

unread,
Jun 20, 2012, 8:50:00 AM6/20/12
to chisim...@googlegroups.com
hello frank
im using ubuntu 12.04
the PEAR library  is /usr/share/php/  and cleared the browser cache i got

Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /usr/share/php/MDB2.php on line 1936


Frank Tilugulilwa

unread,
Jun 20, 2012, 9:08:12 AM6/20/12
to chisim...@googlegroups.com
mmmh!

Suggestions :
As Derek suggested, update your install if you have not done so : 
sudo apt-get update
sudo apt-get upgrade

see if it finished successfully,  then try to install from 1st step.

-
Frank

Derek Keats

unread,
Jun 20, 2012, 10:42:07 AM6/20/12
to chisim...@googlegroups.com
I just got a new machine delivered, and will be setting it up tonight, I will see if I can replicate your problem.

regina babu

unread,
Jun 21, 2012, 3:22:46 AM6/21/12
to chisim...@googlegroups.com
frank i have done everything but no changes ,i dont what to, may be there problem on installation of chisimba my be some remind me on installation stages so so i will compare ,to start a fresh installation of ubuntu, or there a problem on ubuntu 12.04 lts version any suggestion

Frank Tilugulilwa

unread,
Jun 21, 2012, 3:30:05 AM6/21/12
to chisim...@googlegroups.com
Regina,

I have more than two chisimba installation in Ubuntu 12.04. Is there a way we can access you machine remotely ?
--
Frank

regina babu

unread,
Jun 21, 2012, 3:32:40 AM6/21/12
to chisim...@googlegroups.com
may be you can tell me what to do, so as you can access remotely , because i don't have any idea

Salman Noor

unread,
Jun 21, 2012, 3:55:24 AM6/21/12
to chisim...@googlegroups.com
I have kind of following this thread. I think the problem is the version of pear drivers. I had a similiar problem when I installed chisimba for the first time. Apparently, you cannot install some of the latest versions of pear drivers or your chisimba installation does not work.

type in 'pear list' in the terminal and you should get a list of installed packages. The list below are the main pear packages installed on my machine required to run chisimba.

MDB2_Driver_mysql 1.5.0b2 beta
MDB2_Driver_pgsql 1.5.0b2 beta
MDB2_Schema       0.8.4   beta
PEAR              1.9.2   stable
XML_Parser        1.2.8   stable
XML_Serializer    0.18.0  beta
XML_Util          1.2.1   stable

For instance, the latest version of MDB2_Driver_mysql is 1.5.0b3 which seems to crash the chisimba installation. If you choose to install MDB2_Driver_mysql 1.5.0b2, the chisimba installation just works. You just need the right versions of these Pear drivers.

Go to pear website.
http://pear.php.net/package/

Search for the required packages and download the RIGHT versions as the list above indicates. The website also gives you the dependencies of each pear library as well. Maybe one of those dependencies are not installed.

Download the right versions of the pear libs.

To install simply type in:
sudo pear install [name of the pear package you downloaded]

If you have that pear package already installed:
sudo pear uninstall [pear package]


I prefer manually downloading and installing the pear dependencies myself. Hopefully, this solution will work for you. I know it works for me.
--
Sincerely Yours,
Salman Noor
School of Electrical and Information Engineering

Derek Keats

unread,
Jun 21, 2012, 3:59:49 AM6/21/12
to chisim...@googlegroups.com
On Thu, Jun 21, 2012 at 9:55 AM, Salman Noor <salmann...@gmail.com> wrote:
I have kind of following this thread. I think the problem is the version of pear drivers. I had a similiar problem when I installed chisimba for the first time. Apparently, you cannot install some of the latest versions of pear drivers or your chisimba installation does not work.


Good suggestion... I had quite forgotten about that. Would be interested to know if it works.

thanks
derek

Derek Keats

unread,
Jun 21, 2012, 4:01:55 AM6/21/12
to chisim...@googlegroups.com
Good suggestion... I had quite forgotten about that. Would be interested to know if it works. 



Ah, mine are also still the older version
MDB2_Driver_mysql  1.5.0b2 beta
MDB2_Driver_mysqli 1.5.0b2 beta

so maybe that is it!


regina babu

unread,
Jun 21, 2012, 5:35:10 AM6/21/12
to chisim...@googlegroups.com
thanks everybody

DONE
this version of pear needed 
MDB2               2.5.0b2 beta
MDB2_Driver_mysql  1.5.0b2 beta
MDB2_Driver_mysqli 1.4.1   stable
MDB2_Driver_pgsql  1.5.0b2 beta
MDB2_Schema        0.8.5   beta
Mail               1.2.0   stable
Net_SMTP           1.6.1   stable
Net_Socket         1.0.10  stable
PEAR               1.9.4   stable
Structures_Graph   1.0.4   stable
XML_DTD            0.5.2   alpha
XML_Parser         1.3.4   stable
XML_Serializer     0.20.2  beta
XML_Util           1.2.1   stable

Frank Tilugulilwa

unread,
Jun 21, 2012, 7:04:35 AM6/21/12
to chisim...@googlegroups.com

Great & enjoy

--
Frank

Salman Noor

unread,
Jun 21, 2012, 7:56:34 AM6/21/12
to chisim...@googlegroups.com
Power of the Community
Reply all
Reply to author
Forward
0 new messages