RW7 breaks all my sites' previews


(Chris Marquardt) #1

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]


(Rob Beattie) #2

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


(Chris Marquardt) #3

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