lucyllewy / htmlwrapper

Automatically exported from code.google.com/p/htmlwrapper
0 stars 0 forks source link

waiting for localhost... #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Default Installation of XAMPP Version 1.6.6a > PHP Version 5.2.5
2. Fresh install of wordpress 2.5
3. wrapper_wordpress theme upload to themes directory

What is the expected output? What do you see instead?

Theme has been applied but does not work:

Firefox & IE: status bar says: 'done', but page does not display anything
except for:

    Firefox: 1003px high blank white space, under this space is a green
'bar' ~10px high
    IE: 846px high blank white space, under this space is a green 'bar'
200px high

What version of the product are you using? On what operating system?
Vista SP1 Beta with latest wrapper_wordpress.zip source off downloads section

Please provide any additional information below.
This project is amazing! Keep up the great work.

Original issue reported on code.google.com by friedja...@gmail.com on 1 Apr 2008 at 10:25

GoogleCodeExporter commented 9 years ago
Your problem is most likely in your markup but it is hard to say from this
information. Can you send me the htmll source for a page and can install the 
debug
player and send me all of the output from the log. 
http://www.adobe.com/support/flashplayer/downloads.html the download is in the 
middle
of the page, you then have to set up your log file, you might want to use this 
plugin
https://addons.mozilla.org/en-US/firefox/addon/3469

Wrapper can't parse any html, it has limitations, I'm working on ways to open 
this up
but there are still ways to kill the parser. If your markup is clean everything 
will
should work great. 

Original comment by tallty...@gmail.com on 2 Apr 2008 at 12:35

GoogleCodeExporter commented 9 years ago
Hey Tyler,

Thanks for the quick response - fact is it's a completely fresh install of 
wordpress
with absolutely no modification to the template.

The wrapper_package with hello world is fine for me, works like a charm and I`m
excited. Tomorrow wordpress will be installed on my server so we`ll see how 
that goes. 

Cheers,
Jacob

===================================================================
Here is the actionscript error in Firefox:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
And in IE:
Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.

Though they`ll tell you the same thing.
===================================================================

Here is the HTML source, although it`s `code for code` from the 
wrapper_wordpress.zip:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Jacobs Killer blog  </title>
        <link rel="stylesheet"
href="http://localhost/wordpress/wp-content/themes/wrapper_wordpress/style.css"
type="text/css" />
        <script type="text/javascript"
src="http://localhost/wordpress/wp-content/themes/wrapper_wordpress/wrapper/wrap
per.js"></script>
        <link rel="alternate" type="application/rss+xml" title="RSS 2.0"
href="http://localhost/wordpress/?feed=rss2" />
        <link rel="alternate" type="text/xml" title="RSS .92"
href="http://localhost/wordpress/?feed=rss" />

        <link rel="alternate" type="application/atom+xml" title="Atom 0.3"
href="http://localhost/wordpress/?feed=atom" />
        <link rel="pingback" href="http://localhost/wordpress/xmlrpc.php" />
            <link rel='archives' title='April 2008' href='http://localhost/wordpress/?m=200804' />
        <link rel="EditURI" type="application/rsd+xml" title="RSD"
href="http://localhost/wordpress/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml"
href="http://localhost/wordpress/wp-includes/wlwmanifest.xml" /> 
<meta name="generator" content="WordPress 2.5" />

    </head>
    <body id="wrapper"
onload="wrapper('http://localhost/wordpress/wp-content/themes/wrapper_wordpress/
wrapper/');">

        <div id="header">

            <div id="header_content">
                <div id="logo">
                    <span class="logo"><a href="http://localhost/wordpress">Jacobs Killer
blog</a></span>
                </div>
                <div id="discription">
                    <span class="discription">Just another WordPress weblog</span>
                </div>
            </div>

        </div>      
<div id="middle">
    <div id="left">
        <p>

                            <span id="post-1" class="post">
                    <h1><a href="http://localhost/wordpress/?p=1" rel="bookmark" title="Permanent
Link to Hello world!">Hello world!</a></h1>
                    <p>Welcome to WordPress. This is your first post. Edit or delete it, then start
blogging!</p>
                    <small>April 2nd, 2008 by admin Posted in <a
href="http://localhost/wordpress/?cat=1" title="View all posts in Uncategorized"
rel="category">Uncategorized</a> |   <a
href="http://localhost/wordpress/?p=1#comments" title="Comment on Hello 
world!">1
Comment »</a> </small>

                    <br /><br />
                </span>

            <h2> </h2>

                </p>
    </div>

    <div id="right">
    <div id="ad">

    </div>

    <div id="right_left_column">
        <div id="right_left_column_txt" class="clear">
            <p>
                <h2>About the page</h2>
                This website was rendered entirely in the Flash Player with the help of <a
