capella
Newbie
Karma: 0
Offline
Posts: 46
|
 |
« 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
|
 |
« Reply #1 on: June 18, 2010, 05:27:31 » |
|
Do you use default Joomla SEF or some 3rd party extension?
|
|
|
|
|
Logged
|
|
|
|
capella
Newbie
Karma: 0
Offline
Posts: 46
|
 |
« Reply #2 on: June 18, 2010, 08:00:01 » |
|
i use sh404sef.
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« 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  Give me some time and I'll try to found solution.
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #4 on: June 22, 2010, 02:01:30 » |
|
Try to open /administrator/components/com_jcomments/admin.jcomments.html.php and replace: $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 $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
|
|
|
|
m1r0
Newbie
Karma: 0
Offline
Posts: 9
|
 |
« Reply #5 on: September 21, 2010, 16:17:26 » |
|
The above solution did't work for me.  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
|
 |
« 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
|
|
|
|
m1r0
Newbie
Karma: 0
Offline
Posts: 9
|
 |
« 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
|
|
|
|
|
|
capella
Newbie
Karma: 0
Offline
Posts: 46
|
 |
« 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
Posts: 9
|
 |
« 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.  A BIG THANKS to smart, for giving so much support for this free (but really great) extension!
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« 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.  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
|
|
|
|
m1r0
Newbie
Karma: 0
Offline
Posts: 9
|
 |
« 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
Posts: 9
|
 |
« 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! 
|
|
|
|
|
Logged
|
|
|
|
|