Community Support for OpenDocMan (Deprecated)

Full Version: OpenDocMan reinstallation on another server, support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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
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.
(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

      .
Where do I find this jsurl value?