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

PHP Includes gone from support files in toolbar

Explorer ,
Mar 13, 2017 Mar 13, 2017

Hello this morning I fired up dreamweaver and noticed a negative development. I am accustomed to opening a file and seeing easy-access links to all the support CSS, Javascript and PHP includes available to the right of the source code in the toolbar. Now the php includes are gone. Does anyone know what happened to them and how to get them back?

missing-php.jpg

Thanks in advance for any advice.

401
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

Explorer , Mar 13, 2017 Mar 13, 2017

I don't know what the problem was, but after discovering I couldn't perform a "Save As" either, I decided to try deleting the DW preferences. This resolved the problem(s). I quit out of Dreamweaver and deleted the following (Mac):

Screen Shot 2017-03-13 at 2.54.06 PM.png

When I restarted, the php includes became available again.

php-found.jpg

Thanks to Nancy and Jon for your replies!

Translate
Community Expert ,
Mar 13, 2017 Mar 13, 2017

Go to View > Related Files.  Do you see them listed there?

Go to View > Related File Options > Refresh Related Files.

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator
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
Community Expert ,
Mar 13, 2017 Mar 13, 2017

Related Files is an option in your Preference settings.   See screenshot.

Nancy O'Shea— Product User, Community Expert & Moderator
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
Explorer ,
Mar 13, 2017 Mar 13, 2017

Thanks but that's not the problem. "Enable Related Files" was active as it has always been. Also, related CSS and JS files are still showing, just not the PHP files any longer. For the record, I did turn off "Enable Related Files," restart, turn it on again, restart, and that didn't solve my problem.

The PHP files are not listed in View: Related Files.

View: Related Files Options: Refresh Related Files does nothing.

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
Community Expert ,
Mar 13, 2017 Mar 13, 2017

DW may be having issue with your PHP, maybe an error was introduced somewhere else in the code and the program doesn't understand how to parse what it's seeing?

As a test, what happens when you add a new include in a separate PHP tag to the <body> of the page?

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
Community Expert ,
Mar 13, 2017 Mar 13, 2017

My PHP sites are stored in my local testing server's web directory.  I'm able to see includes in the Related Files bar.  I'm using CC 2017.0.1 on Win10 & Wamp server.

Nancy O'Shea— Product User, Community Expert & Moderator
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
Explorer ,
Mar 13, 2017 Mar 13, 2017
LATEST

I don't know what the problem was, but after discovering I couldn't perform a "Save As" either, I decided to try deleting the DW preferences. This resolved the problem(s). I quit out of Dreamweaver and deleted the following (Mac):

Screen Shot 2017-03-13 at 2.54.06 PM.png

When I restarted, the php includes became available again.

php-found.jpg

Thanks to Nancy and Jon for your replies!

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