Recent Topics

1 Mar 01, 2013 17:57    

I'm trying to clean up a skin to hopefully submit, but when I ran it through the validator, it gave me two errors that I can't find the code for. I think they're in the basic files, but I'm not sure. The ones I'm getting that I can't find are:

- required attribute "action" not specified
…e a comment</h3><form class="bComment"><div class="comment_disabled_msg"><p>Yo…

- value of attribute "disabled" cannot be "true"; must be one of "disabled"
…="5" name="p" cols="40" disabled="true">You must be logged in to leave a comme…

[url="http://www.dubird.net/index.php?blog=14"]Here's the link to my test blog[/url] so you can see for yourself. There's several errors that are in the posts themselves, including the Photodropper, but I'll be removing those shortly. Any help would be apprecated!

2 Mar 02, 2013 00:58

you need to add action="something" to <form>

you need to change disabled="true" to disabled="disabled"

3 Mar 02, 2013 02:57

The problem is that I can't find the forms where those are at. It's not in index file, item_block or feedback includes. 8 just wanted to know what file has them so I can fix it.

4 Mar 02, 2013 03:55

Probably _item_comment_form.inc.php

5 Mar 02, 2013 16:13

Ok, I still can't find it. I'm guessing it's a variable somewhere, but I can't find where. Also, I checked a couple of the skins that came with b2evo, and their feedback pages give the same two errors.

6 Mar 03, 2013 05:31

That was an attempt to adjust some of the paramaters to see if I could find the issue. I've removed item_feedback_inc and I'm still getting the error.

7 Mar 03, 2013 05:34

@dubird wrote earlier:

That was an attempt to adjust some of the paramaters to see if I could find the issue. I've removed item_feedback_inc and I'm still getting the error.

Weird.What's your b2 version ? (it's 4.1.2 as far as i see)

And i see that you have changed your skin.Did that help ?

Btw, does anyone know why my previous post has disappeared ?

8 Mar 03, 2013 05:39

It's the same skin I've been working on. And I haven't upgraded because I haven't had the chance to back everything up fully yet. Last time I tried to upgrade before I did that, I lost everything. ><

9 Mar 03, 2013 05:42

Who said anything about upgrading (although it's always useful) ? Ignore my last post, you did NOT change your skin, just your home blog's skin happen to be different from your blog#14 .

Please change your skin to a stock skin like evopress and see if the problem persists.If it does, it might be a bug.

Tried with ?tempskin, seems to be a release bug. You should consider upgrading, even if it's relatively new, 4.1.2 is still a 2 year old relase now.

What do you mean you "lost everything" with your last upgrade

10 Mar 03, 2013 07:34

Yeah, 14 is my testing blog. I've done various other skins for my use, but as they've been my first trys at making a template for b2evo, they were kinda hacked together. This is the first one I've tried to correct everything on to actually release it.

And last time I updated, I was going from version v2 to v4, and the database got completly screwed up. I think it was actually my server that screwed something up, but it made me a bit more cautious about doing anything major without backing up first.

11 Mar 04, 2013 16:23

Ok, so updated to 4.1.6, and still getting those validation errors.

12 Mar 12, 2013 16:06

Anyone have any other suggestions? I'd really like to make this work.

13 Mar 14, 2013 00:24

In the file /inc/comments/model/_comments.funcs.php
around line 556 you will find:


	echo '<form class="bComment">';

around line 576 you will find:


	echo '<textarea id="p" class="bComment form_text_areainput" rows="5" name="p" cols="40" disabled="true">'.$disabled_text.'</textarea>';

So you can fix the issues in this file.

14 Mar 14, 2013 15:27

THANK YOU! Found and fixed! Two more questions:

1. I'm getting a new error:
Error Line 94, Column 606: ID "p" already defined

…/div><div class="input"><textarea id="p" class="bComment form_text_areainput" …

Apparently, it's naming each comment box with the same id, which the validator doesn't like. I can remove that, but it still gives me a warning about it. It doesn't give me any warnings if I set comments to Anybody instead of Registered Users.

2. Will I need to include this file in the completed .zip file, with instructions where to put it?


Form is loading...