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

I can't open one of my new .php pages

Engaged ,
Feb 17, 2017 Feb 17, 2017

[Working on a Mac running OSX Sierra on DW CC17]

I'm baffled at why one web page on my site doesn't appear.

When I use localhost to browse the page, I get this unstyled page.

Screen Shot 2017-02-17 at 6.23.19 PM.png

. . .

When I try to open the page online in two browsers, I get this error message, which has an unexpected URL entry.

Screen Shot 2017-02-17 at 6.41.49 PM.png

What's unexpected in the URL that came up is the fact that the "W" in "pleasewait" is NOT capitalized, despite the fact that I typed my file with a capital "W" as shown here. . .

Screen Shot 2017-02-17 at 6.35.26 PM.png

. . . and despite the fact that the localserver (XAMPP) shows the file with a capital "W", as shown here. . .

Screen Shot 2017-02-17 at 6.36.00 PM.png

Nevertheless, when I try to open the page online from an accompanying page, the pathway clearly shows that a lowercased "w" is called for in "pleasewait2.php, as shown here. . .

Screen Shot 2017-02-17 at 6.34.59 PM.png

I cannot figure out why a lowercase "w" appears in the URL, when viewing online and on localhost. All my files use an uppercase "W" in that file's title.

Am I missing something that might have caused this to happen? I cannot figure this out!

I've cleared the cache files several times. I even quit and reopened DW twice.

Here's the Home page. . .

http://www.warrencampdesign.com/heartyBoys/acts/part1/week1.php

. . . The problematic link is in the nav menu's bottom row; click the center of its three dark buttons titled "Acts 9:20 to Acts 17:34."

Thanks for your help.

Warren

913
Translate
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

LEGEND , Feb 18, 2017 Feb 18, 2017

wcamp  wrote

However, that lone problematic "pleaseWait2.php page continues to be troublesome. It won't open as a page in localhost; online it still opens as a list.

http://www.warrencampdesign.com/heartyBoys/acts/part2/pleaseWait2.php

Check the links to your css stylesheets. You're getting a 404 error - Not Found.

<link rel="stylesheet" href="css/actsStyles.css" type="text/css" media="screen" />

<link rel="stylesheet" href="css/actsPrint.css" type="text/css" media="print" />

Note the ../ below - incl

...
Translate
Community Expert ,
Feb 17, 2017 Feb 17, 2017

Change the lower case 'w' to upper case 'W' in

<li class="darkBkgrd"><a href="../part2/pleasewait2.php" class="diffcolortab">Acts 9:20 to<br>

As a side note have a look at The Email Address Obfuscator Page or Google the subject for more

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
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 ,
Feb 17, 2017 Feb 17, 2017

Hello, again, Ben:

May I ask where I'm to find that link with a lowercase "w"? Each of my menu includes show an uppercase "W", as in . . .

for "actsPart1_menu.html" . . .

Screen Shot 2017-02-17 at 8.45.41 PM.png

for "actsPart2_menu.html . . .

Screen Shot 2017-02-17 at 8.41.16 PM.png

and for "actsPart3_menu.html" . . .

Screen Shot 2017-02-17 at 8.47.05 PM.png

All three links on each of the three menu files has an uppercase "W". Where have you found a lowercase entry? I certainly don't see it in the Local Files panel, the Server Files panel, or the XAMPP files list. Intuitively, I don't know where to find what you apparently found. Please advise where you found it and what its URL is. Thanks.

And thanks for thinking of me, Bob, regarding the email obfuscator your mentioned. I haven't yet gotten to add it but will, possibly tonight.    (  ; - )

Warren

Translate
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 ,
Feb 17, 2017 Feb 17, 2017

Bob: Regarding the e-address obfuscator reminder you gave me, I attempted to insert a JavaScript that I've been using for years on many other sites. When I added it and checked the page on localhost, I got a parsing error message, as follows.

Screen Shot 2017-02-17 at 9.08.48 PM.png

Is there a problem putting a script on a .php page?

If not, could this be an indication that, when realizing my intial concern about not fine the file having a lowercase "w" entry to correct, perhaps somethings quite amiss on my new localhost setup?

I hope you won't mind weighing in on one or both of these problematic concerns.

Thanks, Bob.

Warren

Translate
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 ,
Feb 17, 2017 Feb 17, 2017

Forgive me, Ben, for calling you Bob. I'm sorry.    (  ; - (

Regarding the e-address obfuscations, here's the latest.

I've obfuscated the e-address on all seventeen of my Bible commentary pages. All work well.

I also modified two of the three "pleaseWait" pages and see that they're successful entered.

However, that lone problematic "pleaseWait2.php page continues to be troublesome. It won't open as a page in localhost; online it still opens as a list.

http://www.warrencampdesign.com/heartyBoys/acts/part2/pleaseWait2.php

Can you detect what on that page prevents it from cooperating as all the others do?

Warren

Translate
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
LEGEND ,
Feb 18, 2017 Feb 18, 2017

wcamp  wrote

However, that lone problematic "pleaseWait2.php page continues to be troublesome. It won't open as a page in localhost; online it still opens as a list.

http://www.warrencampdesign.com/heartyBoys/acts/part2/pleaseWait2.php

Check the links to your css stylesheets. You're getting a 404 error - Not Found.

<link rel="stylesheet" href="css/actsStyles.css" type="text/css" media="screen" />

<link rel="stylesheet" href="css/actsPrint.css" type="text/css" media="print" />

Note the ../ below - including this tells the link to look outside of the 'part2' folder for the 'css' folder NOT look inside it for the 'css' folder.

<link rel="stylesheet" href="../css/actsStyles.css" type="text/css" media="screen" />

<link rel="stylesheet" href="../css/actsPrint.css" type="text/css" media="print" />

Translate
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 ,
Feb 18, 2017 Feb 18, 2017
LATEST

Hello, Osgood:

Please forgive me for neglecting to check the style sheet links. I've corrected my obvious error.

The good news is that the page finally opens as it should when viewing the page on localhost. Thank you for that!

The bad news is that, when viewing the page online, the page that gets called for is the lowercased "w" page name, which I can't for the life of me find, so I can correct it.    (  ; - (

However, I "believe" that I corrected the problem. Perhaps one of you has had similar problems and taken this approach.

1.  For no apparent reason, when making changes to the "pleaseWait2.php" page, there was no indication that the page was being changed; the asterisk that usually pops up instantly to the right of the file name in Code view never appeared. On the other two "pleaseWait" pages, the changes were recognized instantly on them. So I quit DW and reopened it. I then was able to see that subsequent changes to that page were being recognized. I have no idea why DW wouldn't was unable to recognize that changes were beig made to that page when it recognized changes I was making to other pages.

2.  So I then opened the include "menu" page related to the "pleaseWait2.php" page, which is "actsPart2_menu.html." The specific link to the "pleaseWait2.php" page had an uppercase "W" in its title. Yet when I opened the page in Safari, and examined the Code Source window, that darned "pleasewait2.php" (with lowercase "w") still appeared! I then retyped the link's title (being careful to type a capital "W" in that link's title), saved and uploaded the page, and checked it. Finally, the uppercase "W" appeared in the Code Source window! When I opened the site's pages and clicked on the link to "pleaseWait2.php," it opened, every time I tried.

So, it now appears to be opening as it should, finally. It took a restart followed by replacing/retyping a new link title to replace the previously entered link title.

Thanks for your assistance on this, Osgood. I'll give you theCorrect Answer" on this one.

If you wouldn't mind, would you please check the page navigation on your side of the Internet border? Lemmeeeeno if it's NOT working as it should. Thanks.

Here's the Home page . . .

http://www.warrencampdesign.com/heartyBoys/acts/part1/week1.php

. . . When it opens, click the center menu button of the three darkest buttons in the bottom row. That's the "pleaseWait2.php" page link.

Many thanks to you and the others who supported me on this troublesome challenge.

Warren

Translate
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
Mentor ,
Feb 18, 2017 Feb 18, 2017

Warren, you are not being consistent in your naming conventions. You use camel case a lot, but not absolutely. Sometimes you don't capitalize a following word, sometimes you use an underscore. This lack of consistency leads to typos which lead to broken links, etc.

I suggest using the same convention with both file names and variable names.

MySQL - case insensitive

PHP - case sensitive

Linux - case sensitive (but can be set otherwise)

MAC OS - case insensitive (but can be set otherwise)

Windows - case insensitive (by default)

Translate
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