Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Message CSRF ATTACK in plugin OFFICE

Hello,

I use plugin Officepack and when y try to sort th edisplay , i obtain a "CSRF ATTACK" message!

have anyone a solution for this problem?

thanks
in OCS Inventory NG server for Unix by (110 points)

1 Answer

0 votes
For having an anwser, give mandatories informations :
  • Provide OS server and agent version
  • Provide OCS agent and server version
  • Give agent logs in debug mode
  • Optional, if the problem is about your server, provide the latest lines from Apache error log and activity.log

It's write on top of the ask page ...

by (22k points)
I found the origin of my problem.

i have only modify the php file of tl plugin and not the ms_plugins.php file.

we can close te request.
Ok, but could you post the modification?
Sometimes we don't share the solution, this is so bad.

Can you share the modification in the .php file and also the filename?

I just made this modifications:

1 : in file /usr/share/ocsinventory-reports/ocsreports/plugins/comuter_detail/cd_officepack.php

2:  in file  /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_plugins.php

//  echo "<form name='".$form_name."' id='".$form_name."' method='post' action=''>";
echo open_form($form_name);
......
 // echo "</form>";
echo close_form();
 
 
 
 

 

Thanks!
It sure could help in future.
 
Powered by Question2Answer
...