Copy link to clipboard
Copied
Nancy helped me four years ago to set up XAMPP Apache PHP developer on DW. I use it for ±30 sites without a problem. I hope that she or someone else can enlighten me as to how to correct this glitch.
On a new site and a new directory, to which I applied XAMPP, I seem to have an incorrect pathway to this new site's pages. When I right-click a file in this new site (using Mac Catalina), the "Open in Browser" option opens and I select Safari. However, the page does not open. Instead, Safari shows this error message. . .
I suspect that the referenced pathway error indicates that I loaded the site's files in an inappropriate Applications folder location. I say that because, instead of seeing the hyperlink start with the usual "localhost/..." this new site's hyperlinks start with "file:///" (see arrow above). This problematic site's files are in a different directory (titled "searchers") than the root directory "WCD" whose files all open locally without a snag.
This next screenshot documents the start of the hyperlink on my root directory's XAMPP-related like-kind page that opens successfully when right-clicked from DW CC.
Yet, although I cannot open the problematic page's local file in the "searchers" directory, the online file opens as it should. Here's the "searchers" directory's successful hyperlink.
https://www.warrencampdesign.com/searchers/parable.2d.narrowDoor.html
Assuming that this last screenshot will reveal my pathway error, please tell me what I've done incorrectly. . .
Many thanks, in advance, for comparing the pathways of the problematic "searchers" file to the operational "WCD" file of the same page.
Warren
Not quite there yet. That's your remote server. You need to add another one for local/network testing. See my screenshots.
Add the server model under Advanced tab.
Copy link to clipboard
Copied
Did you define your local testing server in DW?
Can you show us the panels?
In this example, I'm using Wamp server. The default web directory is www. on Xampp, the default directory is htdocs.
Copy link to clipboard
Copied
Thanks so much for your prompt e-reply, Nancy! I'm glad that you responded helpfully.
Here are the requested screenshots for my DW CC.
Site
Server/Basic
Server/Advanced
Note: In the third screenshot, the field for "Server Model" was initially blank! So I selected "PHP MySQL" and saved the setup panes. I then closed and reopened DW CC and the "searchers" directory with my fingers crossed.
Unfortunately, when selecting "Open in Browser" for the "searchers" directory's pages, none opened as I'd hoped for. Here's a screenshot of the latest attempt's error message.
I'm eager to learn what you suggest next, Nancy.
Thanks, again.
Warren
Copy link to clipboard
Copied
Not quite there yet. That's your remote server. You need to add another one for local/network testing. See my screenshots.
Add the server model under Advanced tab.
Copy link to clipboard
Copied
Yes, yes, yes. Thank you, thank you, thank you, Nancy!
You know your stuff very well and are great at the art of digital forensics with DW CC.
All of my "searchers" pages open when I right-click "Open in Browser."
I'll attach screenshots for your final review and approval (in case I mistakenly entered something).
In a PDF file, I'll also save your screenshots and mine so I can refer to them going forward.
I'm a happy camper, thanks to you, Nancy.
Warren
Copy link to clipboard
Copied
Great job! 🙂