Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Tom,

    This was done on purpose. If you take a look at tpcmem.php, it alters the include path to include /tpc-memory-usage/library.

    If that isn’t working, this has nothing to do with the plugin itself, but instead the hosting situation, or perhaps an error within the existing include_path. I might be able to help you… anything you can post would be great.

    -Chris

    Thread Starter Tomcraft1980

    (@tomcraft1980)

    Incuding the path fixes the problem for me, without I get the following error:

    Warning: require_once(Tpcmem/Log.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web1/html/xtcmodified/wordpress/wp-content/plugins/tpc-memory-usage/tpcmem-core.php on line 26

    Kind regards

    Tom

    Hi Tom,

    Thanks for your reply. I’d really like to get to the bottom of this for you because logging won’t work properly without the include_path directive being set correctly (unless you edit the twenty-something files within the library directory). You should not have to alter any code to get this working. I’m very interested in seeing what your include_path directive is set as. You can obtain this information in the PHP tab of the System Overview page of the plugin. include_path is platform-specific, so problems can also be caused by using the incorrect path separator. What is the OS (See OS/Server within Server tab of System Overview)?

    Thanks,
    Chris

    Thread Starter Tomcraft1980

    (@tomcraft1980)

    Hi Chris, the infos ar as follows:

    OS/Server:
    Linux xtcmodified.onlineshophosting.de 2.6.18-028stab064.7 #1 SMP Wed Aug 26 13:11:07 MSD 2009 i686

    PHP Include Path:
    .:/var/www/web1/html/xtcmodified/piwik/libs/
    (needed this for piwik to work)

    Kind regards

    Tom

    Hi Tom,

    I found this on php.net.

    If you find that this function is failing for you, and you’re not sure why, you may have set your php include path in your sites’s conf file in Apache (this may be true of .htaccess as well)

    So to get it to work, comment out any “php_value include_path” type lines in your Apache conf file, and you should be able to set it now in your php code.

    -Chris

    Thread Starter Tomcraft1980

    (@tomcraft1980)

    Thx,

    a later version (0.9) in addition with wp 2.9.1 worked for me again.
    Didn’t need to change anything else. ??

    Tom

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: TPC! Memory Usage] Broken since 0.8.3’ is closed to new replies.