Hi all,

I'm trying to setup Alfresco + Drupal, and am having troubles. To be more specific, when visiting the URL from the title which should confirm that everything is in fact working, I get the 404 error.
The problem is, everything seems to be setup OK, and I don't know where to being to look for problems (all the modules are active, end point along with username and password is configured and so on).

Any ideas on how to troubleshoot the problem?

Thanks!

Comments

tamasd’s picture

Same happens for me.

cfuller12’s picture

Assigned: Unassigned » cfuller12

I think the URL you're looking for is /cmis/info, not /alfresco/info.

cbalan’s picture

Hello Lista, Yorirou,

Can you please specify what version of alfresco are you using ?
Because alfresco 3.2-r2 implements CMIS 1.0 specs.
CMIS 1.0 specs are scheduled to be supported by cmis drupal module in 6.x-3.0 release.

Thank you,
Catalin Balan

tamasd’s picture

I am using the newest stable alfresco (which is 3.2r2).

cpotter’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev

Same for me with Alfresco Community - v3.2.0 (r2 2440)

I tried CMIS 2.x et 3.x-dev versions, no success.

In addition, when I click on "CMIS Repository", I get : "Unknown CMIS Alfresco service invoker"

lucio.damico’s picture

Hello,
we are trying to integrate Alfresco Community - v3.2.0 (r2 2440) with Drupal, but after installing cmis modules we get the following error message

Message Unable to lookup CMIS repository [default]

We have configured the repository endpoint to http://localhost:8080/alfresco, along with user and password.

Any idea about this issue?

Thanks.

cbalan’s picture

Hello,

Please note that under cmis-6.x-3.x-dev we've changed the way cmis config are stored.

In order to use cmis modules, the following lilnes need to be added to drupal's settings.php:
$config['cmis_repositories'] = array(
'default' => array(
'label' => 'Default repository',
'user' => 'admin',
'password' => 'admin',
'url' => 'http://cmis.alfresco.com/s/cmis'
)
);

Documentation is work progress.

Also please note that in cmis-6.x-3.x cmis_alfresco module is deprecated and replaced by cmis_common module present in cmis package.
Soon we'll update the cmis_alfresco module page.

Thank you,
Catalin Balan

cbalan’s picture

Status: Active » Closed (fixed)

Hello,

Please let me know if this worked on cmis-6.x-3.0-rc1
If not please open a new issue under http://drupal.org/project/cmis since cmis_alfresco module is deprecated

Closing this ticket.

Thank you,
Catalin Balan

lucio.damico’s picture

Ok, changing settings.php now it works with the following small changes:

1) not $config, but $conf in settings.php
2) short_open_tag=On in php.ini, in case Off I have seen a syntax error

Thank you,
Lucio D'Amico

cbalan’s picture

Awesome!

Thank you for spotting the short tag issue.
Just applied a fix for that in cmis-6.x-3.x-dev

Thank you,
Catalin Balan

RMani’s picture

I am using cmis-6.X-4.0

I am getting the same error
Could you please help me fixing the same
or should i down grade to 3.X

Thank you
Rekha