Re: [campsite-dev] Look your error log. Here the solution
  • Thanks for pointing this out, fixed in repository.

    Mugur

    On Wed, Jul 29, 2009 at 2:25 AM, wrote:

    > Author: gilnei
    > Link: http://code.campware.org/phorum/read.php?9,7350,7350#msg-7350
    >
    > --------------------------------------------------------------------------------
    >
    > Just after install I noticied my Apache error log was growing up in Mb of
    > PHP Notice.
    > Here is the solution:
    >
    > in classes/SystemPref.php
    >
    > search for:
    >
    > $preferences[] = "$key => '" . addslashes($value) . "'"; (line 156)
    >
    > and change to:
    >
    > $preferences[] = "'$key' => '" . addslashes($value) . "'";
    >
    > ---> Add '' between $key
    >
    > Make any change in System Preferences and your file will be updated.
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >
  • 2 Comments sorted by
  • I still getting hundreds of PHP Notices in my log with this:

    $p_namespace in /var/www/html/camp/template_engine/classes/CampSession.php on line 199

    I was not able to trace its source. Any light on this?
  • OK, I solved copying the original over the FTPed one.
    Now I'm getting the following:

    Undefined index: system_preferences in /var/www/html/camp/template_engine/classes/CampSession.php on line 199

    Trying to get property of non-object in /var/www/html/camp/template_engine/classes/CampURIShortNames.php on line 73

    This happens whe acessing the front page.

    Have someone a clue?