enRaiser

About me: We are a small group of experience software developers.who are plunging into the world of freelancing. This is basically to enjoy the freedom of life.
Location:
Email: sachin@enraiser.com

Activity

  • enRaiser replied on the discussion topic Class 'ElggBlog' not found
    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..   view reply
  • enRaiser replied on the discussion topic Class 'ElggBlog' not found
    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... view reply
  • enRaiser added a new discussion topic Class 'ElggBlog' not found in the group Elgg Technical Support
    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...
    • 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

  • enRaiser replied on the discussion topic Extra junk bytes before outputting Image
    Sorry My mistake... There was some other plugin which was having start.php with extra line before <?php view reply
  • enRaiser added a new discussion topic Extra junk bytes before outputting Image in the group Elgg Technical Support
    Hi All,  In latest Elgg.(probably 3.0.3) I am seeing that whenever I output image from php code. the browsers gets 1 extra byte prepended to the output.    For example the captcha plugin is not working. and there also the...
  • enRaiser added a new discussion topic why automatic testing fails on apache macbook in the group Elgg Technical Support
    I am trying with elgg3.0.3 on local machine .. it worked for first time and suddenly stopped working . and never cam back even after reinstalling.   our server does not support automatic testing of the rewrite rules and your browser does...
    • Might be that mod_rewrite is not enabled on the server or that AllowOverride is not set to All in Apache's config. I don't know what else might be causing the problem.

  • enRaiser added a new discussion topic elgg_register_lib in the group Elgg Technical Support
    I had to urgently move to elgg 3.  because  older version of elgg are not working with latest ubuntu.(rewrite rules fails) I have to migrate tones of code now within a day. But there s ino proper migration guide.  For now...
    • I've been working on upgrading my site from elgg2.3.7 to 3.0.3 as well and this is what I learned so far. 

      elgg_register_library is removed from elgg3.*. What I did with my plugins was using the word 'require' or 'require_once' inside init function in the start.php file of my plugin. Below is the example:

      require elgg_get_plugins_path( ) . 'plugin_name/lib/library_name.php'; 

      Read more here http://learn.elgg.org/en/stable/appendix/upgrade-notes/2.x-to-3.0.html?highlight=elgg_register_library

    • +1

      Or move your code from library to start.php or classes

    • Let's say you have a library at mod/my_plugin/lib/my_lib.php. Then you can load it with the line

      require_once(dirname(__FILE__) . '/lib/my_lib.php');

      when adding this line at the top of start.php (not inside the init function). This is the easiest way if you don't want to use elgg_register/load_lib anymore (works not only on Elgg 3 but also on Elgg 2). The other way would be to rewrite the code to create a class from the library. But this requires more effort for sure.

  • enRaiser added a new discussion topic ElggFile Clone in the group Beginning Developers
    I am writing a logic for cloning an ElggEntity. Here I am also planning to copy the icons of old entity. However I find it difficult as there is no clone  function in ELGGFile class. Can any one tell me how I can clone the...

Send private message

You must be logged in to send a private message.

Elgg Sites

  • 1Samaj

    1Samaj

    This site is dedicated to various communities in India, the group plugin is modified to look like a websites. THIS IS MOST SEO FRIENDLY, WEBSITE I EVER MADE. THS IS VERY FST WEBSITE DUE TO MY SPEED IMPROVEMENT TECHNIQUES. a new plugin...
  • Kindit

    Kindit

    Hi all, I have just launched a website which can better help to manage Non-Profits orgonisations.You can create Group, for your NGO, and then create Events for your project.you can  enjoy all the benefits of a typical social networking...

Group membership