Hi, Thanks for explaining how tidy functions. What do I need to do to get tidy to correct the pages on the new server? Tidy is enabled in PHP and on the server tidy: /opt/tidy/bin/tidy but is not processing the pages. Thanks
On Sat, Mar 27, 2010 at 11:30 PM, Jigal van Hemert <[email protected]> wrote: > Dave Kennedy wrote: > >> Situation: >> Site was tarred and copied to a different server >> MySql database was dumped and restored on this server. >> >> Now the pages are not rendering correctly >> Compare correct version >> http://bbd.ca/planadvisors.html >> with this >> http://www.dksy.net/bbd/typo3-dummy/planadvisors.html >> > > The HTML template for the site has errors in them, which on the old server > were corrected by tidy in such a way that the pages looked good in the > browser. > > Without tidy: > ------------------------- > <!--###navcontainer### end --></div> > <!--###topmenu### end --></div> > <!-- end of header --> > </td> > </tr> > </table> > <tr> > <td VALIGN="top" ALIGN="left"> > <BR> > <tr> > <td colspan="2"> > ------------------------- > > with tidy: > ------------------------- > </ul><!--###navcontainer### end --> > </div><!--###topmenu### end --> > </div><!-- end of header --> > </td> > </tr> > </table> > > <table> > <tr> > <td valign="top" align="left"><br></td> > </tr> > > <tr> > <td colspan="2"></td> > ------------------------- > > Tidy added a <table> tag, closed the </td> and </tr> in the second table, > etc. These are just a few lines from the page... > > Nothing to do with css_styled_content or automaketemplate. Just a matter of > "garbage in, garbage out". Fix the HTML template and see if that helps. > Maybe the TypoScript configuration is also full of HTML errors, who knows? > It looks like someone used the trial-and-error method to build the site and > messed around until tidy managed to produce something which looked like they > wanted it to look :-( > > -- > Jigal van Hemert. > > _______________________________________________ > TYPO3-english mailing list > [email protected] > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english > _______________________________________________ TYPO3-english mailing list [email protected] http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
