• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Please help me correct my pathway error

Engaged ,
Dec 02, 2020 Dec 02, 2020

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. . .

searchers2.jpg

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.

Screen Shot 2020-12-02 at 1.50.37 PM.jpg

 

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. . .

Screen Shot 2020-12-02 at 2.04.01 PM.jpg

 

Many thanks, in advance, for comparing the pathways of the problematic "searchers" file to the operational "WCD" file of the same page.

 

Warren

 

Views

238

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 02, 2020 Dec 02, 2020

Not quite there yet. That's your remote server.  You need to add another one for local/network testing.  See my screenshots.

 

Add Testing ServerAdd Testing ServerLocalhostLocalhost

 

Add the server model under Advanced tab.

 

Final screenFinal screen

 

Votes

Translate

Translate
Community Expert ,
Dec 02, 2020 Dec 02, 2020

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.

Local Site in Local Testing ServerLocal Site in Local Testing Server

Servers > Basic TabServers > Basic Tab

Advanced Tab > Server modelAdvanced Tab > Server model

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 02, 2020 Dec 02, 2020

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

site.jpg

 

Server/Basic

serverBasic.jpg

 

Server/Advanced

serverAdvanced.jpg

 

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. 

Screen Shot 2020-12-02 at 3.34.07 PM.jpg

 

I'm eager to learn what you suggest next, Nancy.

 

Thanks, again.

 

Warren

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 02, 2020 Dec 02, 2020

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 Testing ServerAdd Testing ServerLocalhostLocalhost

 

Add the server model under Advanced tab.

 

Final screenFinal screen

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 02, 2020 Dec 02, 2020

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).

testingServerBasic.jpg

testingServerAdvanced.jpg

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 02, 2020 Dec 02, 2020

Copy link to clipboard

Copied

LATEST

Great job!  🙂

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines