close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DW Template and SS

Thread began 10/04/2010 6:48 am by MikeH | Last modified 10/08/2010 12:29 pm by Jason Byrnes | 2086 views | 9 replies |

MikeH

DW Template and SS

Hi
I am trying to use SS with my own temaplte for the first time.

I create the temaplate.

I Create a new SS Preset using the Preset Manager importing the DW temaplte previews look fine selecting the relevant regions all good.

So click to create and bang.

Lots of Not Found Errors in all the pages.

When you open them in DW the same errors pop up.

The error contains what looks like loads of DIV markup from the pages so much so they more than fill the screen so I cannot even see the full error or any buttons to close the popup boxes.

Any ideas?

Thanks

BTW I am using a 3rd party tool for the CSS Layout. I obviously do not want to mention that on here. It does create 100% Validated CSS.

Thanks

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

can you export the preset and send us a copy so we can reproduce the issue.

Sign in to reply to this post

MikeH

Hi Jason
Yes please find it attached. I have created a really basic design to allow you to see the error fully.

It only has 3 sections nav, contents, footer still causes SS to generate with errors.

Mike

Attached Files
testdesign.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I did not get an error message when using your layout.

however, one thing I do notice is that there is a line added to attach a js/debug_plus.js file, but this file is empty in the layout:
<script type="text/javascript" src="sitesculptor_assets/content/js/debug_plus.js"></script>

sometimes if you use the ctrl+c(command+c for mac) copy keybord command when an error window is open, it will copy the error message to the clip board, perhaps you could copy the error to you message this way?

Or a screen shot showing the error may be helpful.

Sign in to reply to this post

MikeH

---------------------------
Dreamweaver
---------------------------
Error! Could not find: <div class='wrapper cssLI testlayout_wrapper_design'>
<div class='cssLO testlayout_row_1_layout'>
<div class='row_1 cssLI testlayout_row_1_design'><!-- row_1 Content Starts Here -->&nbsp;<?php require_once("CSSMenuWriter/cssmw_home/menu.php"); ?><!-- row_1 Content Ends Here -->
</div>
</div>
<div class='cssLO testlayout_row_2_layout'>
<div class='row_2 cssLI testlayout_row_2_design'><!-- row_2 Content Starts Here -->&nbsp;<mm:beginlock translatorClass="WA_CMS" orig="%3C?php%20echo%20WA_getCMSContent($database_PowerCMSConnection,%20$PowerCMSConnection,%20'Home%20Page'%20,%20'content');%20?%3E"><img src="Dreamweaver CS5/en_US/Configuration/Shared/WebAssist/SiteSculptor/cms/translator.png" /><mm:endlock><!-- row_2 Content Ends Here -->
</div>
</div>
<div class='cssLO testlayout_row_3_layout'>
<div class='row_3 cssLI testlayout_row_3_design'><!-- row_3 Content Starts Here -->&nbsp;<a href="resources0.php">Resources</a> | <a href="contact0.php">Contact</a> | <a href="sitemap0.php">Sitemap</a><!-- row_3 Content Ends Here -->
</div>
</div>
<div class='cssLClearR'></div>
</div>
---------------------------
OK
---------------------------


Thats the error message.

A Screenshot just shows the same thing.

Whenever I try to use the design for a SS site it throws that error up for every page it tries to create and although it does create the pages when I try to open them in DW they all cause DW to throw that error up while opening them.

I have tried using different layouts designs all using the same 3rd party app but when used with SS same erros only the more complex layouts throw a larger piece of code into the error message.



Regards

Mike

Sign in to reply to this post

MikeH

The above error is thrown when the pages created are opened in DW.

The below error is thrown when creating the pages:

