Class 'ElggBlog' not found

In  Elgg3.0.3   I am getting this error while adding blog.  

I am seeing this error on my Ubuntu VM...

    Error: Class 'ElggBlog' not found in .../elgg/mod/blog/actions/blog/save.php:37

 

This is very strange mainly because 

(1) it works perfect in my local OSX machine.

(2) its also works fine in ubuntu VM for Admin user.....

 

  • Have you tried flushing the caches?

    Paths to classes are cached, so this should help.

  • No it  does not help....  

    but it seems in data directory  everything has become number

    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures}

        p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures}

    data/caches

    0fea6a13c52b4d47  1952a01898073d1e  views_simplecache

     

    and under these two numbered folder  there are many numbered folders

  • By the way,,

    I could get rid of my problem by renaming blog\classes\Elggblog.php to ElggBlog.php

    Probably this is because the old classname in my GIT repo was Elggblog and not ElggBlog... 

    so git silently ignored it..

     

  • The upper/lower cases of the classes names are important