Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Bug-reports    Topic: [Solved] can't go to the post from admin panel
Pages: [1]   Go Down
  Print  
Author Topic: [Solved] can't go to the post from admin panel  (Read 4396 times)
0 Members and 2 Guests are viewing this topic.
capella
Newbie
*

Karma: 0
Offline Offline

Posts: 46


Email
« on: June 18, 2010, 02:21:26 »

In manage comments, when i click on content item title it does not got to the right page. There is a http error 406.

This is the url gets generated -
http://www.mysite.com/component/option,com_jcomments/lang,en/no_html,1/object_group,com_directory/object_id,1558/task,go2object/

i get following error -
"Not Acceptable
An appropriate representation of the requested resource /component/option,com_jcomments/lang,en/no_html,1/object_group,com_directory/object_id,1558/task,go2object/ could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "

This started happening after i migrated my hosting server. ealier it was working great.

can you think of reason why would this happen.
« Last Edit: September 27, 2010, 15:09:22 by smart » Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: June 18, 2010, 05:27:31 »

Do you use default Joomla SEF or some 3rd party extension?
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
capella
Newbie
*

Karma: 0
Offline Offline

Posts: 46


Email
« Reply #2 on: June 18, 2010, 08:00:01 »

i use sh404sef.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: June 18, 2010, 15:01:21 »

Ok, I this is because we've 2 strings com_jcomments and com_directory in link and 404sef couldn't decide what is the component name Wink Give me some time and I'll try to found solution.

Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #4 on: June 22, 2010, 02:01:30 »

Try to open /administrator/components/com_jcomments/admin.jcomments.html.php and replace:

Code: (php)
$row->link = $app->getCfg('live_site') . '/' . JCOMMENTS_INDEX . '?option=com_jcomments&task=go2object&object_id=' . $row->object_id . '&object_group=' . $row->object_group . '&no_html=1';
with
Code: (php)
$row->link = $app->getCfg('live_site') . '/' . JCOMMENTS_INDEX . '?option=com_jcomments&task=go2object&object_id=' . $row->object_id . '&object_group=' . $row->object_group . (JCOMMENTS_JVERSION == '1.5' ? '&tmpl=component' : '&no_html=1');

This modification works fine for me (Joomla 1.5.18, sh404SEF 1.5.12.464, JComments 2.2.0.0)
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
m1r0
Newbie
*

Karma: 0
Offline Offline

Posts: 9



WWW
« Reply #5 on: September 21, 2010, 16:17:26 »

The above solution did't work for me.  Angry

I have the same problem without using any SEF.

Joomla version 1.5.20, JComments version 2.2.0.2

Can you give me a hint where to look?
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #6 on: September 21, 2010, 18:23:32 »

@m1r0: I can't reproduce your problem. Could you setup test site where I can see it?
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
m1r0
Newbie
*

Karma: 0
Offline Offline

Posts: 9



WWW
« Reply #7 on: September 21, 2010, 18:45:42 »

OK, in a few hours it will be done.

Thank you for your attention.

I forgot to mention that the comments are imported from another commenting component if that can help.
« Last Edit: September 21, 2010, 20:03:27 by m1r0 » Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #8 on: September 24, 2010, 01:15:19 »

I've made some tests on your server and didn't found any 3rd extension what could conflict with JComments. But I've found strange thing. I've inserted 'exit' function into begin of index.php and then have tried to open link like:

http://mysite.com/index.php?option=com_jcomments&task=go2object&object_id=1014&object_group=com_content&no_html=1

And this link returned me 403 error. I've began to remove some parameters from string:

http://mysite.com/index.php?option=com_jcomments&task=go2object&object_id=1014&object_group=com_content - return 403
http://mysite.com/index.php?option=com_jcomments&task=go2object&object_id=1014- return 403
http://mysite.com/index.php?option=com_jcomments&task=go2object - return 200 !!!

During this experiments I found what with some reason your server (not Joomla) rejects urls if they are contain object_id parameter. If we rename it with object_idd - link opens without 403 error. It doesn't work because JComments can't determine object's id but it isn't rejected by server.

In my mind you need to cosult with your server administrator and tell him about this issue. May be we need to check some server's settings (security tools or something like this)?
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
capella
Newbie
*

Karma: 0
Offline Offline

Posts: 46


Email
« Reply #9 on: September 25, 2010, 03:03:21 »

this issue was for me due to a module which is  installed with apache. I guess that module name is mod_security or something like that.

you can tell this issue to your hosting provider and ask them to remove your site from this module. that should fix the issue.
Logged
m1r0
Newbie
*

Karma: 0
Offline Offline

Posts: 9



WWW
« Reply #10 on: September 25, 2010, 19:14:02 »

Hm I think the problem is solved. The hosting support did't write me back what they did, but now everything works fine and I'm really happy.  Grin
A BIG THANKS to smart, for giving so much support for this free (but really great) extension!
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #11 on: September 27, 2010, 15:09:39 »

The hosting support did't write me back what they did, but now everything works fine and I'm really happy.  Grin
Hm... This is quite interesting. Could you ask them what they did? In my mind this information could be usefull for other who has same problem.

A BIG THANKS to smart, for giving so much support for this free (but really great) extension!
You're welcome! Feel free to contact me with any questions about JComments!
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
m1r0
Newbie
*

Karma: 0
Offline Offline

Posts: 9



WWW
« Reply #12 on: October 24, 2010, 16:09:24 »

No one answered my email...
« Last Edit: October 25, 2010, 14:51:04 by m1r0 » Logged
m1r0
Newbie
*

Karma: 0
Offline Offline

Posts: 9



WWW
« Reply #13 on: October 25, 2010, 15:45:47 »

I renewed the hosting (on the same company) and I got the same problem again. This time they emailed me that the problem is coming from mod_security. They turned it off and everything is ok now. Hope this will help somebody. Cheers!  Wink
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: [Solved] can't go to the post from admin panel
 
Jump to: