×

Notice

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

TOPIC: Keep getting "request failed" but comments do go through...

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6751

  • Peter Jones
  • Peter Jones's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I'm having a problem with the comments. When I try and enter a comment (and I presume when someone else does), a "request failed" error pops up, and this appears in the comment field: <?xml version="1.0" standalone="yes"?><post><id></id><published></published><noerror>1</noerror><debug></debug></post>

However, the comment does go through, and I can approve it. But it appears from the frontend that the comment failed. I've turned off the captcha but no help.

The site is rockymountainraider.com . Comments are only on the Mountains section. I'm running Compojoom 4.0

Any help?

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6777

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
In Firebug:
XML or text declaration not at start of entity
index.php?option=com_content&view=article&id=17:the-beaches-of-st-thomas-and-st-john-us-virgin-islands&catid=1:mountains&Itemid=2()
Line 2

In Web Developer Toolbar:
Error: XML or text declaration not at start of entity
Source File: http://rockymountainraider.com/index.php
Line: 2, Column: 1
Source Code:
<?xml version="1.0" standalone="yes"?><post><id></id><published></published><noerror>1</noerror><debug></debug></post>

It looks like one of those fancy extensions you have in the article view has a bug and/or is conflicting. I'm not too skilled with these debug tools yet, i've never seen this specific error before - hopefully Daniel can give more info.

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6781

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
did you edit the template or the language file and didn't save it in UTF-8`?

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6786

  • Peter Jones
  • Peter Jones's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thanks for the feedback. No, I have not edited the language file or template. I'm using the generic template from Joomla (as you can probably tell 5.12).

I've tested it in various browsers, and it seems to work in IE. However, now the text runs vertically and not horizontally. I can't seem to find a toggle for this...

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6857

  • Mario
  • Mario's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi TS have you resolved this issue cause i get the same problem..tnx

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6862

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Peter,
Obviously you have changed Joomlacomment!!!
What I see beneath the form is powered by rocket... and not joomlacomment. So you did edit the comment.class.php file - you did something wrong and that is why the comment system is not working.

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6863

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Agreed. Reinstall JoomlaComment and then we can work from there, i.e. a fresh unmodified install of the component.

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6871

  • Peter Jones
  • Peter Jones's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I have NOT modified any part of JoomlaComment. I don't even know what Rocket is??? I do know that the comments seem to work for some people on some browsers, and it also worked for IE users. For some reason my FireFox seems to be causing the problem. I'm gonna try to reinstall FireFox and see if that works.

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6872

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
What Daniel ment was the text at the footer of JoomlaComment - "Powered by Rocky Mountain Raider:Adventures". There's nothing wrong with you doing that, but it just means that the comment.class.php file has been modified.
<link href="/index.php?option=com_bca-rss-syndicator&feed_id=1" rel="alternate" type="application/rss+xml" title="RRR" />
Hmm. Is this the standard Joomla RSS feed link, or from a third party component? (Do you recognize that Daniel?). As I discovered with bugfixing the RSD plugin, the AJAX in JoomlaComment does conflict with custom xml head feeds. Perhaps you could try disabling this "com_bca-rss-syndicator" component and testing the Comment system again. It would explain why only IE users are able to comment, because IE6 ignores most of these head links as far as I know.

Also, I noticed you are using the great module from Gavik called "News Pro GK1", and it's JavaScript library could be conflicting with the AJAX. So also try testing a comment with that module unpublished.

Either way, i'm very interested to get to the bottom of this - we havn't given up yet! Because when we do find the reason, of course that's another possible bug we can investigate and fix :)

Keep getting "request failed" but comments do go through... 15 years 2 months ago #6889

  • Many Feathers
  • Many Feathers's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi,

I'm having the same problem using Firefox. I'm using spanish as my site default language and I noticed that when I switch back to English (using the component settings) the problem disappears. Further investigation shows that the administrator language file is not by default a UTF8 file (at least not when I download it using FTP). I just saved the file using UTF8 without BOM and put it back on the server, but that doesn't seem to help. I have also revised the spanish site language file to make sure it's a clean UTF8 file, but so far, no luck. Just thought you might want to know...

I'll keep investigating

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7485

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
I am also having the same problem on a completely fresh install. No modifications after installing 4.0 beta2. Is there any update on this, or is there any debug that I can provide to assist in troubleshooting? My site is www.nwi-tech.com

Thanks
Scott

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7487

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Did you make this template? can you try it with the default one?

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7490

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Yes, it was having the same issue before modifying the template. I will set it back to default so you can test that way.

Scott

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7494

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Normally this is connected to a modified template, language file or live_site variable in the configuration.php of your site.

This are all the reasons I can remember of. Does anyone of the above fits for you?

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7495

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
I have done a complete uninstall of the comment component, and installed it completely fresh with no modification. I get the same results. I have not modified my configuration.php at all. The configuration.php contains the line var $live_site = ''

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7496

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
would you completly delete this $live_site variable in configuration php.

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.hostPort]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Users/Daniel%20Dimitrov/AppData/Roaming/Mozilla/Firefox/Profiles/49bd34cj.default/extensions/%7Be3f6c2cc-d8db-498c-af6c-499fb211db97%7D/components/componentCollectorService.js :: formatURI :: line 89" data: no]
JOSC_xmlValue(Document , "noerror")client.js (Zeile 257)
JOSC_editPostResponse()client.js (Zeile 543)
[Break on this error] var formattedURI = [uri.scheme, '://', uri.hostPort, uri.path].join('');\n

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7497

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
with
var $live_site = ''
removed I get the same error. I also tried populating the variable with the url of my default page... same error.

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7500

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
there is one strange error message in firebug. Does payperpost tells you anything?

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7503

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
I have removed the code associated with payperpost. You should not see that error in firebug any longer. Still the same problem with comments.

Keep getting "request failed" but comments do go through... 15 years 3 weeks ago #7521

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Daniel, This morning I installed a complete fresh joomla install into a new subdirectory. The only etension I have installed is joomlacomment4.0.0beta2. And I still get the same error message. www.nwi-tech.com/jml03
Time to create page: 0.156 seconds