•  
      request #2317 Fatal error on the AccessLogs
    Infos
    #2317
    Nouha Terzi (terzino)
    2013-02-18 10:05
    2013-01-29 15:35
    1296
    Details
    Fatal error on the AccessLogs
    while trying to export access logs, we have:

    Fatal error: Cannot redeclare project_admin_header() (previously declared in /usr/share/codendi/src/www/project/admin/project_admin_utils.php:19) in /usr/share/codendi/src/www/project/admin/project_admin_utils.php on line 58

    version: 5.9.1
    Project admin
    5.9
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Sandra Echinard (sechinard)
    Closed
    Empty
    Attachments
    References
    References list is empty

    Follow-ups

    User avatar
    I don't manage to spot the root cause of this issue (occurs only on a specific setup). Nevertheless this is fixed, see Tuleap version 5.10.99.31.

    Thanks for the input!

    • Status changed from New to Closed
    • Platform set to
    • Is an Enhancement or an internal improvement? set to
    User avatar
    Nouha Terzi (terzino)2013-02-12 09:13
    In the apc.ini:
    ; extension = apc.so

    This line is commented; Can this cause the issue?
    Should I enable it and restart the server?
    User avatar
    The error is really strange: line 58 is the end of the method project_admin_header() that start at line 19 and it says:

    Fatal error: Cannot redeclare project_admin_header() (previously declared in /usr/share/codendi/src/www/project/admin/project_admin_utils.php:19) in /usr/share/codendi/src/www/project/admin/project_admin_utils.php on line 58

    I suspect that there is an odd issue with APC or something like that… Could you please restart apache to see if it flushes the cache and solves the issue?
    User avatar
    Could you please send us the file /usr/share/codendi/src/www/project/admin/project_admin_utils.php (of codexstn-qa)?
    User avatar
    Nouha Terzi (terzino)2013-02-06 17:21
    I can not access at all to the Acceslogs to check.
    But from the plugin admin interface, at least there is no plugin enabled for this server not used for others.
    User avatar
    Nouha Terzi (terzino)2013-02-05 10:26
    This fatal error occurs just in one server, we are not able to reproduce it in another instance deploying the same version 5.9.1.
    User avatar
    Is the page completely displayed or not?
    Or does the issue occur when you click on "Export the log Access" button?
    User avatar
    I can't reproduce the issue.
    Do you try on multiple projetcs?

    • Assigned to changed from None to Sandra Echinard (sechinard)