Fresh installation and strange behaviors

Naujoël
Hello, I have made a fresh installation of Opigno with Composer on Debian 8 and I have obtained the following strange behaviors: 1) As I read in another thread, the messages are not deleted when they are marked as read, in fact it does not change the state when marking as read. 2) In basic configurations of the site, the base address http://lms.example.com/web is determined, however, if we type http://lms.example.com in a browser it does not redirect to the base page and the error 403 Forbidden appears. This error also affects the training subscription link that is sent to the user. However, it does not affect the user registration link. In the first case, a link of the type is received: http://lms.example.com/web/user/reset/21/1551519375/QqA9LYViwcLBJ08CcAZ… While in the second case a link of the type is received: http://lms.example.com/group/2 Are they really strange behavior of the platform or is it due to some misconfiguration on my part? Thank you for your attention.
axel

Hi Naujoël,

Hi Naujoël,

How did you configure your Apache virtualhost ?

What did you define as a documentroot ? It should be the web subfolder where composer installed Opigno

Naujoël

Hi, thanks for your quick

Hi, thanks for your quick response. I have tried to configure Virtualhost in two ways: 1) if documentroot is .../lms then it works as described in the previous comment. 2) if documentroot is .../lms /web then "web" is repeated on the site, in this way lms.example.com/web/web/admin/...
axel

You should use second option.

You should use second option.

Did you change something in .htaccess for rewritebase ?

Did you also clear the caches (Opigno + your browser) ?

Naujoël

Hello,

Hello, I have checked the htaccess of the web folder and it is the original of the installation. Now I use the second option in Virtualhost, that is, documentroot is .../lms/web. I have removed the "trusted hot" instruction from the settings.php file for test, then I have executed cron and cleared the caches. But the address lms.example.com keeps giving error 403 Forbbiden. Finally, I have re-enabled the "trusted host" instruction and it has the same behavior. P.D. The default base page of the site is: https://lms.example.com/web and it can not be changed.
Profile picture for user garthphilpot
garthphilpot

also..

I also have that issue with the notifications not clearing... also, if i click messages, and try to compose a new message system returns an error.
Profile picture for user dcwestra
dcwestra

I had this same issue

I know its 3 years later but... I fixed the problem by having my virtual host point to the web folder BEFORE installation. If I changed after installation to get rid of /web on the home page, the pages would break. None of the other recommended changes would work. Just point virtual hosts (and local host if you want) to the web folder THEN install and everything will work.