need help installing elgg using apache mysql and php

Dear experts,

I recently installing elgg with apache, mysql, and php 5.3.1 instead of using easy php on windows xp. 

I do some modification on Apache httpd.conf.

Problem arises when I try to register, I got the following error in my browser:

 

Forbidden

You don't have permission to access /C:/Documents and Settings/Nia/My Documents/training/web/social/elgg1.6.1/account/register.php on this server

 

and error log shows:

 

(20023)The given path was above the root path: Cannot map GET /C:/Documents%20and%20Settings/Nia/My%20Documents/training/web/social/elgg1.6.1/account/register.php HTTP/1.1 to file, referer: http://serenity/social/elgg1.6.1/

 

What does the error mean?Pardon my ignorance since my knowledge in webserver is pretty shallow.

Much appreciated,

ethereal1m

  • when I try to register in elgg, the following is the error in apache log:

     

    [Mon Dec 07 11:32:50 2009] [error] [client 192.168.1.2] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/favicon.ico
    [Mon Dec 07 11:40:43 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 11:40:43 (KRAT): "The magic method __get() must have public visibility and cannot be static" in file C:\\Program Files\\Apache Software Foundation\\Apache2.2\\social\\elgg1.6.1\\engine\\lib\\relationships.php (line 63)
    [Mon Dec 07 11:40:43 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 11:40:43 (KRAT): "The magic method __set() must have public visibility and cannot be static" in file C:\\Program Files\\Apache Software Foundation\\Apache2.2\\social\\elgg1.6.1\\engine\\lib\\relationships.php (line 77)
    [Mon Dec 07 11:40:47 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 11:40:47 (KRAT): "include(C:/Documents and Settings/Nia/My Documents/training/web/social/elgg1.6.1/version.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory" in file C:\\Program Files\\Apache Software Foundation\\Apache2.2\\social\\elgg1.6.1\\engine\\lib\\version.php (line 74)
    [Mon Dec 07 11:40:47 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 11:40:47 (KRAT): "include() [<a href='function.include'>function.include</a>]: Failed opening 'C:/Documents and Settings/Nia/My Documents/training/web/social/elgg1.6.1/version.php' for inclusion (include_path='.;C:\\php5\\pear')" in file C:\\Program Files\\Apache Software Foundation\\Apache2.2\\social\\elgg1.6.1\\engine\\lib\\version.php (line 74)
    [Mon Dec 07 11:40:47 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 11:40:47 (KRAT): "include(C:/Documents and Settings/Nia/My Documents/training/web/social/elgg1.6.1/version.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory" in file C:\\Program Files\\Apache Software Foundation\\Apache2.2\\social\\elgg1.6.1\\engine\\lib\\version.php (line 74)
    [Mon Dec 07 11:40:47 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 11:40:47 (KRAT): "include() [<a href='function.include'>function.include</a>]: Failed opening 'C:/Documents and Settings/Nia/My Documents/training/web/social/elgg1.6.1/version.php' for inclusion (include_path='.;C:\\php5\\pear')" in file C:\\Program Files\\Apache Software Foundation\\Apache2.2\\social\\elgg1.6.1\\engine\\lib\\version.php (line 74)
    [Mon Dec 07 11:40:47 2009] [error] [client 192.168.1.2] (20023)The given path was above the root path: Cannot map GET /C:/Documents%20and%20Settings/Nia/My%20Documents/training/web/social/elgg1.6.1/_graphics/powered_by_elgg_badge_drk_bckgnd.gif HTTP/1.1 to file, referer: http://serenity/social/elgg1.6.1/
    [Mon Dec 07 11:41:25 2009] [error] [client 192.168.1.2] (20023)The given path was above the root path: Cannot map GET /C:/Documents%20and%20Settings/Nia/My%20Documents/training/web/social/elgg1.6.1/account/register.php HTTP/1.1 to file, referer: http://serenity/social/elgg1.6.1/

     

  • i got it....i forgot to clear up the database so the previous config was persistent

  • hi just to know if someone can help me to install elgg because I do not know if this problem url is general. the path "/ action / systemsettings / install.php" is not there the file "/ actions / systemsettings / install.php" which is now how I should do thanks

  • what do you mean by the path install.php is not there? do you mean that the package doesn't have install.php when you installed it?