# RW 7.2.2 (18500) Unable to Preview

**URL:** <https://forums.realmacsoftware.com/t/rw-7-2-2-18500-unable-to-preview/12731>\
**Category:** RapidWeaver Classic\
**Created:** [February 26, 2017, 9:22pm UTC](https://forums.realmacsoftware.com/t/rw-7-2-2-18500-unable-to-preview/12731 "2017-02-26T21:22:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![morejanice](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@morejanice](https://forums.realmacsoftware.com/u/morejanice)\
**Post date:** [February 26, 2017, 9:22pm UTC](https://forums.realmacsoftware.com/t/rw-7-2-2-18500-unable-to-preview/12731/1 "2017-02-26T21:22:22Z")

</div>

I am unable to preview a page while editing my website. If I select the Preview tab I get a nicely formatted page that says:

“The requested page couldn’t be found”  
“This page could not be previewed. The page may not exist, or something went wrong”, and then a “Go Back” button.

If I then select another format (anything other than the previous default), I get"  
Warning: chdir(): No such file or directory (errno 2) in /Applications/RapidWeaver 7.app/Contents/Resources/RWWebServerLaunch.php on line 147

Warning: file\_get\_contents(/private/var/folders/m5/yq5xzmyn159ffxc3f\_x308xh0000gn/T/com.realmacsoftware.rapidweaver/RapidWeaver/1072/document-0x7f9abd500000/RWDocumentPagePreview/DiveLogDT/DLM-Download.html): failed to open stream: No such file or directory in /Applications/RapidWeaver 7.app/Contents/Resources/RWWebServerLaunch.php on line 161

I can publish just fine.

---

<div class="post-metadata">

**Author:** ![LSPhoto](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lsphoto/32/270_2.png) [@LSPhoto](https://forums.realmacsoftware.com/u/LSPhoto)\
**Post date:** [February 26, 2017, 9:29pm UTC](https://forums.realmacsoftware.com/t/rw-7-2-2-18500-unable-to-preview/12731/2 "2017-02-26T21:29:59Z")

</div>

Hard to tell exactly what the page is supposed to be doing, but one thing to check is to make sure you delete the corresponding html file on your server. If you’ve created a page that is php, there are probably both now on your server. Does it work when published? If not, that may be your problem. or, some php pages will not preview in RW, but should render fine when published, unless as mentioned above, you now have a php page vs html page.

---

<div class="post-metadata">

**Author:** ![morejanice](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@morejanice](https://forums.realmacsoftware.com/u/morejanice)\
**Post date:** [February 27, 2017, 8:29pm UTC](https://forums.realmacsoftware.com/t/rw-7-2-2-18500-unable-to-preview/12731/3 "2017-02-27T20:29:02Z")

</div>

This doesn’t have anything to do with my server. I can publish just fine and the page looks as it should. I just can’t preview the page while I’m working on it. No php anywhere on the site, so not related to the php problem. It’s just basic html. It appears to be a RapidWeaver bug. I’m hoping that there is a workaround somehow?

---

<div class="post-metadata">

**Author:** ![LSPhoto](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lsphoto/32/270_2.png) [@LSPhoto](https://forums.realmacsoftware.com/u/LSPhoto)\
**Post date:** [February 27, 2017, 8:31pm UTC](https://forums.realmacsoftware.com/t/rw-7-2-2-18500-unable-to-preview/12731/4 "2017-02-27T20:31:45Z")

</div>

> [@morejanice](#):
>
> If I then select another format (anything other than the previous default), I get"Warning: chdir(): No such file or directory (errno 2) in /Applications/RapidWeaver 7.app/Contents/Resources/ **RWWebServerLaunch.php** on line 147

Are you sure you have no php?

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [February 27, 2017, 8:47pm UTC](https://forums.realmacsoftware.com/t/rw-7-2-2-18500-unable-to-preview/12731/5 "2017-02-27T20:47:16Z")

</div>

RapidWeaver uses some PHP to preview pages.  
Have you tried restarting RW (I know simple question)?  
You could try to reinstall RW [https://kb.realmacsoftware.com/section/4-release-notes](https://kb.realmacsoftware.com/section/4-release-notes)  
Other than that without a project file it would be hard to tell what might be causing this.  
May want to contact realMac for support.
