Keyword

Comments: redirect issue

  • juro
  • juro's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 1 week ago #72913 by juro
Comments: redirect issue was created by juro
Hi,

when I add a comment, I get redirected to an empty page (www.mysite.com/index2.php) which says "Comment added! Refreshing page..." but nothing happens. After adding a comment, the user should be redirected to the page the comment was made on.

I am using a standard Joomla 1.5.14 and the newest K2.

Roland

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #72914 by Lefteris
Replied by Lefteris on topic Comments: redirect issue
Hi. This means that the ajax request isn't working so please check your page for javascript errors.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • juro
  • juro's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 1 week ago #72915 by juro
Replied by juro on topic Comments: redirect issue
Yes, I disabled Mootools (as I use jQuery) in my frontend. Re-enabled it and everything works.

Officially not a bug ;)

Please Log in or Create an account to join the conversation.

More
15 years 4 days ago #72916 by Travis Metcalfe
Replied by Travis Metcalfe on topic Comments: redirect issue
Is there a way to get this to work without enabling mootools? can I give it a fixed redirect instead of index2?

Please Log in or Create an account to join the conversation.

More
15 years 4 days ago #72917 by Travis Metcalfe
Replied by Travis Metcalfe on topic Comments: redirect issue
ok so I figured out how to change the jurl to what ever I want in item_comments_form.php but lets see... instead of using jurl what other command could I feed it?

Please Log in or Create an account to join the conversation.

More
15 years 4 days ago #72918 by Travis Metcalfe
Replied by Travis Metcalfe on topic Comments: redirect issue
ok so JURI just returns the path (docs.joomla.org/JURI/root) so what is actually causing the redirect? hmm...

Please Log in or Create an account to join the conversation.

More
15 years 1 day ago #72919 by Lefteris
Replied by Lefteris on topic Comments: redirect issue
Hi. You can't make comments work without mootools.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Alfonso F. Moreno
  • Alfonso F. Moreno's Avatar
  • Offline
  • Elite Member
More
13 years 10 months ago #72920 by Alfonso F. Moreno
Replied by Alfonso F. Moreno on topic Comments: redirect issue
As it`s said in other post you need ti enable system plugin mootools update and the comment will be added normally without redirecting to blank page.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #72921 by tudor filip
Replied by tudor filip on topic Comments: redirect issue
hey guys

 

i found out the solution just add into www.mysite.com/index2.php

 

the fallowing lines

<?php$ref = $_SERVER;header( 'refresh: 3; url='.$ref);$_REQUEST = 'component';include('index.php');?>

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum