[Register]
Powered by Elgg

Running Elgg :: Blog :: Archives

May 2007

May 01, 2007

We left our dreamhost shared server and no on some new one... no clue what it is.

 But getting some weird errors.

within _elggadmin I get the following errors:


Notice: Undefined variable: action in /var/www/vhosts/mypua.com/httpdocs/_elggadmin/lib.php on line 118

Notice: Undefined index: adminid in /var/www/vhosts/mypua.com/httpdocs/_elggadmin/lib.php on line 588

Notice: Undefined index: admincode in /var/www/vhosts/mypua.com/httpdocs/_elggadmin/lib.php on line 589

 

When I attempt to save any data from the admin I get:


Notice: Undefined property: templatelocation in /var/www/vhosts/mypua.com/httpdocs/_elggadmin/config-template.php on line 172

 

So if that wasn't enough on my index page:


Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mypua.com/httpdocs/index.php:1) in /var/www/vhosts/mypua.com/httpdocs/lib/setup.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mypua.com/httpdocs/index.php:1) in /var/www/vhosts/mypua.com/httpdocs/units/engine/function_init.php on line 26

 

But no errors show up on my user profile page.

 

Also anyone have a link to theme documentation?  On the last server I attemped to install a new theme but got dismal results!

 

Keywords: Admin, Errors, Frontpage, index, property, theming, undefined, variable

Posted by TheGuy @ Running Elgg | 3 comment(s)

Hi

I used this senario :

One elgg user (idet=2) setup a (no moderation) community group (idet=4).
Then another user (idet=6) joined that that group (Click here to leave this community is now displayed in the community profile)

BUT..

- At the community members list (None) is displayed
- The Joining member (6) has this messege under (Your Network->Communities) :
You don't have any communities listed! To join a community, click the 'join' button underneath a community's icon. You can find communities you're interested in by using the search function

- The Owner member has no membership pednig requests (it is a no-mod anyway)


- Checking out the elgg_friends table I have:
ident owner friend status
1 2 4 perm
2 6 4 perm

Posted by Mr.X @ Running Elgg | 1 comment(s)

I was trying to install elgg 0.8rc1 to one of my website medicsindia.com at dreamhost.com

in admin panel I was asked for physical path
"Elgg install root
Physical path to the files (eg /home/elggserver/httpdocs/). NB:
**MUST** have a final slash at the end"

My answer was
"/home/.XXXXXXX/username/medicsindia.com/"

also tried path below after the advice of dreamhost tech suppourt
"/home/username/medicsindia.com/"

But after completion of the admin when i try to access my site i get
following error in both instances

" Elgg isn't ready to run. :(
* Configuration problem: The $CFG->dirroot setting in config.php
points to a directory that does not exist."

Is there any way to solve this problem

Cheers
Sreeram Penna

Posted by Sreeram Penna @ Running Elgg | 2 comment(s)

I have extremely limtied knowledge of PHP/mysql (I can find the problems rather easily and create them even easier) So I was wondering if there was anybody out there that could code a quick & dirty way to approve users on my testing server. Since it's not online security isn't an issue. It just has to work. There is no mail server installed so no way to authorize through mail.

Keywords: Admin Tool

Posted by Jason @ Running Elgg | 2 comment(s)

So this new server isn't working out so swell with elgg :(

When I attempted to delete a user from the admin site:

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/mypua.com/httpdocs/mod/profile/lib.php on line 349

But the biggest problem is once the invite gets sent and the come back to the site, after they enter their name and password... they get this message on the next screen:

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/mypua.com/httpdocs/mod/profile_photo/lib.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mypua.com/httpdocs/mod/profile_photo/lib.php:15) in /var/www/vhosts/mypua.com/httpdocs/units/invite/invite_actions.php on line 149

 

Now these problems didnt' exist on the previous server on dreamhost.  Any ideas? 

 

Both are erroring out in the foreach handling:

$data['profile:details']

 

and my error check is set to 0 now 

 

Keywords: argument, errors, foreach, invalid, invite

Posted by TheGuy @ Running Elgg | 7 comment(s)

Hey everyone

I got elgg installed pretty easily, but I'm having a problem with the pages that use mod_rewrite.

I added the RewriteBase line to the .htaccess file, and the normal pages work, but if you go to http://www.thesite.com/directoryforelgg/[username]/, you get a 404.  I get a 404 for any of the main pages (blog, files, network, profile, friends, rss, feeds, etc).

mod_rewrite is already available on the server, so that's not the issue.

Any ideas?

Thanks

--Kyle 

Keywords: 404, directories, errors, installation, mod_rewrite, problems, rewrite

Posted by Kyle Brady @ Running Elgg | 62 comment(s)

May 02, 2007

I can't seem to find a recent activity page on for my profile here. Am I being unduly dense, or is it missing here, (possibly because we don't get blogs here?)

Emma

