gan7488 / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

Class 'XMPPHP_Log' not found #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I entered my username, password and server into all of the example scripts
and they all just output this:

Fatal error: Class 'XMPPHP_Log' not found in
/home/finn/htdocs/xmpphp/cli_longrun_example.php on line 10

What version of the product are you using? On what operating system?
Using the latest version on Ubuntu 9.04 Jaunty running LAMPP

Please provide any additional information below.
I had this problem a while ago and managed to fix it, however I lost the
fixed files :(

Original issue reported on code.google.com by thefin...@gmail.com on 6 Aug 2009 at 3:01

GoogleCodeExporter commented 8 years ago
oops, i said "the latest version" but didn't specify. I have xmpphp-0.1rc2-r77

Original comment by thefin...@gmail.com on 6 Aug 2009 at 3:04

GoogleCodeExporter commented 8 years ago
This is conflict with Ubuntu with installed package php-pear. Cause package has 
file
Log.php and it's early in include path. I had same problem and just remove this
package from my system. Alternative way is

include(dirname(__FILE__)."/Log.php")

Original comment by alexxz2...@gmail.com on 10 Aug 2009 at 12:07

GoogleCodeExporter commented 8 years ago
A better solution is to generally assume an XMPPHP dir in the include path. I 
did
that in http://github.com/cweiske/xmpphp

Original comment by cwei...@cweiske.de on 25 Feb 2010 at 6:34