×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: DocMan Integration

DocMan Integration 9 years 3 months ago #30046

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Awesome, then 5.3.1 is going out tomorrow .)

DocMan Integration 9 years 1 month ago #30582

  • Peter Ashford
  • Peter Ashford's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
Hello - looks like the latest update to docman (version 2.0.6) breaks the ccomments integration. Just did an upgrade on my test box and the ccomment area at the bottom of the document page has disappeared. No errors or anything on the screen. All I got in the console in chrome was the message below.

Uncaught ReferenceError: compojoom is not defined


Any ideas?

cheers Pete

DocMan Integration 9 years 1 month ago #30598

  • Peter Ashford
  • Peter Ashford's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
This is the line it doesn;t like from the console window in chrome.

else{exports.Epitome||(exports.Epitome={Template:{},Model:{},Collection:{}});exports.Epitome.View=wrap(exports.Epitome.Template,exports.Epitome.Model,exports.Epitome.Collection);}}(this));;(function(exports){'use strict';var wrap=function(Model){return new Class({Extends:Model,config:compojoom.ccomment.config,properties:{name:{get:function(){var name,config=this.config;name=config._use_name?this._attributes.name:this._attributes.username;if(!name){name=Cookie.read('compojoom.ccomment.user.name');}

DocMan Integration 9 years 1 month ago #30599

  • Peter Ashford
  • Peter Ashford's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
and this one

Uncaught TypeError: undefined is not a function

var commentsCollection = new Ccomment.Comments([]),

DocMan Integration 9 years 1 month ago #30614

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Is mootools on the page?

DocMan Integration 9 years 1 month ago #30622

  • Peter Ashford
  • Peter Ashford's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
Hi Daniel - No, Mootools isn't on the page. Not even heard of it before until you mentioned it and I looked at what it is. All that is running on the page, is ccomment, docman and obviously joomla core.

cheers

Pete

DocMan Integration 9 years 1 month ago #30630

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
CComment still needs mootools to function. Do you have a plugin on your site that is turning mootools off on that page?

DocMan Integration 9 years 1 month ago #30637

  • Peter Ashford
  • Peter Ashford's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
I'll re-install the docman update onto my dev site tonight and see which scripts are/not running. In my simple mind, I can only think that something with docman is turning this off (or conflicting in some way) then, as it broke after installing that??

Here is a screenshot of the .js scripts running on my page when it is working fine. I'll do a comparison later. Is there anything else you would like me to check?

cheers Pete

DocMan Integration 9 years 1 month ago #30640

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
No screenshot?

DocMan Integration 9 years 1 month ago #30766

  • Peter Ashford
  • Peter Ashford's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
Hi Daniel,

I have just come back to this problem after rolling back my dev box to do some further testing.

What I did first was roll back to a good working backup and then installed the latest docman update. It surprised/confused me that ccomments was still working. What I then remembered was that previously, I had also updated my Hotspots install to the latest version (5.0.5). I installed this update on my dev site and that is what is breaking ccomments with docman. I have repeated the restore and installs as mentioned again to 100% confirm and it is hotspots causing this. Not sure if this hotpots installer replaces anything shared or conflicts with something??

Any ideas?

cheers Pete

DocMan Integration 9 years 1 month ago #30793

  • Peter Ashford
  • Peter Ashford's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
Hi Daniel,

Some further information on this. Although I can now run ccomments with docman latest, I have found it to be a little unstable when clicking on categories. It gives the error below. If I disable the ccomment docman plugin, the error goes away when refreshing the page.

1054
ERROR
UNKNOWN COLUMN 'ID' IN 'WHERE CLAUSE' SQL=SELECT CREATED_BY FROM CH54B_DOCMAN_DOCUMENTS WHERE ID = '3' LIMIT 0, 1


cheers Pete

DocMan Integration 9 years 3 weeks ago #30894

  • Peter Ashford
  • Peter Ashford's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
Are you able to help with this one? Especially the issue when I update hotspots. thanks Pete

DocMan Integration 9 years 3 weeks ago #30895

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Peter,
Please start new topics (or tickets) for both issues & I'll help with them. I'll lock this thread as it is not in the correct category & it doesn't make sense for it to grow further.

Cheers,
Daniel
  • Page:
  • 1
  • 2
Time to create page: 0.123 seconds