Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4.1 Questions & Support

Notices

 
LinkBack Thread Tools Display Modes
Old 04-14-2009, 01:58 PM   #1
Member
 
Join Date: Mar 2009
Posts: 81
Rep Power: 9
wabugi is a glorious beacon of lightwabugi is a glorious beacon of lightwabugi is a glorious beacon of light
Default Strange error

I customized some layout stuff on my 68 classifieds. In regular distance I use validator.w3.org to see if I made any mistakes. I was able to eliminate every error exept this one:

Code:
Line 88, Column 128: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
�"bd3e2fd36a3c40d548f2100d07ba474d" />
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
First I thought it was a part of my selfmade code in the quicksearch-form. But after many hours of search I am now 99% sure that my form code is ok. There are no errors when I put the code in a extra file for checking.

I never used a code like " "bd3e2fd36a3c40d548f2100d07ba474d" /> ". And that's the reason why I dont write this thread in the html/css forum. Is there any chance that one of the php- or tpl-files generates a code or input box with wrong tags? I really don't know where to look for it. Any idea?
__________________
v4.14 - Developer Edition - custom template
wabugi is offline   Reply With Quote
Old 04-14-2009, 02:57 PM   #2
Member
 
Join Date: Mar 2009
Posts: 81
Rep Power: 9
wabugi is a glorious beacon of lightwabugi is a glorious beacon of lightwabugi is a glorious beacon of light
Default

Update:

I found out that the error only occures when a quick search is integrated in the layout. It doesen't matter if I use my own layout or one of the default layouts.

And the code, for example "bd3e2fd36a3c40d548f2100d07ba474d" changes on every reload of the website. So it must be something generated. Is there a way to fix the problem?
__________________
v4.14 - Developer Edition - custom template
wabugi is offline   Reply With Quote
Old 04-14-2009, 03:00 PM   #3
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,113
Rep Power: 118
Eric Barnes is a jewel in the rough
Default

Can you post the form code you are using?
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 04-14-2009, 03:11 PM   #4
Member
 
Join Date: Mar 2009
Posts: 81
Rep Power: 9
wabugi is a glorious beacon of lightwabugi is a glorious beacon of lightwabugi is a glorious beacon of light
Default

Sure. Here is the form code:

Code:
<div class="qsdiv">
 <form method="get" action="searchresults.php">
  <fieldset class="qsfield">
    <label class="qslabel" for="qsearch">Quick search:</label>
    <input type="text" id="qsearch" name="searchtext" class="qsinput" value="{$smarty.get.searchtext|escape}"></input>
    <button class="qsbutton" type="submit" value="{$smarty.const.LANG_SEARCH}"><span class="qsspan">Submit</span></button>
  </fieldset> 
 </form>
</div>
The classes are simple css. But I still think that it's not my fault. Every template causes this error.
__________________
v4.14 - Developer Edition - custom template
wabugi is offline   Reply With Quote
Old 04-14-2009, 03:15 PM   #5
Member
 
Join Date: Mar 2009
Posts: 81
Rep Power: 9
wabugi is a glorious beacon of lightwabugi is a glorious beacon of lightwabugi is a glorious beacon of light
Default

There is a similar error displayed for 68 Classifieds

So it doesen't seem to concern only my install of 68Classifieds
__________________
v4.14 - Developer Edition - custom template
wabugi is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
one strange thing happening, please help... canariasdata v4 Questions & Support 6 07-28-2008 02:54 PM
Strange Action Not Permitted Error Message Xemion v4 Questions & Support 2 03-19-2008 10:34 PM
Strange thing lbrown13 v3.1 Questions & Support 4 06-19-2006 11:01 AM
strange quickbiz v3.0 Questions & Support 2 06-06-2006 03:21 PM


All times are GMT -4. The time now is 12:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0