class="a1" href="http://code.google.com/p/htmlwrapper/">Wrapper</a>.
                <br />
                <br />

                <h2>Blogroll</h2>

    <ul>
<span><a href="http://codex.wordpress.org/">Documentation</a></span><br />
<span><a href="http://wordpress.org/development/">Development 
Blog</a></span><br />
<span><a href="http://wordpress.org/extend/ideas/">Suggest Ideas</a></span><br 
/>
<span><a href="http://wordpress.org/support/">Support Forum</a></span><br />
<span><a href="http://wordpress.org/extend/plugins/">Plugins</a></span><br />
<span><a href="http://wordpress.org/extend/themes/">Themes</a></span><br />
<span><a href="http://planet.wordpress.org/">WordPress Planet</a></span><br />

    </ul>

                <br />
                                <br />
            </p>
        </div>
    </div>

    <div id="right_right_column">
        <div id="pages_links" class="clear">

            <div class="clear">
                <p>
                    <h2><li>Pages</li></h2>
                    <li class="page_item page-item-2"><a
href="http://localhost/wordpress/?page_id=2" title="About">About</a></li>
                </p>
            </div>
        </div>
        <div class="clear">

            <p>

                <h2>Archives</h2>
                    <span><a href='http://localhost/wordpress/?m=200804' title='April 2008'>April
2008</a></span>
                <br />
                <br />
                <h2>Categories</h2>
                    <a href="http://localhost/wordpress/?cat=1" title="View all posts filed under
Uncategorized">Uncategorized</a><br />

                <br />

                                <h2>Meta</h2>
                <a href="http://localhost/wordpress/wp-login.php">Log in</a><br />
                <a href="http://validator.w3.org/check/referer" title="This page validates as
XHTML 1.0 Transitional">Valid XHTML</a><br />
                <a href="http://gmpg.org/xfn/">XFN</a><br />
                <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art
semantic personal publishing platform.">WordPress</a><br />

                <br />

            </p>
        </div>
    </div>
</div>

</div>

        <div id="footer">
            <div id="footer_content">
                <span class="footer"> 
                    Jacobs Killer blog is proudly powered by <a
href="http://wordpress.org">WordPress</a> & <a
href="http://code.google.com/p/htmlwrapper/">Wrapper</a>

                    <br />
                    This theme was created by <a href="http://www.motionandcolor.com"> Motion &
Color</a>

                </span>
            </div>
        </div>

    </body>

</html>

++++++++++++++++++++++++++++++++++++++++++++++

Original comment by friedja...@gmail.com on 2 Apr 2008 at 4:33

GoogleCodeExporter commented 9 years ago
I think your issue is with the rss feeds, try commenting out all this.

<link rel="alternate" type="application/rss+xml" title="RSS 2.0"
href="http://localhost/wordpress/?feed=rss2" />
        <link rel="alternate" type="text/xml" title="RSS .92"
href="http://localhost/wordpress/?feed=rss" />

        <link rel="alternate" type="application/atom+xml" title="Atom 0.3"
href="http://localhost/wordpress/?feed=atom" />
        <link rel="pingback" href="http://localhost/wordpress/xmlrpc.php" />
            <link rel='archives' title='April 2008' href='http://localhost/wordpress/?m=200804' />
        <link rel="EditURI" type="application/rsd+xml" title="RSD"
href="http://localhost/wordpress/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml"
href="http://localhost/wordpress/wp-includes/wlwmanifest.xml" /> 

Tell me if this works and I'll patch this.

Everything that is loaded is in the head or in the css so one of these places is
throwing the error. If you haven't changed your styles then it is something in 
the
head and it can't be the javascript because that is working.

Tell me what you find and I will try and fix the bug, thanks for testing it 
out. 

Original comment by tallty...@gmail.com on 2 Apr 2008 at 12:51

GoogleCodeExporter commented 9 years ago
Alright, I`ve taken this out of the header.php file under the theme editor:

----------------------------------------------------------------------

<--!
        <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php
bloginfo('rss2_url'); ?>" />
        <link rel="alternate" type="text/xml" title="RSS .92" href="<?php
bloginfo('rss_url'); ?>" />

        <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php
bloginfo('atom_url'); ?>" />
        <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
        <?php wp_get_archives('type=monthly&format=link'); ?>
        <?php wp_head(); ?>

-->

--------------------------------------------------------------------

I`m sure that takes care of all the code generated in the HTML source - however,
another problem arises (see below, from the debugger). Now this is the first 
time
I`ve used wordpress, so bear with me. There must be something i`m missing.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=

