Hi,
I installed CMIS API in Drupal 7.0 to get it working with nuxeo-dm. In my settings.php I added the following code:
$conf['cmis_repositories'] = array(
'default' => array(
'user' => 'Administrator',
'password' => 'Administrator',
'url' => 'http://192.168.23.199:8080/nuxeo/atom/cmis'
)
);
I’m not skilled about PHP, so I put the code at the end of the file. When I click the "http://192.168.23.199/?q=cmis/browser" link in Drupal I get HTTP 500 error in my browser, but using open CMIS client in win7 (chemistry-opencmis-workbench-0.2.0-incubating-full) I can load the nuxeo rep using the link “'http://192.168.23.199:8080/nuxeo/atom/cmis'” and the same credentials, and read the files.
What’s wrong? May you help me?
Thank in advance,
C., Italy.
Comments
Comment #1
sjekoken commentedI know this is an old post, but I also know I hate when I'm researching something and I come across an unanswered question old or not.
If anyone else has this problem, I'm no expert, but I'd point out that an http 500 error is almost always a server side issue so this may have more to do with the nuxeo config. than drupal which is acting more like a client-side proxy in this scenario. Again, I'm no expert, but I'd start on the nuxeo side by checking permissions, and then I'd look for clear errors in the drupal module configuration. If a person is still at a loss for a solution, and no direct posts are coming up for googling nuxeo and drupal integration, then I'd take a step back and realize that (1) it's probably a server-side issue; (2) it could be more than just a simple "client configuration" issue because drupal is an application and it's acting as sort of a "proxy" here; and (3) if the problem exists for drupal, it probably exists for other situations as well.
For example, if one were to change the search to googling "http 500 error" and "nuxeo", it pulls up some interesting posts concerning http 500 errors in configuring a google oauth to nuxeo connection. So, I'd probably start by looking there.
Hope this helps anyone else having this issue!
Comment #2
rverchere commentedHi,
I have same configuration, and the CMIS browser works fine. So I guess it is definitely a server configuration issue, as said previously.
Comment #3
IanNorton commentedI'd welcome any testing on Nuxeo, especially the 7.x branch - please contact me if any one is in a position to lend a hand.
I'm closing this thread as I'm aware of people using the CMIS API with nuxeo successfully in the past, please re-open / open a new ticket if there are problems.