Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-02-17 04:14:38

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Can't fix comment error message

I’ve finally gotten this thing (http://duhspot.net/rumblings/) to where I want it, but I only have one more thing to fix. There’s a strange “General error…” message that pops up when you are posting a comment. I’ve tested it and you can post the comment but this error message is there and it unnerves me a bit. How do I get rid of it, what do I need to do, what do I need to correct, why is it doing that?

Here’s what I’m getting: http://www.duhspot.net/test.jpg

Any help would be appreciated.

Last edited by Onlyduh (2015-02-17 04:15:56)

Offline

#2 2015-02-17 04:58:29

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,287
Website Mastodon

Re: Can't fix comment error message

Onlyduh wrote #288320:

I’ve finally gotten this thing (http://duhspot.net/rumblings/) to where I want it, but I only have one more thing to fix. There’s a strange “General error…” message that pops up when you are posting a comment. I’ve tested it and you can post the comment but this error message is there and it unnerves me a bit. How do I get rid of it, what do I need to do, what do I need to correct, why is it doing that?

Here’s what I’m getting: http://www.duhspot.net/test.jpg

Any help would be appreciated.

are you using any plugins?
Which version of Textpattern are you running?


…. texted postive

Offline

#3 2015-02-17 05:01:24

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

These are the plugins:

rss_suparchive Rob Sable 0.18
upm_date_archive Mary Fredborg 0.2.5
zem_contact_lang TXP Community 4.0.3.6
zem_contact_reborn TXP Community 4.0.3.19

and I do believe I have the most updated version of Textpattern installed.

Offline

#4 2015-02-17 05:05:22

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,287
Website Mastodon

Re: Can't fix comment error message

hmmm. not sure how to help. If you run diagnoistics with both low and high detail any errors?


…. texted postive

Offline

#5 2015-02-17 05:08:29

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

That’s sound really wonderful if I had the coding skill that god gave a head of cabbage. Unfortunately, my troubleshooting efforts consist of cutting, pasting, trial and error. Debugging in any meaningful way is beyond me at this point. I think the most I did was look at the source code, but then I realized that I couldn’t modify it.

Offline

#6 2015-02-17 05:09:43

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

I might do some fiddling with the bits and see if I can’t screw it up even more than it is….

Offline

#7 2015-02-17 05:19:01

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,287
Website Mastodon

Re: Can't fix comment error message

Onlyduh wrote #288326:

That’s sound really wonderful if I had the coding skill that god gave a head of cabbage. Unfortunately, my troubleshooting efforts consist of cutting, pasting, trial and error. Debugging in any meaningful way is beyond me at this point. I think the most I did was look at the source code, but then I realized that I couldn’t modify it.

running Diagnostics is easy. you do it from the CP under Admin / Diagnostics tab

Last edited by bici (2015-02-17 05:44:19)


…. texted postive

Offline

#8 2015-02-17 05:20:51

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

oh coolio. that sounds like a thing…

Offline

#9 2015-02-17 14:43:16

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,810
GitHub

Re: Can't fix comment error message

Onlyduh wrote #288320:

Here’s what I’m getting: http://www.duhspot.net/test.jpg

OK, this is a popup comment which has its own page scaffolding.

Have a look in the admin-side for Presentation -> Forms and you’ll find something called popup_comments or thereabouts. Copy and paste whatever is in that form into a text editor and whizz down to line 440. What does it say?

Offline

#10 2015-02-17 15:28:25

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,566
Website GitHub Mastodon

Re: Can't fix comment error message

I wouldn’t recommend using popup_comments either, it’s pretty much an obsolete web design pattern nowadays – better to use an in-page comment layout IMHO.

Offline

#11 2015-02-17 19:48:03

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

The comments section wasn’t even on my radar. Kind of assumed that I didn’t use a pop up dealio. Also, did the cut and paste thing and there isn’t a line 40. I’m going to try to fix this not to use the pop up.

Offline

#12 2015-02-17 19:56:33

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

Whoops spoke too soon.

Last edited by Onlyduh (2015-02-17 19:59:47)

Offline

#13 2015-02-18 10:21:51

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,810
GitHub

Re: Can't fix comment error message

OK, forgot the part I mentioned with the line number – there’s a bogus tag somewhere in your page construct(s), and the line number may not correspond with the template exactly.

With that in mind, we should take a look at your page templates and play Spot The Bogus Tag. You’re running the latest version, so it’s most likely a typo or other flub rather than a genuine tag that has been introduced ahead of your Textpattern version.

Can you post your popup_comments form here to get us started, please? Thanks.

Offline

#14 2015-02-18 18:01:50

Onlyduh
Member
Registered: 2015-02-07
Posts: 37

Re: Can't fix comment error message

Alrighty-o. And ahead of time, THANKS for all your help. Comments would be cool to have but if I can’t make them work, its not the end of the world. I do like the help, its allowing me to be brave enough to screw up a whole new bunch of things on my own that I wouldn’t have even attempted.

Here’s whats under “Popup_comments”

<!DOCTYPE html>
<html lang="<txp:lang />">

<head>
  <meta charset="utf-8">

  <title><txp:page_title /></title>
  <meta name="generator" content="Textpattern CMS">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="robots" content="noindex, follow, noodp, noydir">

  <!-- CSS -->
  <!-- Google font API (remove this if you intend to use the theme in a project without internet access) -->
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:n4,i4,n7,i7|Cousine">

  <txp:css format="link" media="" />
  <!-- ...or you can use (faster) external CSS files eg. <link rel="stylesheet" href="<txp:site_url />css/default.css"> -->

  <!-- HTML5/Media Queries support for IE < 9 (you can remove this section and the corresponding 'js' directory files if you don't intend to support IE < 9) -->
  <!--[if lt IE 9]>
    <script src="<txp:site_url />js/html5shiv.js"></script>
    <script src="<txp:site_url />js/css3-mediaqueries.js"></script>
  <![endif]-->

</head>

<body id="popup-page">

  <div class="wrapper">
    <div class="container">

      <!-- this form is only used if you set 'Comments mode' to 'popup' format in preferences -->
      <txp:popup_comments />

    </div> <!-- /.container -->
  </div> <!-- /.wrapper -->

</body>
</html>

Moderator’s annotation:
Edited to add Textile’s bc.. for better readability.
– Uli –

Last edited by uli (2015-02-18 18:50:47)

Offline

#15 2015-02-18 18:53:17

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: Can't fix comment error message

Isn’t that simply the good old page doesn't contain an article tag warning in different clothings which could be silenced by setting the site to live mode in Preferences > Basic?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB