Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenDocMan reinstallation on another server, support
#1
Question 
Hi I'm trying performs instalcion of OpenDocMan from one server to another, I copied the files and sql, the am trying to install on the new server, with the modification config.php file with the new database and password, it opens but when you insert username and password, I get the below error "403 Access Forbidden by CSRFProtector!". how can I solve that? Huh .

Thank you
#2
(06-14-2016, 03:45 AM)lumas200 Wrote: Hi I'm trying performs instalcion of OpenDocMan from one server to another, I copied the files and sql, the am trying to install on the new server, with the modification config.php file with the new database and password, it opens but when you insert username and password, I get the below error "403 Access Forbidden by CSRFProtector!". how can I solve that? Huh .

Thank you

you need to check that the jsurl value is correct .it needs to be the complete full url to get the includes/libraries/csrfprotector.js file
#3
If you can not access the site, you will need phpmyadmin. Open the odm_settings table and edit record #17 - base_url. In the 'value' field enter the URL of your new server. Hope this will help.

By the way, I think storing the site base URL in database is not quite a good decision. The following approach is a lot more flexible and error resistant. In the 'config.php' file to be added:

$base_url = __DIR__;

and the variable to be used later where it is necessary.
#4
(07-20-2016, 01:56 AM)marrydaniel Wrote:
(06-14-2016, 03:45 AM)lumas200 Wrote: Hi I'm trying performs instalcion of OpenDocMan from one server to another, I copied the files and sql, the am trying to install on the new server, with the modification config.php file with the new database and password, it opens but when you insert username and password, I get the below error "403 Access Forbidden by CSRFProtector!". how can I solve that? Huh .

Thank you

you need to check that the jsurl value is correct .it needs to be the complete full url to get the includes/libraries/csrfprotector.js file

      .
#5
Where do I find this jsurl value?


Forum Jump:


Users browsing this thread: 1 Guest(s)