Posts: 431
Threads: 15
Joined: Oct 2010
Reputation:
0
(12-11-2011, 10:36 PM)Daniel Wrote: Maybe i'm just to dumb to understand how it should work. I did a PEAR installation according a guide for installation on a shared host. I ran some tests and they look good.
PHP Code:
<?php
require_once 'Log/Log.php';
var_dump(class_exists('Log', false));
?>
And the output is:
From my understanding that means everything works as it should.
I tried to change the path in inc.LogInit.php but the error with the missing Log package still comes up.
The include path is correct, i adapted it to the new installation.
What i'm doing wrong?
I have no idea. Place all kind of debugging code into LogInit.php and check if the path is ok and the class exists. There must some difference.
Uwe
Posts: 101
Threads: 21
Joined: Oct 2010
Reputation:
0
12-13-2011, 02:54 AM
(This post was last modified: 12-13-2011, 02:58 AM by Daniel.)
OK, it's just because i'm too dumb.
I think i added the Pear components correctly into subdirectories (e.g. the Log thing into the Log subdirectory) but this seems to be wrong. As soon i copied out Log.php and the included Log folder out to the PEAR folder it worked like a charm, i can now get trough the installation.
As mentioned i will create a guide how to install on the Synology station, i will also try to find out if i can do a normal linux installation of pear instead of the shared hosting documentation.
Thanks for helping me sorting this thing out.
N.B. Is there a preferred format in which documentations should be made? I can provide the documentation in english and german.
Thanks
Daniel
Posts: 1
Threads: 0
Joined: Dec 2011
Reputation:
0
i got the same issue under wamp env. could you please send me the english documents ? email:cc42@sina.com