Hello,
i have a big problem with installing elgg in a subdirectory on my alfahosting server.
I already followed the steps on elgg's docs/troubleshooting page, but it couldn't solve my problems.
Firstly i installed Elgg 1.5 in the root, and everything worked perfectly.
Because we need a page before elgg's index site, i tried to move it into a subdirectory, although i changed the paths in the database it didn't work.
I tried now to install a clean, new installation in a subdirectory, but i don't get further than to the frontpage.
If I try to register, i get "Fatal error: Call to undefined function
siteaccess_key_enabled() in /var/www/web248/html/mod/siteaccess/views/
default/account/forms/register.php on line 17"
I've already checked, that mod_rewrite is enabled (and it worked on the root directory anyway).
I tried the 2 options to change the htaccess file (Open up .htaccess in a text editor Where prompted, add a line like RewriteBase /path/to/your/elgg/ installation/ (Don't forget the trailing slash) Save the file and refresh your browser.) No change.
I did the http://docs.elgg.org/wiki/Mod_rewrite_test in my subdirectory, and there i noticed something: when i launched testing.php, it said something like modrewrite.php not found, but when i put modrewrite.php in the root, it worked. can this be connected to my general problem?
The database settings etc. are correct, i checked this and i also tried reinstalling elgg several times.
Has somebody experienced similar problems (maybe with alfahosting)?
Unfortunatly i cannot set "allowrewerite all", would this help?
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.
- cabaz888@cabaz888
cabaz888 - 0 likes
- Enno Tammena||Publicstandard@etpublicstandard
Enno Tammena||Publicstandard - 0 likes
- Enno Tammena||Publicstandard@etpublicstandard
Enno Tammena||Publicstandard - 0 likes
You must log in to post replies.Im sorry i cannot help you technically but i can say that elgg "does work" in both subdirs and subdomans, I installed it with no problem at all.
btw, if you just need a single page in your root before elgg loading, I suggest creating a main.html or whatever and tell htaccess to load that one as the directory index, that will do the basic trick to have installed in your root
hope it helps
yeah thats an option i thought of as well, but still i wonder why it doesen't work in a sub. my provider can't help me, at least not for free
a problem of the htaccess idea is that people could still access the index.php if they type it manually in the browser, or am i wrong`<ß?