I just installed learninglocker on a windows 8 machine using IIS. The url http://learninglocker/public loads the login page but there are no links to a registration page. I guessed several urls with "register" without success.
I think I am missing something. Only the public folder has the index.php that boostraps the application. I am familiar with ASP.NET MVC and AngularJS which use both server-side and client-side routing. Without either an IIS config or a funny url (i.e. learninglocker/public/#/register) I do not understand how the application is supposed to work. This of course, makes it hard to troubleshoot.
Any help would be appreciated! Thanks
What happens when you go to that page?
Did you get mongodb running successfully?
Andrew
Andrew
--
You received this message because you are subscribed to a topic in the Google Groups "Learning Locker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/learning-locker/ULtoICNOKa0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to learning-lock...@googlegroups.com.
To post to this group, send an email to learnin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There was an error after logging in. Laravel installed the newest update that requires 3 more functions in the learninglocker\app\models:
public function getRememberToken()
{
return $this->remember_token;
}
public function setRememberToken($value)
{
$this->remember_token = $value;
}
public function getRememberTokenName()
{
return 'remember_token';
}
After adding these 3 functions, I was able to log in with XAMPP on a Windows 8 machine.
Please try installing learning locker directly into the htdocs folder.
Andrew
Below are the configuration changes I made after installing LL:
1. mod_rewrite.so and mod_negotiation.so in httpd.conf is enabled.
2. have made Allowoverride All for the directory path where LL is installed:
<Directory "D:/Apache_HTTP_Server_2.4.9_Win_O/httpd-2.4.9-x86/Apache24/htdocs/">
AllowOverride All
</Directory>
3. Have made allow override All for the directory path where LL is installed in httpd-default.conf
<Directory "D:/Apache_HTTP_Server_2.4.9_Win_O/httpd-2.4.9-x86/Apache24/htdocs/">
AllowOverride All
</Directory>
4. .htaccess file in htdocs/learninglocker/public have content as below:(have removed the content which was already there in .htaccess file).
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I know this is old, but after hours, this is the only solution that worked on IIS.
https://gist.github.com/leabdalla/6135627
put this in the web.config file in /public folder and change
<action type="Rewrite" url="public/index.php/{R:1}" />
into :
<action type="Rewrite" url="index.php/{R:1}" />
no need to convert htaccess to web.config, no need to move the files back into the root folder(unsafe), it needs /public folder for other parts of the application, so don't touch it. No need to use index.php at the end of the url. Redirect works fine.
I'm okay with the /public/yoursite for now, that would be another topic.
I am also an ASP.Net developer and interested to have my own LRS installed on Windows 10 (& may be on Windows server at a later stage). Could you please help providing more details how can I fully install Learning Locker LRS on my windows PC? I would like to install it from scratch. Please provide sites I should refer to have LRS install on Windows PC.
Thanks in advance.
Thanks,
G