•  
      request #8896 Gitphp tree view leads to blank content (PHP fatal error)
    Infos
    #8896
    Ahmed HOSNI (hosniah)
    2017-02-03 17:17
    2016-02-26 10:23
    9002
    Details
    Gitphp tree view leads to blank content (PHP fatal error)

    Hi all,

    i've created a repository for Chrome plugin i'm writing, when pushing source code to codex, i've checked that the tree view of my repository is empty (@see attachment).

    when looking to /var/log/php/error_log, i found the following php fatal error:

    [26-Feb-2016 09:08:54] PHP Fatal error:  Class 'Michelf\MarkdownExtra' not found in /usr/share/tuleap/plugins/git/include/Markdown/GitMarkdownFileContentInForm.php on line 28

    My sources are a set of Jquery/html/css files and one single CoffeeScript file, here the content of the repository:

    drwxr-xr-x   13 hosniah  Administ     4096 Feb 26  2016 .
    drwxr-xr-x    3 hosniah  Administ        0 Feb 25 10:39 ..
    drwxr-xr-x    1 hosniah  Administ     4096 Feb 25 18:45 .git
    -rw-r--r--    1 hosniah  Administ       33 Jan 15  2013 .gitignore
    -rw-r--r--    1 hosniah  Administ      250 Jan 15  2013 .project
    -rw-r--r--    1 hosniah  Administ      873 Feb 25 17:26 README.md
    -rw-r--r--    1 hosniah  Administ      204 Jan 15  2013 background.js
    drwxr-xr-x    6 hosniah  Administ     4096 Feb 25 10:39 css
    drwxr-xr-x   11 hosniah  Administ     4096 Feb 25 16:50 img
    drwxr-xr-x   13 hosniah  Administ     4096 Feb 25 10:39 js
    -rw-r--r--    1 hosniah  Administ      536 Jan 15  2013 manifest.json
    -rw-r--r--    1 hosniah  Administ        0 Feb 26  2016 test.txt
    -rw-r--r--    1 hosniah  Administ    10212 Feb 25 17:04 test2.htm

     

    SCM/Git
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-02-03
    Attachments
    Broken tree view of my repository
    References
    References list is empty

    Follow-ups

    User avatar
    Ahmed HOSNI (hosniah)2016-02-29 11:14

    Hello Manuel,

    I've upgraded the pacakge on Qa server and the issue got fixed.

    However the available version was 1.5.0-1, it should be what we've retrieved from enalean repo here:

    https://tuleap.net/file/pub/tuleap/yum/tuleap/rhel/5-php53/stable/x86_64/

     

    User avatar

    How it's an old version, could you please upgrade?

    yum update php-markdown

    You should have 1.5.2

    User avatar
    Ahmed HOSNI (hosniah)2016-02-26 10:34

    Hello Manuel,

    It sounds to be right there:

    codendiadm@crosx10021:~
    > rpm -qa | grep markdown
    php-markdown-1.0.1p-1.el6.noarch

    Regards,

    Ahmed