Link to home
Start Free TrialLog in
Avatar of tiger0516
tiger0516

asked on

Fatal error: Call to undefined function:

I have php 4.1.2, apache 1.3, mysql 3.23 installed in my xp pro machine.

I have met many errors like:
Warning: Failed opening '../header.inc.php' for inclusion (include_path='.;C:\php\pear') in e:\egroupware2\manual\index.php on line 20
Fatal error: Call to undefined function: is_a() in e:\crm\log4php\config\LoggerPropertySetter.php on line 108

or simply:

Fatal error: Call to undefined function: execmethod() in e:\egroupware2\manual\index.php on line 22

etc.

My php config (fragement) is:

Configuration File (php.ini) Path      C:\WINDOWS\php.ini
include_path      .;C:\php\pear

The pear folder is the default folder when I downloaded and installed php, I did not change anything.

One more, all those scripts that do not work properly are said to be run on php 4.3+. I do can run some scripts properly, like Invision Power Board 1.3

Another weird issue is that, I was using IIS 5 yesterday and I can successfully install and run those scripts that cannot install & run today in apache.

Another problem is when I tried to install EZ publish, I got this problem:

when I tried to install the 1st time (the 1st time to visit the install URL) , I got this:
<link rel=\"stylesheet\" type=\"text/css\" href=

But if I try this URL again, I get this:

Parse error: parse error in e:\websites\etsscore\ez\var\cache\ini\5333a6c365d6268e16c21e911be41344.php on line 3

Parse error: parse error in e:\websites\etsscore\ez\var\cache\codepages\36e48c5d322c489dd3ee4e51ffda1494.php on line 271

Parse error: parse error in e:\websites\etsscore\ez\var\cache\ini\33f42fe2d66540e837a4b316cf649710.php on line 3

Parse error: parse error in e:\websites\etsscore\ez\var\cache\ini\3c8ad8ce08531dfeba6caf9522ae1883.php on line 3

Parse error: parse error in e:\websites\etsscore\ez\var\cache\ini\624c2b076ca52fb456afc8e03de2ce4c.php on line 3

Parse error: parse error in e:\websites\etsscore\ez\var\cache\ini\c4ff96e5160a5c9d983aa46ebbe674e8.php on line 3
<link rel=\"stylesheet\" type=\"text/css\" href=

php files like 624c2b076ca52fb456afc8e03de2ce4c.php are automatically generated in the ini or codepages folders.
Avatar of tiger0516
tiger0516

ASKER

I can connect to MySQL correctly.
By the way, my MySQL is running (I can see a process named mysqld-nt.exe) and in php.ini mysql.allow_persistent is set to be On
SOLUTION
Avatar of davebytes
davebytes
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of blue_hunter
blue_hunter
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do you mind, for future readers, explaining what your solution was?

-d