Hi,
anellic has been following this thread, and he already said that there are no known problems.
Server configuration: https://formalms.org/versions/readme.txt
Problem in login after installation
Re: Problem in login after installation
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Re: Problem in login after installation
Ok, where is the log file of the system stored so that I can investigate?
I see logging happening in the code, where is it?
I see logging happening in the code, where is it?
Re: Problem in login after installation
We don't know apache 4
the apache production version are 2.2 and 2.4
forma.lms run well with apache 2.2 , 2.4 , nginx , MS IIS , and any other web server that can serve php pages.
we have several installation with each of the above mentioned web server
php version must be 5.3, 5.4 , 5.6
mysql version 5.1 to 5.7 and same version of mariadb or mariadb 10 .
I thing your problem is a misconfiguration of your apache / php .
depending of your linux distibution , default standard apache log file locatation is /var/log/httpd/ or /var/log/apache2/ system folder, but the file location can be setted in apache configuration .
php log location is defined in the php.ini configuration file , generally is /tmp
the apache production version are 2.2 and 2.4
forma.lms run well with apache 2.2 , 2.4 , nginx , MS IIS , and any other web server that can serve php pages.
we have several installation with each of the above mentioned web server
php version must be 5.3, 5.4 , 5.6
mysql version 5.1 to 5.7 and same version of mariadb or mariadb 10 .
I thing your problem is a misconfiguration of your apache / php .
depending of your linux distibution , default standard apache log file locatation is /var/log/httpd/ or /var/log/apache2/ system folder, but the file location can be setted in apache configuration .
php log location is defined in the php.ini configuration file , generally is /tmp
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology
http://www.joint-tech.com
---------------
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology
http://www.joint-tech.com
---------------
Re: Problem in login after installation
Hello,
I checked PHP logs, and it shows the following:
[Sat Mar 10 08:28:30 2018] [info] Executing "/.........................../index.php" as UID xxx, GID yyy
[Sat Mar 10 08:28:45 2018] [info] Executing "/.........................../appLms/index.php" as UID xxx, GID yyy
[Sat Mar 10 08:28:46 2018] [info] Executing "/.........................../appLms/index.php" as UID xxx, GID yyy
[Sat Mar 10 08:28:46 2018] [info] Executing "/.........................../index.php" as UID xxx, GID yyy
Nothing in the errors log.
But I was asking about the logging that happens inside the code, like this line:
self::log( "Unset all the globals that aren't php setted. (Emulate register global = off)" );
Where are those logs stored?
Thank you.
I checked PHP logs, and it shows the following:
[Sat Mar 10 08:28:30 2018] [info] Executing "/.........................../index.php" as UID xxx, GID yyy
[Sat Mar 10 08:28:45 2018] [info] Executing "/.........................../appLms/index.php" as UID xxx, GID yyy
[Sat Mar 10 08:28:46 2018] [info] Executing "/.........................../appLms/index.php" as UID xxx, GID yyy
[Sat Mar 10 08:28:46 2018] [info] Executing "/.........................../index.php" as UID xxx, GID yyy
Nothing in the errors log.
But I was asking about the logging that happens inside the code, like this line:
self::log( "Unset all the globals that aren't php setted. (Emulate register global = off)" );
Where are those logs stored?
Thank you.
Re: Problem in login after installation
Hello,
Can anybody answer my question about where logs of this system are stored? I can't locate the error to fix it.
What specific Apache modules should be enabled for the system to rum (in the form of mod_....)? For example, authentication/authorization module based on LDAP, DBM, DBD? I have 88 modules available that can be enabled individually.
Also are you using Ruby? I think it's not enabled in my Apache configuration. What exact component of Ruby needs to be enabled? I have 36 components available.
Can anybody answer my question about where logs of this system are stored? I can't locate the error to fix it.
What specific Apache modules should be enabled for the system to rum (in the form of mod_....)? For example, authentication/authorization module based on LDAP, DBM, DBD? I have 88 modules available that can be enabled individually.
Also are you using Ruby? I think it's not enabled in my Apache configuration. What exact component of Ruby needs to be enabled? I have 36 components available.
Re: Problem in login after installation
I think you have too many modules and no idea.
Formalms is a PHP application. Not a ruby app.
In the root folder there is a reame.txt with install instructions.
No strange modules in apache only PHP.
From errors you posted i can suppose you have misconfigurations of permissions on session folders. Where PHP writes sessions. Check it!
Formalms is a PHP application. Not a ruby app.
In the root folder there is a reame.txt with install instructions.
No strange modules in apache only PHP.
From errors you posted i can suppose you have misconfigurations of permissions on session folders. Where PHP writes sessions. Check it!
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology
http://www.joint-tech.com
---------------
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology
http://www.joint-tech.com
---------------
Re: Problem in login after installation
tempuser I can help but I need some info, PM me to provide ssh access.
Per supporto GRATUITO contattatemi in privato qui
Re: Problem in login after installation
@canelli, I don't think it's a permissions issue, I have a number of other PHP sites working fine. Which specific folders do you mean?
@alfa24, thanks for offering help, if you know the fix please share so that I implement by myself.
May anybody answer my question about where the logging messages in the code are stored?
@alfa24, thanks for offering help, if you know the fix please share so that I implement by myself.
May anybody answer my question about where the logging messages in the code are stored?
Re: Problem in login after installation
No analyze no fix.
Good luck.
Good luck.
Per supporto GRATUITO contattatemi in privato qui
Re: Problem in login after installation
Hello,
I have investigated PHP settings, and I confirmed that there is no issue with writing session information to the sessions folder. Actually I downloaded the session file and found that it shows 'session_timeout' message, although the maxlifetime value in PHP settings is large enough. Any ideas why the session times out? I don't see relevant settings for this in the config.php file. Or could it be in the cookie lifetime?
Also what is the use of the idst column in the 'user' table other than being an ID? I just found the value is too large and reset it to normal incrementing starting from 1, is this an issue?
I have investigated PHP settings, and I confirmed that there is no issue with writing session information to the sessions folder. Actually I downloaded the session file and found that it shows 'session_timeout' message, although the maxlifetime value in PHP settings is large enough. Any ideas why the session times out? I don't see relevant settings for this in the config.php file. Or could it be in the cookie lifetime?
Also what is the use of the idst column in the 'user' table other than being an ID? I just found the value is too large and reset it to normal incrementing starting from 1, is this an issue?
Last edited by tempuser on Sun Mar 25, 2018 8:20 pm, edited 1 time in total.