Popup window error when trying to submit

CarbonPig - May 10, 2009 - 21:55
Project:AJAX Comments
Version:6.x-1.7
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

When I try to add comments on my site using this module I get the following error:

An error occurred.
/ajax_comments/js
<br />
<b>Fatal error</b>: Unsupported operand types in <b>/nfs/c03/h04/mnt/49414/domains/carbonpig.com/html/includes/common.inc</b> on line <b>1385</b><br />

This never happened before - I upgraded drupal from 6.8 --> 6.11 today and was testing everything to make sure it worked....I hadn't tested ajax comments, but I upgraded ajax comments too. Now when I try the new version of the module, or roll-back to the old one I'm getting this funky error. Any ideas anyone?

Cheers,

CarbonPig

You can try mimicking this at carbonpig.com in the think tank - there are comment forms there.

#1

neochief - May 10, 2009 - 22:44

Well, I have similar problem before, but it was not related to ajax_comments. I don't remember which module it was, but problem was in module which was partially ported to D6. If you don't change syntax of url() function while porting the module, such problem occurs.

For today, the dev. version of ajax_comments is most stable, it's being widely used, and I din't heared about such errors. So, I can suggest you to observe contribs and you certainly will find the root of the problem in some of them.

#2

63reasons - May 30, 2009 - 17:26

Could you pls run ConfigDoc and attach the dump here so that we can perhaps identify the culprit ?

#3

Shane Birley - September 10, 2009 - 20:44

I am just trying this module out and ran into this error when attempting to reply to a comment:

anonymous("An error occurred. <br />/ajax_comments/js\n", "error")imce.js?R (line 528)
anonymous(Object type=ajaxError timeStamp=1252615301148, XMLHttpRequest readyState=4 status=200, Object url=/ajax_comments/js type=POST, Object name=thrown)imce.js?R (line 665)
anonymous(Object type=ajaxError timeStamp=1252615301148)jquery.min.js?R (line 19)
anonymous()jquery.min.js?R (line 19)
anonymous(Object type=ajaxError timeStamp=1252615301148, [Object type=ajaxError timeStamp=1252615301148, XMLHttpRequest readyState=4 status=200, Object url=/ajax_comments/js type=POST, 1 more... 0=Object 1=XMLHttpRequest 2=Object], Document hey-buddy-question-you-and-if-you-dont-comment-i-will-come-your-house?1358476890=1, Object name=E)jquery.min.js?R (line 19)
anonymous()jquery.min.js?R (line 19)
anonymous(Object 1=Object 2=Object 4=Object 6=Object 8=Object 10=Object, function(), Object name=F)jquery.min.js?R (line 12)
anonymous(Object type=ajaxError timeStamp=1252615301148, [XMLHttpRequest readyState=4 status=200, Object url=/ajax_comments/js type=POST, undefined 0=XMLHttpRequest 1=Object], Object name=H, Object name=E)jquery.min.js?R (line 19)
anonymous(Object url=/ajax_comments/js type=POST, XMLHttpRequest readyState=4 status=200, "parsererror", Object name=G)jquery.min.js?R (line 19)
anonymous(-8)jquery.min.js?R (line 19)
[Break on this error] logs.appendChild(div);\n

Just a quick look appears to have a function clash with IMCE?

 
 

Drupal is a registered trademark of Dries Buytaert.