Error: Your HTML is not well formed, check this out for help...
http://infohound.net/tidy/ 

Error #1090: XML parser failure: element is malformed.
    at com.base.parse::Html/fixHtml()
    at com.base.parse::Html/onCompleteHTML()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Original comment by friedja...@gmail.com on 2 Apr 2008 at 3:42

GoogleCodeExporter commented 9 years ago
If you send me the html source for the whole page I will take a look, something 
in
your markup is not able to be parsed. 

Did you change the template from the download? 

Original comment by tallty...@gmail.com on 2 Apr 2008 at 4:02

GoogleCodeExporter commented 9 years ago
Alright, here's the error again in Firefox:

the php wp_head() snuck in there... I forgot to refresh.
This is with it taken out. Have a look:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Error: Your HTML is not well formed, check this out for help...
http://infohound.net/tidy/ 

Please include at least one style sheet. Thanks. 

    at com.base.parse::Html/fixHtml()
    at com.base.parse::Html/onCompleteHTML()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

and the source:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Jacobs Killer blog  </title>
        <link rel="stylesheet"
href="http://localhost/wordpress/wp-content/themes/wrapper_wordpress/style.css"
type="text/css" />
        <script type="text/javascript"
src="http://localhost/wordpress/wp-content/themes/wrapper_wordpress/wrapper/wrap
per.js"></script>

<--!
        <link rel="alternate" type="application/rss+xml" title="RSS 2.0"
href="http://localhost/wordpress/?feed=rss2" />
        <link rel="alternate" type="text/xml" title="RSS .92"
href="http://localhost/wordpress/?feed=rss" />

        <link rel="alternate" type="application/atom+xml" title="Atom 0.3"
href="http://localhost/wordpress/?feed=atom" />
        <link rel="pingback" href="http://localhost/wordpress/xmlrpc.php" />
            <link rel='archives' title='April 2008' href='http://localhost/wordpress/?m=200804' />
        <link rel="EditURI" type="application/rsd+xml" title="RSD"
href="http://localhost/wordpress/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml"
href="http://localhost/wordpress/wp-includes/wlwmanifest.xml" /> 

<meta name="generator" content="WordPress 2.5" />

-->

    </head>

    <body id="wrapper"
onload="wrapper('http://localhost/wordpress/wp-content/themes/wrapper_wordpress/
wrapper/');">

        <div id="header">
            <div id="header_content">
                <div id="logo">
                    <span class="logo"><a href="http://localhost/wordpress">Jacobs Killer
blog</a></span>

                </div>
                <div id="discription">
                    <span class="discription">Just another WordPress weblog</span>
                </div>
            </div>
        </div>      
<div id="middle">
    <div id="left">
        <p>

                            <span id="post-1" class="post">
                    <h1><a href="http://localhost/wordpress/?p=1" rel="bookmark" title="Permanent
Link to Hello world!">Hello world!</a></h1>
                    <p>Welcome to WordPress. This is your first post. Edit or delete it, then start
blogging!</p>
                    <small>April 2nd, 2008 by admin Posted in <a
href="http://localhost/wordpress/?cat=1" title="View all posts in Uncategorized"
rel="category">Uncategorized</a> | <a
href="http://localhost/wordpress/wp-admin/post.php?action=edit&post=1"
title="Edit post">Edit</a>|  <a href="http://localhost/wordpress/?p=1#comments"
title="Comment on Hello world!">1 Comment »</a> </small>

                    <br /><br />
                </span>

            <h2> </h2>

                </p>
    </div>

    <div id="right">
    <div id="ad">

    </div>

    <div id="right_left_column">
        <div id="right_left_column_txt" class="clear">
            <p>
                <h2>About the page</h2>
                This website was rendered entirely in the Flash Player with the help of <a
class="a1" href="http://code.google.com/p/htmlwrapper/">Wrapper</a>.
                <br />
                <br />

                <h2>Blogroll</h2>

    <ul>
<span><a href="http://codex.wordpress.org/">Documentation</a></span><br />
<span><a href="http://wordpress.org/development/">Development 
Blog</a></span><br />
<span><a href="http://wordpress.org/extend/ideas/">Suggest Ideas</a></span><br 
/>
<span><a href="http://wordpress.org/support/">Support Forum</a></span><br />
<span><a href="http://wordpress.org/extend/plugins/">Plugins</a></span><br />
<span><a href="http://wordpress.org/extend/themes/">Themes</a></span><br />
<span><a href="http://planet.wordpress.org/">WordPress Planet</a></span><br />

    </ul>

                <br />
                                <br />
            </p>
        </div>
    </div>

    <div id="right_right_column">
        <div id="pages_links" class="clear">

            <div class="clear">
                <p>
                    <h2><li>Pages</li></h2>
                    <li class="page_item page-item-2"><a
href="http://localhost/wordpress/?page_id=2" title="About">About</a></li>
                </p>
            </div>
        </div>
        <div class="clear">

            <p>

                <h2>Archives</h2>
                    <span><a href='http://localhost/wordpress/?m=200804' title='April 2008'>April
2008</a></span>
                <br />
                <br />
                <h2>Categories</h2>
                    <a href="http://localhost/wordpress/?cat=1" title="View all posts filed under
Uncategorized">Uncategorized</a><br />

                <br />

                                <h2>Meta</h2>
                <a href="http://localhost/wordpress/wp-login.php?action=logout">Log out</a><br />
                <a href="http://validator.w3.org/check/referer" title="This page validates as
XHTML 1.0 Transitional">Valid XHTML</a><br />
                <a href="http://gmpg.org/xfn/">XFN</a><br />
                <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art
semantic personal publishing platform.">WordPress</a><br />

                <br />

            </p>
        </div>
    </div>
</div>

</div>

        <div id="footer">
            <div id="footer_content">
                <span class="footer"> 
                    Jacobs Killer blog is proudly powered by <a
href="http://wordpress.org">WordPress</a> & <a
href="http://code.google.com/p/htmlwrapper/">Wrapper</a>

                    <br />
                    This theme was created by <a href="http://www.motionandcolor.com"> Motion &
Color</a>

                </span>
            </div>
        </div>

    </body>

</html>

I didn't change the template whatsoever. If you think this would be solely a
wordpress problem, we'll forget it - I can work with the hello world example. 

Original comment by friedja...@gmail.com on 2 Apr 2008 at 4:33

GoogleCodeExporter commented 9 years ago
im getting the same problem..

Original comment by uk.ra...@gmail.com on 31 May 2008 at 2:51

GoogleCodeExporter commented 9 years ago
i am getting the same problem too

Original comment by ramazan....@gmail.com on 3 Jun 2008 at 9:08

GoogleCodeExporter commented 9 years ago
Are these site somewhere public that I can see them? Make sure that this is a 
fresh
install with no articles. Sometime the content of the articles can break the 
theme.
I might try to download wordpress 2.0, do you know where I can check the 
version that
I have installed?

Also I have 80% of a new version made that will take care of most issues like 
this.
What is happening is a rendering error and something in your html is confusing 
the
xml parser and everything blows up. If you can isolate what is breaking this 
will be
easier to fix. Try navigating to other pages by coping links from the source. 
Maybe
it is something only on the home page?

Original comment by tallty...@gmail.com on 3 Jun 2008 at 12:43

GoogleCodeExporter commented 9 years ago
Read this:

http://stevenstark.com/flash/2008/10/using-the-flex-html-wrapper-with-wordpress/

Original comment by i...@vancouveronlinemedia.com on 19 Oct 2008 at 3:49

GoogleCodeExporter commented 9 years ago
I found this one to be helpful.  Good Luck.  Mine does work after following his
simple instruction.

http://allmarsh.com/wall/?p=36

Original comment by lie...@gmail.com on 16 Jan 2009 at 11:22

GoogleCodeExporter commented 9 years ago
to the original poster, you have commented out your html wrong:

<--!

should be

<!--

This will account for the second error about malformed html. As to your original
problem, I found that after recreating the CSS file, clearing my browser's 
cache and
a couple tweaks to the original source fixed my issue. However, you may find 
that
your problem is different to mine.  As mentioned in the page at Steven Stark's 
site
(see two posts above), the required fonts are missing from the download, which 
may be
causing your problem. Also, don't be tempted to fiddle with the html, as that 
is all
correct and working without changes from the original download.

Original comment by diddle...@gmail.com on 3 Nov 2009 at 8:29

GoogleCodeExporter commented 9 years ago
ok, I've figured out the problem with the wordpress theme on my system: I had 
the
thickbox plugin activated, which loaded it's own css via the <?php wp_head(); 
?> call
in the header.php file. I fixed this temporarily by removing the wp_head() call
completely so that wordpress can't add random junk to the page's head section 
which
could possibly confuse htmlwrapper.

I'm marking this issue as wontfix, as the problem is most likely down to the 
users'
individual scenarios rather than something we can do to htmlwrapper. To the two
people that chimed-in with their "me to"s, if this is still a problem fire off 
an
email to the mailing list or open another bug with a link to the site that 
exhibits
the problem and I will try to take a look (or I'm sure Tyler will :-p).

Original comment by diddle...@gmail.com on 3 Nov 2009 at 11:00