(I've enabled the email notification, so that I can find out if I get an answer to this, without having to remember which forum I posted it in :)) 

Posted by Emma @ Running Elgg | 2 comment(s)

May 04, 2007

Hi

After I upgraded from .7 to .8 how do I import my old translation into the new translation file?


Thank you.

Keywords: translation, upgrade

Posted by Mr.X @ Running Elgg | 2 comment(s)


Warning: file_get_contents(http://mgaming.co.uk/public_html/community/mod/template/temp) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/mga/public_html/community/units/templates/default_template.php on line 15

Warning: file_get_contents(http://mgaming.co.uk/public_html/community/mod/template/temp) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/mga/public_html/community/units/templates/default_template.php on line 32

Warning: file_get_contents(http://mgaming.co.uk/public_html/community/mod/template/temp) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/mga/public_html/community/units/templates/default_template.php on line 34

Warning: file_get_contents(http://mgaming.co.uk/public_html/community/mod/template/temp) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/mga/public_html/community/units/templates/default_template.php on line 35

Warning: copy(profile.config.php) [function.copy]: failed to open stream: Permission denied in /home/mga/public_html/community/mod/profile/lib.php on line 60

 

What do they mean? 

Posted by Chris @ Running Elgg | 7 comment(s)

May 05, 2007

How do I add blocks to the homepage? Such as news blogs and members?

Posted by Chris @ Running Elgg | 2 comment(s)

I have some specific things I would like to ask all users to submit? Can I add extra inputs to the profile contacts page?

Posted by Chris @ Running Elgg | 2 comment(s)

Folks,

a beginner here.

I'm confused by the Apache thing.

Does it mean the web hoster I'm going to pick has to use Apache?

If so, do you guys recommend a web hoster? 

Thanks a lo

Jonas 

Keywords: Apache, Hoster, Installation

Posted by Jonas @ Running Elgg | 2 comment(s)

I have found some information concerning this issue.  However, I can not seem to resolve it.  My hosting service is Godaddy and I have found information concerning their use of CGI.  What I do not understand is the changes I need to make to the .htaccess file.  I have removed the # from infront of php_flag register_globals off.  That did not change the error.  From what I can figure out there are other changes I need to make.  I am not a coder.  I can, however, follow directions very well.  The file I downloaded was elgg0.8rc2       I have spoke with Godady support and made sure that all of the other requirements have been met in order to install Elgg.

I have tried writing a php.ini file with the single line register_globals off.  I placed the .ini in the root of my elgg directory.  I should also add that I am using Zen Cart with Elgg in a deeper directory as a forum.

 Please...step by step, can someone please explain what changes I need to make in order to get Elgg to work with Godaddy.  Such as files to edit and the code to insert.

Keywords: 500 Internal Server ErrorGodaddy conflictInstall issueInstall issuesInstallation errorInstallation issueInstallation issuesInter

Posted by Kevin Hamblin @ Running Elgg | 3 comment(s)

May 06, 2007

Topic

Posted by Chris @ Running Elgg | 9 comment(s)

I've tried to figure it out but I can't. For some reason the text in my brief description and elsewhere on the site is not formatting to the body style I wanted. Its black, on a black background?

http://maturegaming.co.uk/community/ch8rt/profile/

Can someone point me in the right direction please? 

Posted by Chris @ Running Elgg | 4 comment(s)

The system never seems to remember me, I have to log in each time?

And the search function pulls up no results every time. Browse work fine, but no tag wall function either?

Any ideas? 

Posted by Chris @ Running Elgg | 0 comment(s)

Is there a way to set the default visual editor setting to "no" so that new users have this automatically?

Keywords: default, visual editor

Posted by John Hackett @ Running Elgg | 0 comment(s)

May 07, 2007

I'm installing elgg 0.8rc2 on an apache 1.3 box with PHP 5.1.4 and MySQL 4.1.21. Immediately after entering the proper info into config.php and running the script that populates the DB, i Get the following error:

Fatal error: Call to undefined function mb_detect_encoding() in /home/xchan/public_html/net/lib/php-getttext/gettext.inc on line 101

I looked around, and I could only find this error when installing the folio plugin, here's the article:

http://elgg.org/admin/weblog/234.html

Now, I didn't think I was doing anything witht folio, but maybe it's included in 0.8rc2 or something. I tried the fix on that discussion, and there's no difference. Any ideas?

Posted by onef @ Running Elgg | 1 comment(s)

Hi all,

I've read (all) about the issue of pages not showing, rewrite engine questions, all the miscellaneous configurations, etc.; I followed all the possible suggestions here and in other places, but still can't solve my problem.

When I try to get the "Edit profile" page ("/profile/edit.php?profile_id=<some_id>") , I get the "unable to locate server" error.

 

When I look at the Apache error log I see an ugly segmentation fault error, e.g. " [Mon May 07 18:04:00 2007] [notice] child pid 27994 exit signal Segmentation fault (11)"

 I tried to pin down the problem, and I see that it occurs as soon as the execution gets to this line in "mod/profile/profile.config.php" (should be somewhere around line 275):

       $data['profile:details'][] = (object)(array(
                                                                    "name" => __gettext("Skype username"),
                                                                    "internal_name" => "skype",
                                                                    "field_type" => "skype",
                                                                    "description" => "",
                                                                    "category" => __gettext("Contact"),
                                                                    "invisible" => false,
                                                                    "required" => false,
                                                                    "user_type" => "",
                                                                    ));

If I comment out from that point until the rest of the file, the profile page loads ok.

 I get sometimes the same error when I try to get the "Tags" page ("/<user_name>/profile"); it happens just sometimes.

 Also, I was having the same problem with the "view profile" page itself, and after I added the empty constructor method for the class ElggProfile2 (in "profile/index.php"), the problem was solved.

All the rest seems to work just fine. 

I run on SuSe Linux (SLES 10), PHP 5.1.2, Apache 2.2.3, and I installed a fresh Elgg 0.8rc2 (not an upgrade or something, just a plain vanilla 0.8 out of the box). By the way, I was experiencing the same problem when I tried 0.7 some time ago.

All this is a very strange behaviour. Could it be that there is some sort of incompatibility with some component used in Elgg and my configuration? Any hints, ideas?

Thank you for your help.

Best regards.

Keywords: error, segmentation fault

Posted by johndoe @ Running Elgg | 5 comment(s)

Hi. Just installed ELGG and fell at the first hurdle. Frown

Afte rinstall I entered http://mydomain/_elggadmin and I get a '500 Internal Server Error'.

I'm using a hosted apache server and ISP says it sounds like a .htaccess problem.

I've looked at the .htaccess file in the root folder and I saw that it had code:

<Files "htaccess-dist">
    order allow,deny
    deny from all
</Files>

I thought the file name may be a problem so I changed this to just "htaccess" but same problem.

Any pointers?

 

Keywords: 500 Internal Server Error _elggadmin htaccess

Posted by Mark Robson @ Running Elgg | 17 comment(s)

May 08, 2007

Is there a way to keep the homepage seperate from users choice of theme? I want to use some image text in places that fits with the default theme, but is the wrogn colour for all the other themes. Basically it looks wrong with all themes other than default.

 I don't want to take the themes away from users, but I also don't want to just have plain text headers on the homepage. Unless that is the only option.

 Thanks in advance

Posted by Chris @ Running Elgg | 3 comment(s)

The profile picture and caption are taking up far to much room on my front page news blog, and their not necessary, but I can't find how to get rid of them?

Posted by Chris @ Running Elgg | 4 comment(s)

Obviously you can point it at one particular user, but can you get to to exclude a user/community blog?

Posted by Chris @ Running Elgg | 0 comment(s)

In a new installation of elgg I get a blank screen following changes to the admin panel and the changes are not saved. I had tried changing the attributes to 777 for the Default_template directory and 666 for its files but no success.

As the site is hosted by an ISP there is not much fiddling I can do ...

Thanks
Veronica

Posted by Glenaffric @ Running Elgg | 2 comment(s)

May 09, 2007

Is it possible? I'm the creator of several communities on my site and cannot find the option to add widgets?

Posted by Chris @ Running Elgg | 1 comment(s)

Hi,

 Finally succeeded in installing Elgg, but it looks horrible as it is not finding the CSS file.

In the header I have

<link href="http://elgg.yabadoo.es/_templates/css/Default_Template" rel="stylesheet" type="text/css" />
 And it should of course be
<link href="http://elgg.yabadoo.es/mod/template/templates/Default_Template" rel="stylesheet" type="text/css" /> 

 Although I'm surprised that the css files do not have the css extension.

 I'd appreciate any suggestions, thanks! 

Keywords: css installation issue

Posted by JuddMuir @ Running Elgg | 2 comment(s)

So that users don't need to log in twice?

Posted by Chris @ Running Elgg | 7 comment(s)

Should I design my Elgg website before I upload everything to my server?

or should I just upload what is in the installation package?

 Thanks

Keywords: design, FTP, installation, server

Posted by Jonas @ Running Elgg | 1 comment(s)

I get the following text on the top of my screen:

 

Warning: copy(profile.config.php) [function.copy]: failed to open stream: Permission denied in /mounted-storage/home39b/sub002/sc30492-YAIP/www/comm/mod/profile/lib.php on line 60

Checking this with an version of ELGG which works perfectly (not having the text above) and setting all of the CHMOD rights the same did not work. Also the DATA directory is CHMODded 777 ..

 what can be the problem?

I've searched for 6 hours right now... but still haven't found the problem ;(

Posted by darkd @ Running Elgg | 0 comment(s)

May 10, 2007

I have uploaded the package and try to run/explore more on Elgg.  I am trying to register as a new member but got this error message: Invitation failed: The email address was not valid.

I have checked the email address and confirmed it is correct, having other friends to try and they have the same error message.

I tried to log in as the default user "news", got the error message as: Unrecognised username or password. The system could not log you on, or you may not have activated your account.

Please help!!

Keywords: invalid password, register, registration, unrecognised username or passord

Posted by Sharon Hoo @ Running Elgg | 0 comment(s)

I would like elgg to switch languages based on the server's URL. For example, french.elgg.org would be in french, and english.elgg.org would be in english. This is easy enough using PHP's $_SERVER array, but I can't figure out how elgg switches languages. The only thing that has worked is for me to put ?lang=en at the end of the URL to switch, but I can't see where this variable is read in the code.

Help?

Keywords: language

Posted by Jordan MacDonald @ Running Elgg | 4 comment(s)

Hello.  I just installed elgg at http://www.daevue.com/community and I can't get the themes to work.  Neither the default_template nor any themes I add to mod/template/templates.  I'm able to toggle between themes in Account Settings>Change Theme; however, nothing changes the look of the page. 

 The next issue is that elgg cannot find the rss page, post new entry page, or view all posts page in the "Your Blog" section.

 Any guidance would be greatly appreciated.

Keywords: blog, install, theme

Posted by leland @ Running Elgg | 0 comment(s)

  • Can someone tell me or point me to a link which explains me exactly what to do to maximize my php memory for elgg. I have my own server.
  • I think I set my memory to 32 but this is what I see on the bottom of my home page:

0.23588 secs RAM: 8.1MB Included 170 files ticks: 23 user: 18 sys: 4 cuser: 0 csys: 0

Keywords: megs, memory, php

Posted by eliyahu @ Running Elgg | 1 comment(s)

I installed the forum plugin and now I see both "community blog" and "community forum" on the right colum. I checked other elgg sites and they only have "community forum" on the right. How can I fix this?

 

 

Keywords: bug, forum

Posted by eliyahu @ Running Elgg | 3 comment(s)

I cannot insert images on any elgg sites using firefox. A small window opens but its blank. Any suggestions. With IE a expanded browser window opens with the image insert in the corner. Also weird.

Keywords: image

Posted by eliyahu @ Running Elgg | 0 comment(s)

  • Is there anyway to get the widget system for profiles like they have on http://elgg.net/
  • If not, is there another way for members to use widgets on their profiles?

Keywords: widgets

Posted by eliyahu @ Running Elgg | 2 comment(s)

How do you get the links to work when you are running on a non-standard port? i.e.  http://localhost:8080

Posted by Joey Blue @ Running Elgg | 1 comment(s)

May 11, 2007

I have uploaded the package and try to run/explore more on Elgg.  I am trying to register as a new member but got this error message: Invitation failed: The email address was not valid.

I have checked the email address and confirmed it is correct, having other friends to try and they have the same error message.

I tried to log in as the default user "news", got the error message as: Unrecognised username or password. The system could not log you on, or you may not have activated your account.

Please help!!

Keywords: email address, invitation failed, news, unrecognised

Posted by Sharon Hoo @ Running Elgg | 1 comment(s)

Is it possible to leave communitys out of the {{blogsummary:X}} keyword? I've tried several things, with no luck, I have a blogsummary on my homepage but sat next to the news blog its mainly just repeating and knock user blogs down the list?

 And also is the keyword {{people:interests:foo:5}} designed to work with all new profile fields or does it need setting up? I've tried {{people:games:halo 2}} with no luck?

Keywords: {{blogsummary}}, {{people:interests:foo}}, theme keywords

Posted by Chris @ Running Elgg | 3 comment(s)

is it possible?

Keywords: graphica dislay, network

Posted by Babul @ Running Elgg | 2 comment(s)

There are a few spots throughout Elgg where I'd like to input variables into CSS files. Unfortunately, I'm not sure how Elgg goes about replacing variables like {{url}} throughout its CSS files. Does anyone know where Elgg makes these swaps?

 

Thanks! 

Posted by Jordan MacDonald @ Running Elgg | 2 comment(s)

Hi all,

I am looking to set-up a social networking site for a non-profit educational venture. I am not familiar with programming and would like to know if there are any freelancers on here who can help set this up for me. I am looking to include the following plug-ins:

Siteusers; Upcoming Events; Logged in Users; fancy submenu; messages; calender;  advertiser; mediawiki integration; tasklist (for media wiki); forum; and forwarder.

Additionally, I would like to have a "course catalog" which course providers can announce their e-learning and study abroad courses set to expire on a date that the user inputs (maybe the last day students can register, etc) with the following fields:

 Name of University/College; Name of Course; Course Number; Course description;Credit's that can be earned; Cost of the course; Contact details; (and maybe a place to upload a flyer)

Let me know if you know someone who can do this!

Thanks,

Goutham Menon, Associate Professor, University of Texas at San Antonio

Keywords: Freelancer; Elgg installation; elgg design

Posted by Goutham Menon @ Running Elgg | 1 comment(s)

So, what's the story with PostgreSQL in Elgg?  With 0.7, I had problems with the database installation, presumably due to MySQLisms.  About a week after I discovered 0.7, 0.8 was released, so I tried it instead.  The DB installation works (with PostgreSQL 8.1.8 and postgres7 as the database type), but the system still doesn't work completely "out of the box".  I can get some basics to work by tweaking mod/widget/postgres7.sql or even disabling the widget module, but I still run into DB errors (Browse doesn't work, nor do alternate themes, etc.).  Isn't ADOdb supposed to abstract the DB (avoiding MySQLisms)?  Is PostgreSQL a lost cause for now?  The 0.7 installation instructions only say "Postgres can also be used", but that seems to be the extent of "official support". 

Is anybody successsfully using PostgreSQL with Elgg?

Posted by Allen @ Running Elgg | 3 comment(s)

May 12, 2007

I am having trouble deleting RSS feeds under the Resources tab. It gives me the option of unsubscribing (which doesn't work), but no option to outright delete it. I am doing this from the news login.

Keywords: delete, feed, feeds

Posted by sbsgator @ Running Elgg | 1 comment(s)

How can I get a RSS with all posts and comments on the site like:

http://globalyeshiva.com/activity/all/joe/html/weblog+weblog_comment+file+page+page_comment/all/1

without the user name (joe) in it. I need an RSS for my feedburner subscribers.

Are there any RSS feeds without a username?

Should I just use any username?

Thanks 

Keywords: rss

Posted by eliyahu @ Running Elgg | 3 comment(s)

The setting in the admin control panel--

"Maximum disk space - the maximum disk space taken up by all uploaded files"

  1. Is this setting per user?
  2. Why does the setting always go blank after I save it?
  3. Even after I save it does not show up different in the on the members account settings
  4. What number do I need to use to give each member 200 mg of space?

 

Keywords: disk space

Posted by eliyahu @ Running Elgg | 1 comment(s)

May 13, 2007

 

 Hi

 I encounter the following error during installation. I believe it has to with the $CFG->dirroot. But I don't know what is it. Could someone help me?

Warning: main(/home/public_html/lib/cache/lib.php): failed to open stream: No such file or directory in /home/coolscie/public_html/elgg/includes.php on line 78

Fatal error: main(): Failed opening required '/home/public_html/lib/cache/lib.php' (include_path='.:/usr/local/lib/php') in /home/coolscie/public_html/elgg/includes.php on line 78

Posted by angsikod @ Running Elgg | 1 comment(s)

May 14, 2007

i have this 2 warnings on the top of my elgg site...

Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in C:\AppServ\www\elg\lib\php-getttext\gettext.inc on line 131

Warning: setlocale() [function.setlocale]: Invalid locale category name LC_MESSAGES, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME. in C:\AppServ\www\elg\lib\php-getttext\gettext.inc on line 131

ill apreciate you help....

thanx!

 

Posted by chalito @ Running Elgg | 1 comment(s)

Hi all,

Being new to ELGG... I have a problem, When I browse to my elgg site, I get the login page with no CSS or graphics applied.  Once I login as a user, the CSS and grpahics are applied.  Logout and refresh the screen I go back to no CSS etc.... Any ideas??

Artie 

Posted by Artie Ball @ Running Elgg | 4 comment(s)

Is there any documentation on the mail blogger plugin? How do I set it up?

Keywords: Mail Blogger plugin

Posted by eliyahu @ Running Elgg | 1 comment(s)

I just did a fresh install of the most recent SVN files and everything went smoothly except the templates (in this case default_template) aren't being applied on the site so there is no formatting. I ran into this issue before but am finally getting back to this with a new machine and install (was thinking I had messed up the other install since I had started with version 7 and done a bunch of messing around). Anyway, I ahve this set up on a Windows 2003 machine with php5 and Apache2. When I look into the Apache Access log I see this:

GET /_templates/css/Default_Template HTTP/1.1" 400  

Any ideas why this isn't working out? Is this the correct location? Thanks

 in advance for the help 

 

Keywords: CSS, Templates

Posted by Steve @ Running Elgg | 6 comment(s)

May 15, 2007

 I got to this part of the installation, and I dont understand what it is asking me to do.

 

2.2 Create data directory

The data directory needs to be written to during Elgg's normal
operation to store uploaded files and so on.  This does not come with
Elgg out of the box, and needs to be manually created. You can
create it anywhere reachable by the Elgg installation scripts,
although we recommend you place it outside of your web server root.

You must assign the correct privileges.  To do this you may be able to
right click on the folder and set the "CHMOD" value, or you may have
to use your command line terminal, navigate to the data folder, and
type:

    chmod 777 data
   
Where 'data' is the name of your data directory.

Posted by Brandy @ Running Elgg | 7 comment(s)

I just tried to install ELGG, and got some errors. I have fixed them already. I would like to tell what happen to me, this may be helpful for someone.

  1. You cannot set $CFG->dataroot to something like "http://mysite.com/data/", but with the value of $CFG->dirroot, which looks like "/home/elggserver/httpdocs/data"
  2. Turn off register_globals: open .htaccess, find
    #php_flag register_globals off
    delete the "#", and save.
  3. If you got a blank page, check out this wiki page: http://elgg.org:81/mod/mediawiki/wiki/index.php/Common_ins

Posted by Zack @ Running Elgg | 4 comment(s)

I just installed ELGG, and I loggin as news, I got a blank page when click the "RSS feed for files" in [Your Files] page. Did I forget to set somethin up or just bug? Here is the link:

http://digimoe.com/news/files/rss/ 

Posted by Zack @ Running Elgg | 1 comment(s)

May 16, 2007

just saw this nice write-up of explode at mashable: 

...and of course, this makes the tight integration into .8 even more interesting considering how much traction explode could get

as for ning, i also really like it - but the idea that i could build my own entire community site and simply plugin to explode is far more attractive than just building a fancy page with limited features inside ning - just my opinion, though i'm certain many here agree since you're all elgg cronies ;)

what would be cool is to enhance the searches within/across explode to indicate if the person is "reachable" via private messages - that is what makes the networks work so to speak, the ability to actually contact the person once found...

congrats on the nice coverage!

Keywords: explode, ning

Posted by daveinboston @ Running Elgg | 0 comment(s)

May 17, 2007

I want to change the name of "news".

Bcause I want to be every user's first friend, that's  what news do, so I want to use news as my account with my own name. How can I do that?

Posted by Zack @ Running Elgg | 4 comment(s)

Hi everyone, I'm trying to get Elgg running on a shared server (Aplus.net).  It's got PHP 5 and MYSQL 4 - I'm not sure which minor versions, although I remember they were higher than the requirements.  I can check if this is important.

 

When I go to http://mydomain.net/_elggadmin I get a "500 Internal Server Error".  I've tried messing with my .htaccess and config.php files, but nothing seems to make any difference at all. 

 

My domain that I'll be using is mcvine.net, which is a directory inside my root directory, so elgg is in this directory: /mcvine.net/html/ although I think on the server the real path is /home/u4/csmcdermott/mcvine.net/html/.  All the elgg files are in there.  I renamed the files to config.php and .htaccess, as the instructions require.  I created a data directory in /mcvine.net/elggData/ and made sure permissions are 777.  

 

Here's my .htaccess file:

 

<IfModule !mod_rewrite.c>
    # ugly ugly hack to detect missing mod_rewrite
    # RedirectMatch must be to an absolute destination, so forces 500 error...
    ErrorDocument 500 "Elgg error: Apache does not have mod_rewrite loaded. Please check your apache setup."
    RedirectMatch 302 .* index.php
</IfModule>

<Files "htaccess-dist">
    order allow,deny
    deny from all
</Files>

Options +FollowSymLinks

# Whether to display PHP error messages in page output. Recommended to be off for production systems.
# Messages will be logged to Apache's error log regardless.
php_flag display_errors on

# PHP defaults to allowing file uploads of max 2MB, below is example option for 5MB.
# NB: Adjusting value may not work, depending on other configured php and apache limits.
# for more info see http://php.net/manual/en/features.file-upload.php and http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody
# post_max_size should be slightly larger than upload_max_filesize, but the default is usually 8MB anyway.
#php_value post_max_size 8388608
#php_value upload_max_filesize 5242880

# Elgg can be more of a RAM lover than PHP's default of 8 meg. E.g. 16 meg:
php_value memory_limit 16777216

# Not really necessary, just to be clean
#php_flag short_open_tag off
# Forgot that anyone might still have this turned on
php_flag register_globals off

<IfModule mod_rewrite.c>

RewriteEngine on

# If Elgg is in a subdirectory on your site, you might need to add a RewriteBase line
# containing the path from your site root to elgg's root. e.g. If your site is
# http://example.com/ and Elgg is in http://example.com/sites/elgg/, you might need
#
#RewriteBase /mcvine.net/html/
#
# here, only without the # in front.
#
# If you're not running Elgg in a subdirectory on your site, but still getting lots
# of 404 errors beyond the front page, you could instead try:
#
RewriteBase /

RewriteRule ^_templates/css/(.+)$ _templates/css.php?template=$1

RewriteRule ^(.+)\/rssstyles.xsl$ _rss/styles.php?rssurl=$1&url=$1

RewriteRule ^([A-Za-z0-9]+)\/dashboard(\/)?$ mod/adash/index.php?user=$1

RewriteRule ^([A-Za-z0-9]+)(\/)?$ profile/index.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/profile(\/)?$ profile/index.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/tags(\/)?$ search/personaltags.php?profile_name=$1
RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=profile
RewriteRule ^([A-Za-z0-9]+)\/rss\/(.+)\/?$ profile/rss2.php?profile_name=$1&tag=$2

RewriteRule ^([A-Za-z0-9]+)\/newsclient\/?$ _rss/subscriptions.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/newsclient\/all\/?$ _rss/index.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/newsclient\/all\/skip=([0-9]+)$ _rss/index.php?profile_name=$1&feed_offset=$2

RewriteRule ^([A-Za-z0-9]+)\/feeds\/?$ _rss/subscriptions.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/feeds\/all\/?$ _rss/index.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/feeds\/all\/skip=([0-9]+)$ _rss/index.php?profile_name=$1&feed_offset=$2


RewriteRule ^([A-Za-z0-9]+)\/weblog\/?$ mod/blog/index.php?weblog_name=$1
ReWriteRule ^([A-Za-z0-9]+)\/weblog\/skip=([0-9]+)$ mod/blog/index.php?weblog_name=$1&weblog_offset=$2
RewriteRule ^([A-Za-z0-9]+)\/weblog\/edit$ mod/blog/edit.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/weblog\/edit\/([0-9]+)$ mod/blog/edit.php?profile_name=$1&weblog_post_id=$2&action=edit
RewriteRule ^([A-Za-z0-9]+)\/weblog\/archive\/?$ mod/blog/archive.php?weblog_name=$1
RewriteRule ^([A-Za-z0-9]+)\/weblog\/archive\/([0-9]+)\/([0-9]+)\/?$ mod/blog/archive_month.php?weblog_name=$1&year=$2&month=$3
RewriteRule ^([A-Za-z0-9]+)\/weblog\/friends\/?$ mod/blog/friends.php?weblog_name=$1
ReWriteRule ^([A-Za-z0-9]+)\/weblog\/friends\/skip=([0-9]+)$ mod/blog/friends.php?weblog_name=$1&weblog_offset=$2
RewriteRule ^([A-Za-z0-9]+)\/weblog\/interesting\/?$ mod/blog/interesting.php?weblog_name=$1
ReWriteRule ^([A-Za-z0-9]+)\/weblog\/interesting\/skip=([0-9]+)$ mod/blog/interesting.php?weblog_name=$1&weblog_offset=$2
RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html$ mod/blog/view_post.php?post=$1
RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html.([0-9]+)$ mod/log/view_post.php?post=$1&commentpage=$2
RewriteRule ^([A-Za-z0-9]+)\/weblog\/rss\/(.+)\/?$ mod/blog/rss2.php?weblog_name=$1&tag=$2&modifier=is
RewriteRule ^([A-Za-z0-9]+)\/weblog\/rssnot\/(.+)\/?$ mod/blog/rss2.php?weblog_name=$1&tag=$2&modifier=not
RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/weblog\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=weblog
RewriteRule ^([A-Za-z0-9]+)\/weblog\/category\/([^\/]+)\/?$ mod/blog/index.php?weblog_name=$1&filter=$2
ReWriteRule ^([A-Za-z0-9]+)\/weblog\/category\/([^\/]+)\/skip=([0-9]+)$ mod/blog/index.php?weblog_name=$1&filter=$2&weblog_offset=$3
ReWriteRule ^weblog\/everyone$ mod/blog/everyone.php
ReWriteRule ^weblog\/everyone\/(people|communities|commented|uncommented)$ mod/blog/everyone.php?filter=$1
ReWriteRule ^weblog\/everyone\/skip/([0-9]+)$ mod/blog/everyone.php?weblog_offset=$1

RewriteRule ^tag\/(.+)\/?$ search/all.php?tag=$1
RewriteRule ^rsstag\/(.+)\/?$ search/rss.php?tag=$1
RewriteRule ^tag\/(.+)/ecl\/?$ search/ecl.php?tag=$1

RewriteRule ^([A-Za-z0-9]+)\/friends\/?$ _friends/index.php?friends_name=$1
RewriteRule ^([A-Za-z0-9]+)\/foaf\/?$ _friends/foaf.php?friends_name=$1

RewriteRule ^([A-Za-z0-9]+)\/communities\/?$ mod/community/index.php?friends_name=$1
RewriteRule ^([A-Za-z0-9]+)\/communities\/owned$ mod/community/owned.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/communities\/new$ mod/community/new.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/community\/delete$ mod/community/index.php?profile_name=$1&action=community:delete
RewriteRule ^([A-Za-z0-9]+)\/community\/requests$ mod/community/requests.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/community\/requests\/aprove\/([0-9]+)$ mod/community/requests.php?profile_name=$1&action=community:approve:request&request_id=$2
RewriteRule ^([A-Za-z0-9]+)\/community\/requests\/decline\/([0-9]+)$ mod/community/requests.php?profile_name=$1&action=community:decline:request&request_id=$2
RewriteRule ^([A-Za-z0-9]+)\/community\/members$ mod/community/members.php?profile_name=$1
RewriteRule ^([A-Za-z0-9]+)\/community\/separate\/([0-9]+)$ mod/community/members.php?profile_name=$1&friend_id=$2&action=separate
RewriteRule ^community\/([0-9]+)\/?$ mod/communities/community.php?community_id=$1

RewriteRule ^([A-Za-z0-9]+)\/files\/?$ _files/index.php?files_name=$1
RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9]+)\/?$ _files/index.php?files_name=$1&folder=$2
RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9\-]+)\/([0-9]+)\/(.+)$ _files/download.php?files_name=$1&folder=$2&filename=$4&id=$3
RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/files\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=files
RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/(.+)\/?$ _files/rss2.php?files_name=$1&tag=$2

RewriteRule ^_icon\/user/([-0-9]+)$ _icons/icon.php?id=$1
RewriteRule ^_icon\/user/([-0-9]+)\/([A-Za-z])\/([0-9]+)$ _icons/icon.php?id=$1&constraint1=$2&size1=$3
RewriteRule ^_icon\/user/([-0-9]+)\/([A-Za-z])\/([0-9]+)\/([A-Za-z])\/([0-9]+)$ _icons/icon.php?id=$1&constraint1=$2&size1=$3&constraint2=$4&size2=$5
RewriteRule ^_icon\/file/([-0-9]+)$ _files/icon.php?id=$1

# Some blogging clients probe Wordpress or MoveableType endpoints,
# redirect them to the Elgg xml-rpc endpoint
#
RewriteRule xml-rpc.php _rpc/RPC2.php
RewriteRule mt/mt-xmlrpc.cgi _rpc/RPC2.php

</IfModule>

 

 

 

 

and here's my config.php file:

 

<?php
// ELGG system configuration parameters.

// System constants: set values as necessary
// Supply your values within the second set of speech marks in the pair
// i.e., define("system constant name", "your value");

// Name of the site (eg Elgg, Apcala, University of Bogton's Social Network, etc)

    $CFG->sitename = 'McVine';

// A tagline for your site (eg 'Social network for Bogton')

    $CFG->tagline = 'In memory of Helen McCarthy';

// External URL to the site (eg http://elgg.bogton.edu/)
// NB: **MUST** have a final slash at the end

    $CFG->wwwroot = 'http://www.mcvine.net/';

// Physical path to the files (eg /home/elggserver/httpdocs/)
// NB: **MUST** have a final slash at the end

    $CFG->dirroot = '/home/u4/csmcdermott/mcvine.net/html/';

// Email address of the system (eg elgg-admin@bogton.edu)

    $CFG->sysadminemail = 'csmcdermott@gmail.com';

// Account 1, with username news, is initially administrator. This
// will be its initial password - UPON INSTALLATION, YOU SHOULD LOG
// IN AS NEWS AND CHANGE THE PASSWORD IMMEDIATELY.

    $CFG->newsinitialpassword = 'mcpassword';
   
// Country code to set language to if you have gettext installed
// To include new languages, save their compiled .mo gettext
// file into languages/country code/LC_MESSAGES/
// (the file within this folder must be called elgg.mo)
// See https://launchpad.net/elgg/trunk/+pots/elgg for more
// translations.

    $CFG->defaultlocale = 'en_GB';

// The following should be set to false if you don't want the
// general public to be able to register accounts with your
// Elgg site.

    $CFG->publicreg = true;
   
// The following should be set to false if you don't want users
// to be able to invite new users into the system.

    $CFG->publicinvite = true;

// Set this to a positive number to cap the number of users in your
// installation, for example if you're testing and only have a certain number
// of resources available to you.

    $CFG->maxusers = 0;

// Set this to 1 to enable a walled garden - i.e., if you're not logged in,
// all you can see is the login page.

    $CFG->walledgarden = 0;

// If the following string is non-blank, it must be present within
// the domains of email addresses of people signing up. For example,
// if you set it to yourinstitution.edu, a user with the email address
// foo@bar.yourinstitution.edu will be able to sign up.
// This rule will hold true for both public registrations and invitations
// from within the system (if either are enabled).

    $CFG->emailfilter = "";
   
// The following sets the default access level within the Elgg
// site. Possible values include:
//        PUBLIC        :: available to everyone
//        LOGGED_IN    :: available to logged in users only
//        PRIVATE        :: available to the user only

    $CFG->default_access = "LOGGED_IN";

// Set the following to true to force users to log in before they can post comments, overriding per-user option
// Handy sledgehammer-to-crack-a-nut to protect against comment spam.
    $CFG->disable_publiccomments = true;
   
// dataroot. this is where uploaded files will go (and sessions for now)
// This should be OUTSIDE your wwwroot.
// NB: **MUST** have a final slash at the end

    $CFG->dataroot = '/home/u4/csmcdermott/mcvine.net/elggData/';

// You may change these values to something else but you must ensure that
// the user the web server process runs as is able to read and write under
// these permissions.
//$CFG->directorypermissions = 0777;
//$CFG->filepermissions = 0666;

    $CFG->dbtype = 'mysql'; // for now
    $CFG->dbhost = 'localhost';
    $CFG->dbuser = 'csmcdermott';
    $CFG->dbpass = 'mcpassword';
    $CFG->dbname = 'csmcdermott';
    $CFG->dbpersist = false;

// The following will assume all your database tables have this value at the start
// of their names. If you're upgrading from an earlier version of Elgg, you might
// need to set this to $CFG->prefix = '';

    $CFG->prefix = '';

// performance and debugging
// Uncomment this to get sql errors sent to the webserver error log.
// $CFG->dblogerror = true;

// verbosity of PHP error message logging.
// set this to 2047 to get adodb error handling.

    //$CFG->debug = 0; // don't log *any* error messages. previously this was the (unhelpful) default.
    $CFG->debug = 7; // only basic errors. for production systems. equivalent to php (E_ERROR | E_WARNING | E_PARSE).
    //$CFG->debug = 2047; // errors and notices. for development systems/debugging. equivalent to php E_ALL.

// Number of days to keep incoming RSS feed entries for before deleting them.
// A value of 0 disables automatic deletion.

    $CFG->rsspostsmaxage = 0;

// Set this to 'admin' to only allow administrators to create new communities.
// You can set this to other user flags if you're told to by a plugin.