Dear experts,
I'm installing elgg in windows xp with mysql, apache, and php instead of using easyphp. The problem arises when I'm registering in the login page, I got the following error in the 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 in my apache server error log it shows:
[Mon Dec 07 12:05:49 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 12:05:49 (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), referer: http://serenity/social/
[Mon Dec 07 12:05:49 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 12:05:49 (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), referer: http://serenity/social/
[Mon Dec 07 12:05:49 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 12:05:49 (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), referer: http://serenity/social/
[Mon Dec 07 12:05:49 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 12:05:49 (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), referer: http://serenity/social/
[Mon Dec 07 12:05:49 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 12:05:49 (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), referer: http://serenity/social/
[Mon Dec 07 12:05:49 2009] [error] [client 192.168.1.2] WARNING: 2009-12-07 12:05:49 (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), referer: http://serenity/social/
[Mon Dec 07 12:05:49 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/vendors/jquery/jquery-1.3.2.min.js HTTP/1.1 to file, referer: http://serenity/social/elgg1.6.1/
[Mon Dec 07 12:05:49 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/vendors/jquery/jquery-ui-1.7.2.custom.min.js HTTP/1.1 to file, referer: http://serenity/social/elgg1.6.1/
[Mon Dec 07 12:05:49 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/vendors/jquery/jquery.form.js HTTP/1.1 to file, referer: http://serenity/social/elgg1.6.1/
[Mon Dec 07 12:05:49 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/_css/js.php?lastcache=1260027828&js=initialise_elgg&viewtype=default HTTP/1.1 to file, referer: http://serenity/social/elgg1.6.1/
[Mon Dec 07 12:05:49 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/_css/css.css?lastcache=1260027828&viewtype=default HTTP/1.1 to file, referer: http://serenity/social/elgg1.6.1/
[Mon Dec 07 12:05:49 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 12:05:58 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/
From the error log, I can tell that it has bunch of php errors and I don't know what it means. Also the last error says "Cannot map GET", I'm not sure what it means either. Could anybody help me on this? Pardon me since I'm a novice in apache, php, and elgg....
regards,
ethereal1m
ps: is there any tag (besides the quote tag) that can display the output more read-friendly? thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- kaninglamig@kaninglamig

kaninglamig - 0 likes
- ethereal1m@ethereal1m

ethereal1m - 0 likes
- ethereal1m@ethereal1m

ethereal1m - 0 likes
- ethereal1m@ethereal1m

ethereal1m - 0 likes
- elgg_noob@elgg_noob

elgg_noob - 0 likes
- ethereal1m@ethereal1m

ethereal1m - 0 likes
- elgg_noob@elgg_noob

elgg_noob - 0 likes
You must log in to post replies.if your on windows maybe THIS can give you a hint ;-)
@kaninglamig,
the page you are referring talks about magic_quotes_gpc where its setting on my php is turn off. When I change it to on it still leaves me with the same error. Not sure if this is something to do with it.... any suggestion?
I just realized the root cause of the problem but still looking for the solution. This looks like a very simple one but tough to a novice like me. When I hover my mouse on any of the links on the elgg login page like "login", "register", or "lost password", they were pointing at wrong location! But I don't know why they do that...
please help...
I got it, I forgot to clear up the database so that the previous configuration was persistent
I'm seeing this same issue, how did you resolve it?
Please be clear and details as the name implies, I'm a noob. :-)
TIA
Hi elgg_noob, as I mentioned before I cleared the database which means I manually went to mysql and delete the elgg database there.
Thanks, I just did that a few days ago for an unrelated reason.