Fatal error

aeshel wrote on Tuesday, January 24, 2006:

(newbie to linux)
just finished installing openemr on :
linux mandrake 10, xampp 1.5.1, apache 2.0, php 5.1.1,
the installation php went all ok.

when trying to login i get the following message:

Fatal error: Class ADODB_Iterator contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Iterator::valid) in /opt/lampp/htdocs/openemr/library/adodb/adodb-iterator.inc.php on line 47

how do i get to the login ??
thanks

aeshel wrote on Tuesday, January 24, 2006:

i realize i haven’t “chown compiled” and cache but don’t know the username and group (apache:pache gives me an error invalid user)

sunsetsystems wrote on Tuesday, January 24, 2006:

For now you’ll need to use PHP4, not PHP5.  There are some other threads in these forums that discuss this and related issues.

The Apache username and group are the ‘User’ and 'Group" parameters in Apache’s configuration file.  This is commonly /etc/apache2/apache2.conf, or might be called httpd.conf somewhere under /etc.

– Rod
www.sunsetsystems.com

aeshel wrote on Wednesday, January 25, 2006:

php 4 answered this problem but then another problem came up - cant create/write to file /root/tmp/ ???.myi

after googling i saw the answer here:
http://forum.mamboserver.com/archive/index.php/t-18571.html
option1 didn’t work but option 2 did.

linuxguy2001 wrote on Thursday, August 31, 2006:

This is a bug from php5. PHP site says to type the word abstract in front of the line below:(It should be around line 19)

class ADODB_Iterator implements Iterator {

It should look like this:

abstract class ADODB_Iterator implements Iterator {