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: Can't submit comments!
Pages: [1]   Go Down
  Print  
Author Topic: Can't submit comments!  (Read 5529 times)
0 Members and 1 Guest are viewing this topic.
Limba
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« on: April 04, 2010, 17:00:23 »

 I have tried several comment components and Jcomments looks so neat. Unfortunately it doesn't work.
When i try to post a comment it starts to load, but then it just says i have to fill in the safety code again, and again and again.
So i just give up on posting.

Any change in the parameters that could help?

Im using firefox, i dont know if it has to do with the browser or something. I just REALLY need some help because i want this to work out.


plz help!
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: April 15, 2010, 14:36:55 »

Post here link to your site and I'll try to found problem's key.
Logged

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

Karma: 0
Offline Offline

Posts: 6


« Reply #2 on: April 18, 2010, 06:26:46 »

Hello Limba,
Hello smart,

and hello all the others here in this forum. I'm new here.  Smiley

And before I begin, i'd like to apologize my bad english, i'm from germany. Anyway, I really hope you will understand me enough.

My problem is quite similar to Limba's one. The only difference is, that if I klick on the submit-button nothing happens, just the screen moves on the top and the writen sentences keep in the submitform, even if I klick on browser's refresh-button. Whatever I do, nothing happens, if I activate the Captcha or not. No error message apears, no warning, no advice - just the emptiness of nothing stays there.

I'm using firefox 3.5.6 and IE 8 on Win 7. On both browsers is the same problem.

Further informations:
Joomla 1.5.14 (I know I should update it to 1.5.15)
JComments 2.1.0.0
PHP 5.2.4, MySQL 5.0.5, Webserver is Apache with Linux.

I really would be glad if you could help me solve the problem.  Smiley

If it is helpful, here the link to my german site and the mentioned article:
http://www.artist2be.de/moviezone/rezensionen/69-james-camercons-avatar-aufbruch-nach-pandora.html

sincerely yours,

pyretta




Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: April 18, 2010, 14:09:05 »

pyretta, I don't know why but your page doesn't include JComments' JavaScript libraries. In my mind this problem related with your Joomla's template. Try to switch to some Joomla's default and check if this problem would resolved.
Logged

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

Karma: 0
Offline Offline

Posts: 6


« Reply #4 on: April 18, 2010, 15:41:27 »

Hello smart,

thank you very much for your reply.

I'm a rookie in programming and that template is my first one. So I'm very sorry about that falt of mine.

If I activate a Joomla Template by example Ja_Purity, JComments works very well.
And you're right the libraries of JComments aren't included in the sourcecode of my own template.
How can I change that for future and other Modules or Components? Because I have the feeling that this problem happens oftener. Do I have to include those libraries everytime by my own in the head of my index.php?  Or exists there a trick that every Component or Module must include their libraries automatically?

Thank you again for your advice and help.

sincerely yours,

pyretta


EDIT April 18, 2010, 16:02:12:

I try to solve the problem with including the missed libraries by my own in the head of my index.php. Posting of comments are now possible, but if I publish the comments from backend, the page doesn't apears anymore.  Shocked Do I unpblish the comment again, the site apears like nothing ever happens...

I include following codesnippets:

Code:
 <script type="text/javascript" src="/components/com_jcomments/js/jcomments-v2.1.js?v=2"></script>
  <script type="text/javascript" src="/components/com_jcomments/libraries/joomlatune/ajax.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/media/system/js/caption.js"></script>


That codesnippets I've found in the sourcecode of my site with Ja_Purity-Template.

If I do the same, just with Ja_Purity-Template ... the comment would be shown like it should be and the site apears normally.
What the f*** did I done with my template that it is so meanly working?
« Last Edit: April 18, 2010, 16:18:20 by pyretta » Logged
pyretta
Newbie
*

Karma: 0
Offline Offline

Posts: 6


« Reply #5 on: April 18, 2010, 22:07:42 »

I think I found the main-problem.

I have although installed the superfish menu. If I unpublish this menu and put these libraries for JComments in the head of my index.php, everything is fine. Even with my selfmade template.

Could this be a javascript-conflict? This conflict even occures with the professionel Joomla template Ja_Purity.

I've been working on this problem all day, but i just can't figure out if the problem is cause by the Jcomments or the superfish menu.

Could you help me please?

sincerely yours,

pyretta
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #6 on: April 18, 2010, 22:46:15 »

I've never heard about conflicts JComments' JavaScript libraries with any 3rd party extension. Could you attach here index.php of your template?
Logged

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

Karma: 0
Offline Offline

Posts: 6


« Reply #7 on: April 18, 2010, 23:23:56 »

