×

Notice

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

TOPIC: Getting an erro message on comment submit

Getting an erro message on comment submit 15 years 4 months ago #4762

  • Colman
  • Colman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Hi,

When I am using 1.5.9 and !JoComment 4.0 alpha3.

When I submit a comment I am getting a "Request failed" message. When I click on that the comment box fills with..

<br />
<b>Notice</b>: Undefined index: id in <b>/home/pillar3400/public_html/components/com_comment/joscomment/comment.class.php</b> on line <b>1205</b><br />
<?xml version="1.0" standalone="yes"?><post><id></id><published></published><noerror>1</noerror><debug></debug></post>

But the approval e-mail does get sent to the admin for the comment to be approved. So that is working. It is just that the user gets the error message and will think his/her comment has been submitted.

It can be seen here: www.codegaconsulting.com/blog

Any suggestions?

Thanks

Getting an erro message on comment submit 15 years 4 months ago #4765

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
I'm not the lead developer so don't know as much, but your Joomla template might be conflicting... that PHP warning actually outputs to the COMMENT box!?!? :laugh: That's very strange...

Try doing it again with the 'modern' template of JoComment. If that doesn't fix it, i'm not too sure... hopefully Daniel can get on soon to track it down - it might be a bug.

EDIT: I'm also seeing at the top of the article view the following error now -
Notice: Undefined offset: 2 in /home/pillar3400/public_html/plugins/content/slideshare15.php on line 82
...it may be an problem with the site that's unrelated to JoComment :unsure:

Getting an erro message on comment submit 15 years 4 months ago #4831

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
hey colman. I see that you have turned the comment system off. Are you still fish to use it or are you going for another extension?

Getting an erro message on comment submit 15 years 4 months ago #4861

  • Colman
  • Colman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Hi JonusC, Daniel.

Thanks for your quick replies and help. I have turned the component back on.
I was away for the weekend and did not want to have the component on with any bugs. If you would like to test it out that would be great. www.codegaconsulting.com/blog/ .

We would still definitely like to use it if possible. I have looked at all the other comment components and I think that this is the best for us. (particularily as you can choose what categories to display the component on).

Regards,
Colman

Getting an erro message on comment submit 15 years 4 months ago #4863

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi there!

Notice: Undefined offset: 2 in /home/pillar3400/public_html/plugins/content/slideshare15.php on line 82


On your website I see the above message. Can you disable the plugin slideshare and then try to see if our component is working?

Getting an erro message on comment submit 15 years 4 months ago #4866

  • Colman
  • Colman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
I temporarily disabled the slideshare plugin, but got the same error message.

Getting an erro message on comment submit 15 years 4 months ago #4867

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
are you willing to give me backend access and ftp access. I will need to look in the files and so on.

Getting an erro message on comment submit 15 years 4 months ago #4868

  • Colman
  • Colman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Due to our IT man not being here at the moment I cannot set up ftp access for you at the moment. If you like you can send me a file and I will edit/upload it etc..

Thank you for your time and help.

Regards,

Getting an erro message on comment submit 15 years 4 months ago #4869

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, now it is working!
Please don't ask what the problem was! I don't know!

I have changed autopublish comment to yes and then it started working. Then I was thinking - what the.....

I made a complete uninstall and installed joomlacomment beta1 and now it works. Also with autopublish comment set to 0.

Getting an erro message on comment submit 15 years 4 months ago #4870

  • Colman
  • Colman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
I dont know, I just tested it there and I am getting the same error..? (using FireFox)

Getting an erro message on comment submit 15 years 4 months ago #4872

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
LOL, yep. It is not working now.

Getting an erro message on comment submit 15 years 4 months ago #4873

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
That is very interesting. If the thread has no comments and the setting to allow autopublish is set to 0, then you can not post the comment and get this message.

If you have a comment, then it is working. I have to see if this is the same situation on my localhost. For the moment you can just set autopublish to true.

Getting an erro message on comment submit 15 years 4 months ago #4874

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, tested on my localhost. I have the same problem. It seems that there is a bug with the autopublish feature(only if I knew what is wrong...)
It will take some time to fix this - I don't know how much, since I still don't know what is the problem.

Getting an erro message on comment submit 15 years 4 months ago #4875

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, try this please. Open comment.class.php
go to line 1203 and find
$xml .= '<id>' . $item['id'] . '</id>';

delete it from there and move it few lines later in the if(item code
            if ($item['view']) {
                $xml .= '<id>' . $item['id'] . '</id>';
	        $html = JOSC_utils::cdata(JOSC_utils::filter($this->encodeData_Charset($this->insertPost($item, ''))));
    	        $xml .= "<body>$html</body>";
            }

Tell me if it is working. :)

Getting an erro message on comment submit 15 years 4 months ago #4917

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey colman, did you make the change? Is it working for you now?

Getting an erro message on comment submit 15 years 4 months ago #4919

  • Colman
  • Colman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Hi Daniel,
No I have not made that change yet because I am waiting for ftp access and have a meeting with the client now. I will let you know asap.
Thanks for the progress and updates.
Colman

Getting an erro message on comment submit 15 years 4 months ago #4925

  • Colman
  • Colman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Thanks Daniel, I think that worked well.

Thanks for the component and support.

Regards,
Colman

Getting an erro message on comment submit 15 years 4 months ago #4926

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey, I'm happy it is working. I will add this to the next release. Please uninstall xtexplorer (I've installed it to browse the joomlacomment files through the backend of joomla.

If you satisfied with joomlacomment, please write a review here:
extensions.joomla.org/extensions/contact...omments/4389/details

Thanks!

Getting an erro message on comment submit 15 years 4 months ago #4938

  • Colman
  • Colman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Yeah I gave you a nice review, lets see if they publish it eh!

One last quick question, the client asks is it possible to have a smaller 'Message' box on the front end?

In the Layout I have tried changing 'Columns number of the input area' but that has had no effect. If It is a simple setting in one of the files tell me which one and I will dig it out myself. If not its fine

Thanks,
Colman

Getting an erro message on comment submit 15 years 4 months ago #4939

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Open the standard.css file comming with joomalcomment and edit

#joomlacommentform textarea {standard.css (line 53)
border:1px solid #CCCCCC;
height:200px;
width:400px;
}

make width 200 or whatever you want
  • Page:
  • 1
  • 2
Time to create page: 0.133 seconds