Elxis CMS Forum

Support => Installation => Topic started by: andros on June 07, 2007, 09:59:48

Title: Call to member function on a non-object in installation/install2.php on line 94
Post by: andros on June 07, 2007, 09:59:48
I am having problems trying to install the Elxis system...
i have uploaded all the files correctly but i keep on getting the error diplayed below after i reach the add database details section and press the Next button in the installation wizard...

Fatal error: Call to a member function on a non-object in /home/enigmasc/public_html/elxis/installation/install2.php on line 94
where the code executed is: $dbInfo = $rs->FetchRow();

Can anyone help me...is there something i have missed of doing wrong?...

Title: Re: Call to member function on a non-object in installation/install2.php on line
Post by: datahell on June 07, 2007, 18:34:07
It seems that there is no connection to the database (the object that the error speaks for must be the $database object - you didnt paste here the full error report). Check your database settings! If the problem persists tell us what you use for connecting to the database.
Title: Re: Call to member function on a non-object in installation/install2.php on line 94
Post by: sirioss on June 13, 2007, 23:37:08
i have the same prb, i tried to install elxis in my web site directory in hellenic school network, with default dbase spntouvlis-db1, language el-iso-8859-7 with username spntouvlis
Title: Re: Call to member function on a non-object in installation/install2.php on line 94
Post by: sirioss on June 13, 2007, 23:38:39
the full report error: Fatal error: Call to a member function on a non-object in /users2/ima/2gym-naous/spntouvlis/public_html/installation/install2.php on line 94
Title: Re: Call to member function on a non-object in installation/install2.php on line
Post by: Ivan TrebjeŇ°anin on June 13, 2007, 23:48:11
Your host MUST support utf-8!!! Otherwise, change the host. You should use no other encoding exept utf-8!!!
Title: Re: Call to member function on a non-object in installation/install2.php on line
Post by: datahell on June 13, 2007, 23:59:08
Sirioss, hellenic school network has many restrictions that causes serious  problems. Search this forum for an old post about how to install Elxis on hellenic school network. Although you may manage to install it we don't guarantee that Elxis will work without problems under this enviroment. Also, as Ivan mentioned, in Elxis everything must be UTF-8 encoded.
Title: Re: Call to member function on a non-object in installation/install2.php on line 94
Post by: sirioss on June 14, 2007, 00:05:27
i fixed the prb with this https://forum.elxis.org/index.php?topic=54.msg251
i put  a "//" in front of lines 91-107 but hellenic school net supports only mysql 4.0.13
Title: Re: Call to member function on a non-object in installation/install2.php on line
Post by: Ivan TrebjeŇ°anin on June 14, 2007, 00:11:47
 :( One of this days everyone should support utf-8
Title: Re: Call to member function on a non-object in installation/install2.php on line
Post by: inquba on June 24, 2007, 09:17:53
same problem here.
Fatal error: Call to a member function on a non-object in /home/www/printte/portal/installation/install2.php on line 94

i tried the solution to go installation/install2.php.  then put the // lines 90 to 105  but then it show that the mysql is 4.1 problem but mine is 4.3


i am stuck could anyone of support help to do the right installation.

pm one elxis support to give my user pass  databae etc. to do a right installation  thanks
Title: Re: Call to member function on a non-object in installation/install2.php on line
Post by: datahell on June 24, 2007, 10:18:03
Most probably 4.3 is the client but the database is 4.1. If the standard installation fails then regardless if we make tricks and finally install it you will have problems afterwards. Consider changing host or try postgres database if your host support it.