RW7 looping in Preview

I been keeping my eye on it trying to reproduce it but it too random right now so I am unable to reproduce it yet. That one main reason why I post here to see if someone know what to keep an eye out for so I can confirm that it’s the stack, RW or the custom code etc.

So far it too random to tell you anything but if I can reproduce it then you can be sure that I will send you a support email with step by step details on how to reproduce it.

Thank you

Hi - after further investigation my issue is not Formloom-related. Apologies @yabdab. I seem to have found a reliable way to trigger the behaviour though so I will maybe pick this up with you off forum @Isaiah?

or

or

  • you can post details here.

or

  • you could do a bit of hunting on google, find my personal email and send me details

one bit of advice: when sharing files it’s best to zip them first and post to a sharing service like dropbox. then send us a share-link.

@isaiah here’s a screencast of the issue: http://shares.helloworldwebdesign.co.uk/HyECC (note: there appears to be an issue with Droplr just now but hopefully this will resolve itself soon)

you can see that when I preview my blog (built with Poster stack) and then view a Poster item and then exit the Preview I get into a ‘generating preview’ loop that renders RW unusable until it finishes. @instacks advises that there is nothing in Poster stack that would trigger this. I just know that this is a reliable way to trigger the behaviour.

Do you think that this is this likely to be Stacks or a RW issue? I can send the project files to whoever might be best placed to advise.

it’s imposdible to tell the cause from a video. the devil is in the details (the versions, what’s installed in you addons folder, what’s in you projects, etc etc.) and the video keeps all of that hidden.

to understand the problem i need to be able to make it happen on my machine here. but that’s super easy to do. i just need 3 things:

  1. your file
  2. your addons
  3. instructions

here’s how to give them to me

the file

zip up the file
put em on dropbox (or similar)
send me a share link (obviously NOT on the public forum)

the addons

zip up your whole addons folder
this might be huge. that’s A Ok.
send it the same as above

instructions

tell me your OS/RW version numbers
tell me the one simplest way that makes sure i will see the problem.
make sure to tell me what page to look on.

OK, I’m back with a bit of info.

First, what’s happening: a few different stacks seem to be using AJAX fetching in Javascript to discover the other content on the site. This is being used for Search, SEO, and Sitemaps (and probably more, but that’s what I’ve found). This is fine, but it cause RW Preview to switch pages. If the next page it switches to happens to also have similar stacks – it just keeps going. Yikes!

I’ve submitted this bug, with lots of gory details to both RapidWeaver and the stack developers. I think the “bug” here is that both are probably not doing exactly the right thing.

  1. RW should probably not change pages during these ajax calls.

  2. The stack devs should know about this limitation and use the built-in features of the Stacks API to omit this behavior just during preview – it’s pretty easy to do.

In the meantime while the devs are off fixing bugs, I’d recommend looking closely at Search, SEO, and Sitemaps – especially ones that don’t rely on Php and use Javascript to do their work instead.

Here’s an example of how this works with just a couple HTML pages. You don’t need any plugins, stacks, or themes to see it working. Just open the file and preview one of the “Bad” pages. And then Quit soon – because it will probably crash eventually. LOL

I’ve positively ID’d the stack Live Search from 1LD as the culprit on the file that @habitualshaker sent me (thanks again!) But I’m positive it is not the only stack that is doing this.

I’ve sent a global message out to all the registered stack devs (which is pretty much everyone) to make sure they’re taking care of this.

If anyone else would like help identifying which stacks/plugins/whatever are causing their issue the offer is open. Just see that post above for what you should send.

4 Likes

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.