Here is the head of my index.php:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $this->language?>" xml:lang="<?php echo $this->language?>">
<head>
    <link rel="shortcut icon" type="image/x-icon" href="../images/favicon.ico">
    <?php
$user =& JFactory::getUser();
if ($user->get('guest') == 1) {
$headerstuff $this->getHeadData();
$headerstuff['scripts'] = array();
  $this->setHeadData($headerstuff);} 
?>

       
        <?php $editmode true// eigentlich false
if (JRequest::getCmd('task') == 'edit' ) {
    
$editmode true;
}  
?>


  <link rel="stylesheet" href="/components/com_jcomments/tpl/default/style.css" type="text/css" />
  <link rel="stylesheet" href="/plugins/content/extravote/extravote.css" type="text/css" />

  <script type="text/javascript" src="/components/com_jcomments/js/jcomments-v2.1.js"></script>
  <script type="text/javascript" src="/components/com_jcomments/libraries/joomlatune/ajax.js"></script>
  <script type="text/javascript" src="/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/media/system/js/caption.js"></script>
  <script type="text/javascript" src="/plugins/content/extravote/extravote.js"></script>
    <jdoc:include type="head" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/artist2be_v2/css/template_css.css" />

        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" />
      <!--[if lt IE 6]>
  <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/artist2be_v2/css/ie5.css" />
  <![endif]-->
     
      <?php
  if(
$this->countModules('left and right') == 0$contentwidth "_0";
  if($this->countModules('left or right') == 1$contentwidth "_2";
  if($this->countModules('left and right') == 1$contentwidth "_3";
  ?>

     
      <?php if($this->direction == 'rtl') : ?>
  <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/artist2be_v2/css/template_rtl.css" />
  <?php endif; ?>


</head>

(I've removed the attached file, because of the copyrights)
« Last Edit: April 19, 2010, 20:22:35 by pyretta » Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #8 on: April 19, 2010, 01:23:14 »

Oh... Remove from this file next code (this code removes all scripts added by extensions and this is because I don't see JComments' scripts on page):

Code: (php)
    <?php
$user =& JFactory::getUser();
if ($user->get('guest') == 1) {
$headerstuff $this->getHeadData();
$headerstuff['scripts'] = array();
  $this->setHeadData($headerstuff);} 
?>
Logged

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

Karma: 0
Offline Offline

Posts: 6


« Reply #9 on: April 19, 2010, 03:06:56 »

thank you very much!  Cheesy

that solves the problem with the missing libraries, but the conflict with superfish menu is still there....  Sad
I can't publish a comment and the superfish menu at the same time  Sad
I use the superfish menu just for the usermenu, it apears only if someone is logged in, but the problem occures always - if someone is logged in or not. The page disapears, is totally white, even the favicon disapears. That can't be normal. Shocked

Do you have an idea what it could be?


EDIT April 19, 2010, 03:21:07:

I think I found something helpful:
If I publish a comment without smileys it works, even with activated superfish menu.
Then I tried to activate the BBcode buttons from JComments - the site disappears immediately. If I publish a comment with smileys - the site disappears immediately too. So I can't activate the BBcode buttons and I can't publish comments with smileys, so I better deactivate them too.

But I hope you will help me find a way to use this beautiful component with all the features it offers. That would be so very nice.
« Last Edit: April 19, 2010, 03:32:59 by pyretta » Logged
Floddr
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #10 on: May 01, 2010, 01:33:17 »

I have absolutely the same problem.

Could a jQuery-Code be the source of the problems?
Logged
ssnobben
Newbie
*

Karma: 0
Offline Offline

Posts: 20


Email
« Reply #11 on: July 05, 2010, 15:04:42 »

I also have the superfish menu but all this worked before with 2.1 version but not after upgrade and installed version 2.2
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #12 on: July 05, 2010, 15:19:55 »

I also have the superfish menu but all this worked before with 2.1 version but not after upgrade and installed version 2.2
What is superfish? What version do you use and where I can get it? This is free extension or commercial? Could you provide me link where I could get more detailed information?
Logged

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

Karma: 0
Offline Offline

Posts: 6


« Reply #13 on: September 29, 2010, 03:07:15 »

Hi smart,

it's little late i guess, but i hope not too late.

superfish is a menu extension for joomla, its non-commercial and you can get it here: http://extensions.joomla.org/extensions/structure-a-navigation/menu-systems/drop-a-tab-menus/6731?qh=YToxOntpOjA7czo5OiJzdXBlcmZpc2giO30%3D

I hope it helps to solve this problem.

Best regards,
pyretta
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: Can't submit comments!
 
Jump to: