Piecemaker wont load

iradj

Where are these "//"? I do not think so.

Iradj

hellblazer

It's not working because the javascript is inside a comment.
And the path to the documents contains double slashes like "//" witch could be problematic.
As for my point of view - the slash before "images" should be removed to get it working.
Also the comment-tags around the js.

Regards
Hellblazer
It's not the PHP itself - it's the thought behind it, that drives me mad.

been_1990

It's working because it's using an iframe to load a html page that embeds the swf using swfobject. But if I try to load it directly. it fails.

Below is the code:
<script type='text/javascript' src='http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/swfobject.js'></script>
<script type="text/javascript">  
       var flashvars = {};  
       flashvars.xmlSource = "http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/piecemakerXML.xml";  
       flashvars.cssSource = "http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/piecemakerCSS.css";  
       flashvars.imageSource = "http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/images";  
       var attributes = {};  
       attributes.wmode = "transparent";  
       swfobject.embedSWF("http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/piecemakerNoShadow.swf", "flashcontent", "960", "610", "10", "http://stack-files.freehostia.com/wb/templates/PBATheme/images/piecemaker/expressInstall.swf", flashvars, attributes);  
</script>


http://stack-files.freehostia.com/wb/pages/notworking.php

aldus

Hm ... same here, FF 3.6 - MacOS 10.5, but it took a while, nearly 20 to 25 seconds.
Maybe the images are too big?

Kind regards
Aldus

kweitzel

Loads fine on FireFox here ...

cheers

Klaus

been_1990


been_1990

I've uploaded it to another host(freehostia.com, it's pretty good by the way):
http://stack-files.freehostia.com/wb//pages/testblock.php
user and pass are admin.

crnogorac081

It could be, from what I can see.. css files werent there...

post the htaccess file so we can take a look
Web developer

been_1990

It's not that, the filenames are right. Does WB use mod-rewrite? This website does, maybe something in .htaccess?

crnogorac081

it seems that layout.css and html.css and maybe some other files are not there where they are called:


http://felizbahia.org/wb/wb/templates/PBATheme-NoExtras/css/html.css
http://felizbahia.org/wb/wb/templates/PBATheme-NoExtras/css/layout.css


Check if you uploaded files to that folder... Also, check if template folder is exactly as in link (check for CAPITAL LETTERS)

cheers
Web developer

been_1990

I've uploaded to here: http://felizbahia.org/wb/wb/ 
But I can't get it to load images and css files, dunno why..

been_1990

The source is ok. It just seems that when that is included in a php CMS it doesnt work. But in a html file it works perfectly. Im trying to upload my local wb setup so you can take a look.

kweitzel

And the sourcecode of the rendered Page is OK as well (give us a Link maybe)?

cheers

Klaus

been_1990

no errors relating to piecemaker. I even tried using the article editor import flash to embed piecemaker and it still doesn't work.

kweitzel

No errors showing up, even not if you check the errorlogs?

cheers

Klaus

been_1990

Anyone? If I use a IFRAME that loads a html page that has piecemaker embeded to it, it works.

been_1990

#1
Im trying to load piecemaker into a template but it wont load no matter what. I'm using swf object to load it.

<script type="text/javascript">  
       var flashvars = {};  
       flashvars.xmlSource = "<?php echo TEMPLATE_DIR?>/images/piecemaker/piecemakerXML.xml";  
       flashvars.cssSource = "<?php echo TEMPLATE_DIR?>/images/piecemaker/piecemakerCSS.css";  
       flashvars.imageSource = "<?php echo TEMPLATE_DIR?>/images/piecemaker/images";  
       var attributes = {};  
       attributes.wmode = "transparent";  
       swfobject.embedSWF("<?php echo TEMPLATE_DIR?>/images/piecemaker/piecemakerNoShadow.swf", "flashcontent", "960", "610", "10", "<?php echo TEMPLATE_DIR?>/images/piecemaker/expressInstall.swf", flashvars, attributes);  
</script>  

the links are all tested and are working fine out of the template, it just doesnt load when using WB.