Forums | Mahara Community

Support /
Installation woes


anonymous profile picture
Account deleted
Posts: 8

28 February 2009, 18:55

Hi Folks, thanks to the forum posts I managed to sort out the dataroot issues. Now I get cofronted with this -

Fatal error: Cannot redeclare http_request() in /home/atcabot/public_html/mahara/htdocs/lib/web.php on line 2591

(I commented out the php flag and stuff on the htaccess for this)

Tried installing on another site and get this  -

Parse error: syntax error, unexpected '{' in /content/StartupHostPlus/g/c/gcseastronomy.co.uk/web/mahara/htdocs/init.php on line 88

I'm trying to be very patient as I've heard Mahara is good and your forum posts are helpful, but this morning (I've been 5 hours on this install now) I installed and set up mediawiki and elgg in under 10 minutes each. I'd like a little resurrance that this is worth it if possible.

Many thanks in advance

anonymous profile picture
Account deleted
Posts: 1643

28 February 2009, 19:36

Hi - as per the troubleshooting section of the installation instructions, your second problem is probably running Mahara on PHP4?

Your first problem is strange. Mahara declares a http_request function, but maybe something dodgy about your include path meant some other file was included before it which just happened to have that function in it?

What version of PHP are you using on the first site, and is there any more errors in the apache error log that might give more information?

anonymous profile picture
Account deleted
Posts: 1643

28 February 2009, 19:45

Oops, I think actually you found a bug!

 http://nz2.php.net/http_request

It appears that function is part of pecl_http, which I guess you have installed on your first host. Our mistake! Frown

We will definitely get this fixed up before 1.1.2. I'll try make a patch ASAP.

anonymous profile picture
Account deleted
Posts: 1643
anonymous profile picture
Account deleted
Posts: 8

28 February 2009, 20:37

Thanks  Nigel. Error log brings up this at the top -

[Sat Feb 28 18:18:18 2009] [crit] [client 86.136.227.225] (13)Permission denied: /home/atcabot/public_html/mahara/test/home/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

 

Running PHP v 5.2.5
anonymous profile picture
Account deleted
Posts: 8

28 February 2009, 21:18

Thank you mate. Had a few more tweaks (postgres db to set up rather than SQL) had the magic quotes error which went magically when I did the things and yeah - I'm in there. Very happy. Phew!

Mahara, here I come!

anonymous profile picture
Account deleted
Posts: 1643

28 February 2009, 21:36

Good to hear! Hope your explorations go well Cool
7 results