×

Notice

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

TOPIC: Problems saving joomlacomment settings - 400 error

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3821

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hi,

I've just set this up on my online testsite. Install goes ok (have to manually copy the 4 xml and php files), and the comment system works fine, tested it on an article.

However, if I go to the settings and try to Save/Apply I get a "400 Bad request. Your browser sent a request that this server could not understand."

Any idea what could be wrong?

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3845

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Anyone?

Man Joomla is turning out to be a pain in the ass with directory security settings and the likes.

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3846

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, can you check your configuration.php and look what value you have under live_site?

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3848

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Thanks for the reply. live_site is blank.

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3850

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
what does the error log say about this problem?

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3851

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I'm assuming it's this error (just removed my domain), could it be related to the Joomla htaccess file I use?

ModSecurity: Access denied with code 400 (phase 2). Pattern match "\\\\%(?!$|\\\\W|[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})" at ARGS:params[_date_format]. [id "950107"] [msg "URL Encoding Abuse Attack Attempt"] [severity "WARNING"] [hostname " www.mydomain.com "] [uri "/administrator/index.php"] [unique_id "jNaEC1Tq@4cAABYf-W4AAAAA"]

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3853

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Try it without the modifications to the htaccess and see what the result will be.

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3854

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Tried removing the htaccess stuff paragraph by paragraph, and also tried to remove all of it. I still get the same error :/

Could it be something on a higher level I should ask my admin about?

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3857

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Just rename the .htaccess file to htaccess.txt and test if it works. If it works, then you must look for assistence from your server admin. I don't understand a lot of the configuration stuff there.

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3859

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hmm, yeah. Tried it all now. Doesn't work, I'm getting that 400 error no matter what I do in the Joomlacomment config save/apply. Perhaps I should look at a simpler comment plugin, though I felt the customisation options in this one fit me perfectly.

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3862

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, searching with google helps in 99% of the cases:
gallery.menalto.com/node/73239

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3863

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
www.joomlaportal.de/geloeste-themen-allg...ecurity-problem.html

try this one in your .htaccess:
<IfModule mod_security2.c>
SecRuleRemoveByID 950107
</IfModule>

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3866

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I have been googling it a bit, and found a similar thing, hadn't tried this one though. With that modification the entire administration of Joomla fails with a 500 error, hehe. Guess I should ask my server admin for some assistance with the modsecurity, it may not like that I try to override it.

Thanks for the assistance though.

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3890

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
And what is the result?

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3891

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Failed. Couldn't get the security issue resolved, so I've changed to another comment system that required a lot more customization :S

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3892

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
It is really sad to hear that :(

Problems saving joomlacomment settings - 400 error 14 years 11 months ago #3893

  • Kristian Hollund
  • Kristian Hollund's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Yeah, this was my favourite, but there's only so much you can try, when you've also got a BIG list of templates to adjust to your design :) I may try again if there's a new version when I implement my next site with a similar design.
  • Page:
  • 1
Time to create page: 0.150 seconds