# Can't create a cells (XHR/Javascript error ?)

**URL:** <https://forum.pydio.com/t/cant-create-a-cells-xhr-javascript-error/4064>\
**Category:** Pydio Cells\
**Created:** [September 21, 2021, 8:47pm UTC](https://forum.pydio.com/t/cant-create-a-cells-xhr-javascript-error/4064 "2021-09-21T20:47:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![drzraf](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/drzraf/32/1207_2.png) [@drzraf](https://forum.pydio.com/u/drzraf)\
**Post date:** [September 21, 2021, 8:47pm UTC](https://forum.pydio.com/t/cant-create-a-cells-xhr-javascript-error/4064/1 "2021-09-21T20:47:48Z")

</div>

When I click “Create a cells”, nothing happens and the console shows:  
`Loading ShareDialog : Error: expected expression <`

Here is the stack

```auto

Failed Loading ShareDialog : Error: expected expression, got '<'
  Evaluating https://foo/ShareDialog
  Loading ShareDialog
    evaluate https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:94
    translateAndInstantiate https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:94
    dynamicExecute https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:93
    doEvaluate https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:93
    ensureEvaluate https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:93
    require<[453]</</</RegisterLoader$1.prototype[Loader.resolveInstantiate]/</< https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    promise callback*require<[453]</</</RegisterLoader$1.prototype[Loader.resolveInstantiate]/< https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    promise callback*require<[453]</</</RegisterLoader$1.prototype[Loader.resolveInstantiate] https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    import https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    promise callback*require<[453]</</</Loader.prototype.import https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    import https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:94
    loadClassesAndApply https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:115
    loadClassesAndApply https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:115
    createClick https://foo/plug/gui.ajax/res/build/PydioWorkspaces.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:15
    handleTouchTap https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:34
    invokeGuardedCallback https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    executeDispatch https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    executeDispatchesInOrder https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    executeDispatchesAndRelease https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    executeDispatchesAndReleaseTopLevel https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    forEachAccumulated https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:51
    processEventQueue https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    runEventQueueInBatch https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    handleTopLevel https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    handleTopLevelImpl https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    perform https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:51
    batchedUpdates https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    batchedUpdates https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    dispatchEvent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    listen https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:12
    trapBubbledEvent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    listenTo https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    enqueuePutListener https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    _updateDOMProperties https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:48
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    performInitialMount https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    mountChildren https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    _createInitialChildren https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    performInitialMount https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    performInitialMount https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    mountComponentIntoNode https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    perform https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:51
    batchedMountComponentIntoNode https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    batchedUpdates https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    batchedUpdates https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    _renderNewRootComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    _renderSubtreeIntoContainer https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    renderSubtreeIntoContainer https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    value https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:35
    value https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:35
line 4 > injectedScript line 1 > eval:115:26903
    loadClassesAndApply https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:115

```

The actual response to `/ShareDialog` is a “Loading” page in HTML `<html xmlns:ajxp>` (not sure this is expected)

---

<div class="post-metadata">

**Author:** ![drzraf](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/drzraf/32/1207_2.png) [@drzraf](https://forum.pydio.com/u/drzraf)\
**Post date:** [September 21, 2021, 8:54pm UTC](https://forum.pydio.com/t/cant-create-a-cells-xhr-javascript-error/4064/2 "2021-09-21T20:54:08Z")

</div>

Update: It happens that without the “Sharing” plugin enable, this wouldn’t work. (Still, I’d expect a nice error message)

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [September 22, 2021, 12:59pm UTC](https://forum.pydio.com/t/cant-create-a-cells-xhr-javascript-error/4064/3 "2021-09-22T12:59:05Z")

</div>

Hi @drzraf

To be sure I understood:

- In “Admin Console \>\> All Plugins” you have disabled the sharing feature plugin
- As a user you still see the “Create a Cell” button
- when you click on it, nothing happen but you have the error above in the Developer Tool Console
- you would rather have a nice error message in the UI

Correct ?

Also, which version are we talking about ?

> [@drzraf](#):
>
> Update: It happens that without the “Sharing” plugin enable, this wouldn’t work. (Still, I’d expect a nice error message)

And I really didn’t understand this part

---

<div class="post-metadata">

**Author:** ![drzraf](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/drzraf/32/1207_2.png) [@drzraf](https://forum.pydio.com/u/drzraf)\
**Post date:** [September 22, 2021, 1:37pm UTC](https://forum.pydio.com/t/cant-create-a-cells-xhr-javascript-error/4064/4 "2021-09-22T13:37:30Z")

</div>

I summarized it perfectly.  
Cells 2.2.9

The “update” was when I realized the “Sharing” plugin wasn’t enabled.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [November 21, 2021, 1:38pm UTC](https://forum.pydio.com/t/cant-create-a-cells-xhr-javascript-error/4064/5 "2021-11-21T13:38:25Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
