chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

CSS file can not be imported (missing token in form) #3975 - Problem is still here [EDIT] V1.11.16 big issues in several part

Open Chabi01 opened this issue 3 years ago • 2 comments

Hi, I'm using the V1.11.16 (softaculous), the token error when importing stylesheets is still here...

I get this error on submit :

Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The url triggered is : /main/admin/admin/settings.php?category=Stylesheets#tabs-3

No error message even on test server mode.

2 times "admin" ??

So, for the record, I have solve this by modifying the file main/admin/settings.lib.php, line 400

from api_get_path().'admin/settings.php?category=Stylesheets#tabs-3'

to api_get_path().'settings.php?category=Stylesheets#tabs-3'

But now, i get "not validated". Still searching...

Seems to be the token issue again : quickform.php line 1435...

I have commented the https://github.com/chamilo/chamilo-lms/issues/3975 but as the issue is closed, I'm not sure you will read the comments, so I create a new one.

Best regards, Xavier

Chabi01 avatar Jul 22 '22 10:07 Chabi01

Do you have an hot fix for this (to apply by myself) ? Thanks :)

Chabi01 avatar Jul 22 '22 10:07 Chabi01

Hi again, I have work a little bit with the V1.11.16 and I have encountered several other issues ! For example, Models : impossible to add new models : error on save

To check, I have downloaded the last V1.11.16 on the repository and did a clean install. All the issues are here : this is not linked to a bad install from Softaculous.

I have did also a clean install of the V1.11.14 : no issues at all, all these functionnalities are working correctly.

For now, I'm going to work on the V1.11.14

Best regards, Xavier

Chabi01 avatar Jul 22 '22 13:07 Chabi01