# RW7 breaks all my sites' previews

**URL:** <https://forums.realmacsoftware.com/t/rw7-breaks-all-my-sites-previews/9135>\
**Category:** RapidWeaver Classic\
**Created:** [August 16, 2016, 3:22pm UTC](https://forums.realmacsoftware.com/t/rw7-breaks-all-my-sites-previews/9135 "2016-08-16T15:22:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrismarquardt](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/chrismarquardt/32/4970_2.png) [@chrismarquardt](https://forums.realmacsoftware.com/u/chrismarquardt)\
**Post date:** [August 16, 2016, 3:22pm UTC](https://forums.realmacsoftware.com/t/rw7-breaks-all-my-sites-previews/9135/1 "2016-08-16T15:22:23Z")

</div>

For preview, RW6 used to render pages to the hard drive and open those in the browser.

RW7 has changed this model and serves the rendered preview through a local temporary web server.

This breaks all my sites’ previews for the following reason: in my PHP pages, I have to include a file on the server using require(). That file is not available in my local environment (and I cannot create it locally), so the RW7 preview fails with a php error message.

Is there a way to go back to the old preview method? Alternatively is there a way to tell php to ignore these errors?

[edited for clarity]

---

<div class="post-metadata">

**Author:** ![robbeattie](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/robbeattie/32/78_2.png) [@robbeattie](https://forums.realmacsoftware.com/u/robbeattie)\
**Post date:** [August 17, 2016, 7:19am UTC](https://forums.realmacsoftware.com/t/rw7-breaks-all-my-sites-previews/9135/2 "2016-08-17T07:19:14Z")

</div>

Hi @chrismarquardt,

if you search for ‘php preview’ on this forum you may find some answers there. I think that - for the moment - it’s a known problem.

Rob

---

<div class="post-metadata">

**Author:** ![chrismarquardt](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/chrismarquardt/32/4970_2.png) [@chrismarquardt](https://forums.realmacsoftware.com/u/chrismarquardt)\
**Post date:** [August 18, 2016, 2:03pm UTC](https://forums.realmacsoftware.com/t/rw7-breaks-all-my-sites-previews/9135/3 "2016-08-18T14:03:44Z")

</div>

Thanks, glad I’m not the only one having issues with that.
