Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 11:07:46 AM

Pages: [1]   Go Down
  Print  
Author Topic: Elgg Help  (Read 2022 times)
technopapa4
Newbie
*
Offline Offline

Posts: 3



« on: August 28, 2010, 10:52:57 PM »

Does anyone out there have experience with getting Elgg to work with Lunarpages hosting.  I followed a tutorial and got things installed the way I was supposed to (I think), but am getting a parse error (www.InternetProjectFiles.com if you wanna check it out).

Just need the benefit of somebody else's experiences.

Thanks,

Technopapa4
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #1 on: August 29, 2010, 08:22:42 AM »

The error message says that there is an unexpected new (as in
Code:
objectname = new classname(parms);
) on or near line 57. Show us lines 42 through 62 of start.php (where the error is). Indicate which line is 57. My guess is that some code got mangled, leaving a "new" floating around where it shouldn't be.
Logged

technopapa4
Newbie
*
Offline Offline

Posts: 3



« Reply #2 on: August 29, 2010, 07:09:44 PM »

I haven't made any changes to the elgg code at all, so I'm thinking perhaps it could be an issue with the server.  I didn't know if there is anything that needs to be setup with LunarPages to get elgg working, or even if elgg would work with Lunarpages hosting at all.

Anyway, here is the code snippet being referred to in the error:

    * Load the system settings
    */
   if (!include_once(dirname(__FILE__) . "/settings.php")) {
      throw new InstallationException("Elgg could not load the settings file.");
   }

Thanks.
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #3 on: August 30, 2010, 08:49:50 AM »

Are you running PHP 5, or are you still at the default of PHP 4? I think the "try and catch" requires PHP 5. Your control panel will probably say PHP 4, but if there's a button for "Enable PHP 5", use it. Run the script
Code:
<?php phpinfo(); ?>
and confirm that you're running PHP 5.
Logged

durangod
Galactic Royalty
*****
Offline Offline

Posts: 203


« Reply #4 on: August 30, 2010, 09:20:23 AM »

just my two cents, welcome to the world of elgg, i also had elgg at one time, worked my tail off to try to get it working and then finally after a few months got it looking nice, only to find out that it was all for nothing, some of the mods i was using (which is why i went with elgg in the first place) are not supported and the programmer obandened them and so i was left high and dry with no replacement,  so i had to remove the mod and tried to find a work around that was not available...

also to get elgg working properly i had to do alot of php ini and htaccess changes, i had to increase the memory and the file upload limit.  

my feeling is that elgg could be a really wonderful program but they didnt focus on having a good foundation to build on first, they slapped it together with patch after patch and just try to upgrade from one version to the next and talk about a freaken headache...

i do not reccommend elgg, it looks nice in the box but unless things have changed drastically in the last 6 months what you end up with is a time consuming headache and a royal pain in the a__...    

i finally gave up on elgg and removed it from my server and went with my own deal..

can i ask what are you hoping to do with it, do you want a social site or what?   there may be other solutions...

maybe i can save you alot of headache here...  
Logged
technopapa4
Newbie
*
Offline Offline

Posts: 3



« Reply #5 on: August 30, 2010, 09:53:38 AM »

@MrPhil...you are exactly right...even though my CP said it was PHP5, I had to go into the PHP settings and explicitly set it to PHP5, and then I got past that error.  I got it hooked up to the database, and am now getting a 500 Internal Server error when I try to save the settings.  That one looks to be an issue with the mod_rewrite settings...I have an email to support in on that one because I don't believe I have access to the file that needs edited (httpd).  Thanks for the info.

@durangod...Thanks for your two cents.   Smiling  Luckily, I'm only approaching this from a hobbyist perspective right now.  My ultimate goal is to run an art site with social networking elements to it, but for right now I'm just playing around to see if Elgg could be a tool to use.  Having unsupported mods could definitely be an issue, but I'm a programmer and am probably more interested in seeing if I can mod it myself anyway, so to that end, it may work for me.  The issues you had are definitely something I'm going to keep in mind though, as I make the decision on just how much tweaking I have the patience for.   Hypno
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #6 on: August 30, 2010, 12:48:25 PM »

You don't edit httpd.conf on a shared server. You edit .htaccess. All your mod rewrite stuff should be in there. PHP settings go in php.ini.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: