×

Notice

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

TOPIC: Request Failed Error

Request Failed Error 12 years 9 months ago #15076

  • Jamie Cunningham
  • Jamie Cunningham's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hi - I am getting an error (Request Failed) when trying to leave a comment - the comment DOES get posted but the error is just weird and I can see people trying to post again because they think it didn't go...

some details:

Joomla 2.5.1
brand New installation of the Comment Component
I have not edited any files (so there shouldn't any UTF-8 problems?)
I AM on a Windows server - but everything else in Joomla works

and here's a link to an article with the comments below
www.backyardworkshop.com/blog-posts/all-...atured-engineer.html

thanks for any ideas!

Re: Request Failed Error 12 years 9 months ago #15079

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey the problem is the mail function! It doesn't seem to work on your site.

Normally the response of the server should contain just the xml. But in your case, since the function fails, it outputs a message:
"Could not instantiate mail function." followed by the xml. And this is not correct. Find out why your mail function is not working (we use the standard joomla libraries for this so it is most probably not working for the whole site). Once you fix it, the comments should go trough.

Second option -> disable email notifications.

Kind regards,
Daniel

Re: Request Failed Error 12 years 9 months ago #15081

  • Jamie Cunningham
  • Jamie Cunningham's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Thanks for the help Daniel

I disabled emailing the moderators but I am still getting the error - is there another email notification setting?

Re: Request Failed Error 12 years 9 months ago #15089

  • Jamie Cunningham
  • Jamie Cunningham's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hi - more info - I also fixed the email settings on my site and am still getting that error

thanks for any ideas!

Re: Request Failed Error 12 years 9 months ago #15095

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Jamie!
Ok, now the error is gone, but there is actually something else going on! Again - we don't see a xml response, but we see an empty line and a xml response.

I got a user few month ago with the same problem - an empty line before the response. And after debuging for a day - it turned out to be a corrupt joomla library. So he had to override the joomla libraries and everything started to work again.

There are 2 ways we can proceed - you can either provide me with ftp access and I'll try to figure out what is going on directly on your site, or you can give me a backup of your site, I'll install it locally and will try to debug.

Or you can try yourself to override the joomla libraries trough ftp and see if this fixed the problem.

Cheers,
Daniel

Re: Request Failed Error 12 years 9 months ago #15108

  • Jamie Cunningham
  • Jamie Cunningham's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
thanks for the idea but I copied up the Joomla core and it's still giving me the pop up error "Request Failed"

Do you think it could have anything to do with I am on a windows host?

Re: Request Failed Error 12 years 9 months ago #15112

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
No, I don't think so! I have users running the system on windows machines. Can I get access for debugging please? But best would be actually an akeeba backup copy of your site and I'll debug it on my machine then.

Daniel

Re: Request Failed Error 12 years 9 months ago #15158

  • Jamie Cunningham
  • Jamie Cunningham's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hi Daniel! I sent you an email last week with my FTP info for grabbing a Akeeba backup - any chance you've gotten anywhere with this one?

Re: Request Failed Error 12 years 9 months ago #15161

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Jamie,
I'm sorry about that! I missed your email... I'm downloading the backup right now and will let you know what you need to do in few hours.
Regards,
Daniel

Re: Request Failed Error 12 years 9 months ago #15162

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, I found the problem! And it is a plugin! I don't know who is the developer of that thing, but all hikashop plugins contain the same DIRTY thing!
go to plugins/system/hikkashopuser/hikkashopuser.php
on line 19 you will see:
?>
 
<?php

And basically - here is our empty line!!! All the plugins of this extension contain lines like this! In fact if you look at the source code of your page - you can see that the first line of your site is not <?xml ... but an empty line.

The solution? well either remove those lines
?>
 
<?php
or disable the plugin.
Kind regards,
Daniel

P.S. The site was not working for me with the rt template. So I had to change it to a standard joomla one. and on a standard joomla template + disabled hikkauser plugin the comments were working. (just so you know)

Re: Request Failed Error 12 years 9 months ago #15163

  • Jamie Cunningham
  • Jamie Cunningham's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Ahhhhhhh! thanks so much Daniel! I updated the hikashop (damn dirty plug in didn't even alert me there was an update!) and they must have cleaned that part up because the comment works now without error

strange how one seemingly unrelated plug in affects another!

Re: Request Failed Error 12 years 9 months ago #15164

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Jamie,
You are welcome! Please take few minutes to review the component and support here:
extensions.joomla.org/extensions/contact...icles-comments/12259


Thank you very much!
Daniel

Re: Request Failed Error 12 years 9 months ago #15166

  • Jamie Cunningham
  • Jamie Cunningham's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Thanks Daniel - I will post a review ASAP!
  • Page:
  • 1
Time to create page: 0.174 seconds