Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#144 Error_log server file (Scuttle 0.9.0)

Latest SVN
open
nobody
None
5
2015-02-22
2011-11-29
Echt Einfach TV
No

Checking the server today, I stumbled over a 1,5 MB big error_log in the main scuttle folder. I am using scuttle for about 2 months.

Interestingly the errors are not repeating, as far as I could see:

Errors from today:
[23-Nov-2011 18:27:50] PHP Notice: Undefined variable: rsschannels in scuttle/templates/top.inc.php on line 10
[23-Nov-2011 18:27:50] PHP Notice: Undefined variable: loadjs in scuttle/templates/top.inc.php on line 15
[23-Nov-2011 18:27:50] PHP Notice: Undefined index: username in scuttle/templates/login.tpl.php on line 8
[23-Nov-2011 18:27:50] PHP Notice: Undefined variable: terms in scuttle/bookmarks.php on line 205
[23-Nov-2011 18:27:51] PHP Notice: Only variable references should be returned by reference in scuttle/services/bookmarkservice.php on line 364
[23-Nov-2011 18:27:51] PHP Notice: Undefined variable: selectMy in scuttle/search.inc.php on line 22
[23-Nov-2011 18:27:51] PHP Notice: Undefined variable: select_watchlist in scuttle/search.inc.php on line 23
[23-Nov-2011 18:27:51] PHP Notice: Undefined variable: select_all in scuttle/search.inc.php on line 27
[23-Nov-2011 18:27:51] PHP Notice: Undefined variable: terms in scuttle/search.inc.php on line 38
[23-Nov-2011 18:27:52] PHP Notice: Only variable references should be returned by reference in scuttle/services/tagservice.php on line 282
[23-Nov-2011 18:27:54] PHP Notice: Undefined index: tags in scuttle/bookmarks.php on line 154
[23-Nov-2011 18:27:54] PHP Notice: Undefined variable: rsschannels in scuttle/templates/top.inc.php on line 10
[23-Nov-2011 18:27:54] PHP Notice: Undefined variable: showdelete in scuttle/templates/editbookmark.tpl.php on line 61
[23-Nov-2011 18:27:54] PHP Notice: Only variable references should be returned by reference in scuttle/services/tagservice.php on line 282
[23-Nov-2011 18:27:59] PHP Notice: Undefined variable: terms in scuttle/bookmarks.php on line 205
[23-Nov-2011 18:27:59] PHP Notice: Only variable references should be returned by reference in scuttle/services/bookmarkservice.php on line 364
[23-Nov-2011 18:27:59] PHP Notice: Undefined variable: selectMy in scuttle/search.inc.php on line 22
[23-Nov-2011 18:27:59] PHP Notice: Undefined variable: select_watchlist in scuttle/search.inc.php on line 23
[23-Nov-2011 18:27:59] PHP Notice: Undefined variable: select_all in scuttle/search.inc.php on line 27
[23-Nov-2011 18:27:59] PHP Notice: Undefined variable: terms in scuttle/search.inc.php on line 38
[23-Nov-2011 18:27:59] PHP Notice: Only variable references should be returned by reference in scuttle/services/tagservice.php on line 282

Can anybody help? Why are there so many undefined variables, is there an easy way to solve this?
Thank you!

Discussion

  • mathias
    mathias
    2015-02-22

    Hi
    These are only notices.

    Easiest way to fix is to comment out line 40 of header.inc.php:

    before:
    error_reporting(E_ALL);

    after:
    //error_reporting(E_ALL);

    so the default error reporting level from php.ini is used.

    greetings