---------------------------
Dreamweaver
---------------------------
Error! Could not find: <div class='wrapper cssLI testlayout_wrapper_design'>
<div class='cssLO testlayout_row_1_layout'>
<div class='row_1 cssLI testlayout_row_1_design'><!-- row_1 Content Starts Here -->&nbsp;<MM:BeginLock translatorClass="MM_SSI" type="ssi" orig="%3C?php require_once(%22../CSSMenuWriter/cssmw_content/menu.php%22); ?%3E" fileRef="../CSSMenuWriter/cssmw_content/menu.php" depFiles="menu.php">
<ul class="level-0" id="cssmw_content">
<li><a href="<?php ($assumedRoot); ?>index.php">Home Page</a></li>
<li class="parent"><a href="<?php ($assumedRoot); ?>aboutus.php">About Us</a>
<ul class="level-1">
<li><a href="<?php ($assumedRoot); ?>aboutus/directors.php">Directors</a></li>
<li><a href="<?php ($assumedRoot); ?>aboutus/sponsors.php">Sponsors</a></li>
<li><a href="<?php ($assumedRoot); ?>aboutus/community.php">Community</a></li>
</ul>
</li>
<li class="parent"><a href="<?php ($assumedRoot); ?>news.php">News</a>
<ul class="level-1">
<li><a href="<?php ($assumedRoot); ?>news/news1.php">News 1</a></li>
<li><a href="<?php ($assumedRoot); ?>news/news2.php">News 2</a></li>
<li><a href="<?php ($assumedRoot); ?>news/news3.php">News 3</a></li>
</ul>
</li>
<li class="parent"><a href="<?php ($assumedRoot); ?>calendar.php">Calendar</a>
<ul class="level-1">
<li><a href="<?php ($assumedRoot); ?>calendar/event1.php">Event 1</a></li>
<li><a href="<?php ($assumedRoot); ?>calendar/event2.php">Event 2</a></li>
<li><a href="<?php ($assumedRoot); ?>calendar/event3.php">Event 3</a></li>
</ul>
</li>
<li class="parent"><a href="<?php ($assumedRoot); ?>membership.php">Membership</a>
<ul class="level-1">
<li><a href="<?php ($assumedRoot); ?>membership/event4.php">Event 4</a></li>
<li><a href="<?php ($assumedRoot); ?>membership/event5.php">Event 5</a></li>
</ul>
</li>
</ul>

<script type="text/javascript">if(window.attachEvent) { window.attachEvent("onload", function() { cssmw_content.intializeMenu('cssmw_content',{select_current: 0, orientation: 1}); }); } else if(window.addEventListener) { window.addEventListener("load", function() { cssmw_content.intializeMenu('cssmw_content',{select_current: 0, orientation: 1}); }, true); }</script></style></script><MM:EndLock><!-- row_1 Content Ends Here -->
</div>
</div>
<div class='cssLO testlayout_row_2_layout'>
<div class='row_2 cssLI testlayout_row_2_design'><!-- row_2 Content Starts Here -->&nbsp;<!-- InstanceBeginEditable name="content" -->[content]<!-- InstanceEndEditable --><!-- row_2 Content Ends Here -->
</div>
</div>
<div class='cssLO testlayout_row_3_layout'>
<div class='row_3 cssLI testlayout_row_3_design'><!-- row_3 Content Starts Here -->&nbsp;<a href="../resources.php">Resources</a> | <a href="../contact.php">Contact</a> | <a href="../sitemap.php">Sitemap</a><!-- row_3 Content Ends Here -->
</div>
</div>
<div class='cssLClearR'></div>
</div>
---------------------------
OK
---------------------------


Now confusing as it may be I did try this on another PC with the exported design and like you said no errors.

Yes I can at a push create on one then convert to SS on the other but really not great as the other is a laptop not my workhorse PC.

Any ideas what could be causing this?

Thanks

Mike

Sign in to reply to this post

MikeH

OK just to add to this odd behaviour. I tested a more complex design by exporting the site template and importing on the other PC and SS completed successfully.

I then allowed the other PC access to open the pages and bingo same erros even though they open fine on the other pc.

Any clues to which extension could be causing this issue?

Thanks

Mike

Sign in to reply to this post

MikeH

Hi
Any ideas on this? I have tried disabling SS and then opening one of the files and still the missing code error pops up.

Any help would be appreciated.

Mike

Sign in to reply to this post

MikeH

** update **
I think I have isolated it down to another extension that cannot find the DIVs due to changes made by SS but it does not seem to affect SS use.

So speaking to the other dev to try and find a solution at moment.

Thanks

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

Interesting, that would explain why I was not able to reproduce the issue, please keep us posted on what you find out.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...