Can't view Wordpress PHP files in Dreamweaver CC.

Mac. MAMP.
I have downloaded my full site hosted on xxxx into MAMP htdocs.
Download directly from root public_html on host.
I keep getting "Dynamically-related files could not be resolved because the site definition is not correct for this server"
Even if I go "live view" and set - Web URL to: www.indochinaexplorers.com (my site) - instead of http://localhost, it comes up with a lot of PHP boxes.
Been through all tutorials for more than a week.
Have been through all possible settings and configurations under "Manage Site"
Did a Test - New PHP page. Same thing, it does not show, design or live view.
So stuck,
Thanks Peter

I have the same issue and none of the alleged Guru's that answered have provided anything useful.  Solid Web Design is about workflow, which could lead to innovation if people would stop reverse innovation language...Dreamweaver could be a viable wordpress solution if it worked as it's supposed to. CC is a bust as the focus has shifted to mobile first. 
There are no "real pages" for you to edit in DW; just code fragments.
Wordpress is dynamically driven but this is untrue.  Every PHP file in a theme has structure and is a "real page".  Fragments have to be in a "file" to be called, they are not called out of thin air.  If I want to style page.php, it cannot be done without first adding selectors.  #mainContent for example. The only thing php does is add dynamic functionality.  Page.php can be altered and saved as Page_fullwidth.php, Page_Music.php ,Page_webDesign.php and they can all have a different layout in the same theme.  Else there would be no templates to choose from in the static page section of the WP Admin area. 
Themes drive the appearance and functionality of your WP site.  If you need a new look, find a different Theme and install it from your WP Dashboard.
How does this help?
Unless you are very familiar with PHP code and more specifically the PHP code WP uses, you will not have good results working in DW.   You really must use the WP Dashboard to manage your content, Themes, and plugins.
This has nothing to do with the issue.  The issue is Dreamweaver simply does not allow propper editing of wordpress sites in a dynamic environment.  No one ever said they didn't know anything about php, creating wordpress themes, plugins, and so on...
Dear next genius..Since the question has already been asked, I won't ask it again, but the original inquiry is my issue as well.  If you have figured out how to make this work, please respond, if not, please don't.
Mac

Similar Messages

  • Using PHP files in Dreamweaver?

    When I create a new PHP file in Dreamweaver the code is the same as an HTML file, shouldn't be different? with php commands or something?
    Thanks

    When I create a new PHP file in Dreamweaver the code is the same as an HTML file, shouldn't be different? with php commands or something?
    Not unless you add them.  PHP is a server-side programming language.  PHP web pages are no different than HTML pages except that they can parse data on the server.  With the right include statements or commands, PHP or ASP pages can publish information from server-side databases to form a dynamically driven web site.
    BUILDING DYNAMIC SITES in DW
    Set up a local testing server in Adobe Dreamweaver CS4
    http://www.adobe.com/newsletters/edge/december2009/articles/article2/index.html
    Setting up a PHP development environment for Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html
    Building your first dynamic website – Part 1: Setting up your site and database connection
    http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • How can I view an AI file created on a MAC on a PC without corrupting the fonts?

    How can I view an AI file created on a MAC on a PC without corrupting the original fonts?  An AI file was created with an image and text on a MAC.  When the AI file was opened on a PC, the text fonts were not the same as originally created.  Also, the same AI file was saved to PDF on the MAC.  When the AI file was opened on a PC, there wasn't anything visible.  Anyone have any ideas?

    Are you using the save version of Illustrator on both Mac and PC? If so, and you have the same fonts installed on both machines you should be able to open it without any problems. You may need to tell it which fonts to assign, they are not always named the same. If you don't need to edit the text, you could convert the text to outline and eliminate the need for fonts.

  • How can I view a PDF file on my IPad? I only get the first page.

    How can I view a PDF file from my Ipad, both in email and Internet links? I only get the first page.

    Support for viewing PDFs in emails and web-pages is built in to the iPad. You need not have bought an app for that.
    There are PDF apps that provide more features than the built-in functionality, but for basic viewing of multi-page PDFs no app is required.

  • Can we design professional PHP websites in Dreamweaver CS6 ?

    Can we design professional PHP websites in Dreamweaver CS6 ?

    Dreamweaver is not a professional PHP IDE (integrated development environment). As such, it lacks PHP debugging capabilities and other features that a nice IDE has.
    But you can code PHP in Dreamweaver, and it does have pretty good PHP syntax checking. So yes, you can create a PHP website using Dreamweaver.
    A lot depends on what exactly you mean by "professional PHP website" and what your programming skill level is. The fact that you are asking this question tells me that your coding skills must not be great, because if they were, you would not need to ask this question. Dreamweaver is a much "friendlier" environment than a PHP IDE. You might find a PHP IDE like ZEND Studio to be overwhelming, in which case Dreamweaver would be your better choice.

  • Can I upload a php file to my host with an embedded html contact form in Muse for it to work?

    Can I upload a php file to my host with an embedded html contact form in Muse for it to work?

    That would require to know your hosting provider and his requirements. And therein also lies the answer: You cannot blindly design a form in Muse and just hope it will work, you have to know this stuff beforehand and design "to spec".
    Mylenium

  • How can I view wordpress template in Dreamweaver

    I have some wordpress templates but can't view them in a browser since there is no index.html just php. How can I get around this and use a wordpress template as a regular dreamweaver CSS page? I don't want to load the wordpress app or the database in my server so is this possible?
    Thanks

    I don't want to load the wordpress app or the database in my server so is this possible? 
    No it is not possible because WP runs on apache server, MySql database and PhP.  If your theme is distributed by by WP then you can view it at this link:
    http://wordpress.org/extend/themes/
    Search for your theme and if it is there, you can preview it before downloading.
    Another option is to create a free blog/site at this link:
    https://en.wordpress.com/signup/
    You can then change the themes and try changing it using inline styles.  You are not allowed to upload any css files, plugins or your own themes at this link.  Even js is not allowed for security reasons.
    Hope this helps.

  • Can't edit php files in dreamweaver, access to site root denied

    Can anyone help me please?
    I've recently purchased a Macbook Pro after my PCs failed on me and also had to get a Creative Suite Web Premium. I have always used Dreamweaver to edit my php files. In Windows XP, I had to run the programme to run as an Administrator to edit php files. Now I have not a clue how to do it on Mac! Each time I tried to save a php file, a dialog box appear stating: Access to Macintosh
    HD:Library:Webserver:Documents:Untitled-1.php was denied
    Regards
    Sinead

    You shouldn't have to do that on the Mac or Windows.  Only thing I could find that would suggest loading files from there is a tutorial by David.  And although I would normally agree with him, keeping the files in a system library folder for a testing environment is really unnecessary.  I'd recommend moving them into your /Users/{username}/Sites folder.  There is already a modification to the apache server to recognize that as http://localhost/~{username}.  Or install something like MAMP that is in the Applications folder.

  • Can't get wordpress site displaying in Dreamweaver CC (xampp is setup)

    Hello. I've been messing around with wordpress and I wanted to get it working in dreamweaver, haven't had much luck. I was present for the techlive conference for working with WP sites in dreamweaver and listened somewhat more casually knowing it will be uploaded to the archives later for me to go back and look at. Unfortunately, it was uploaded to youtube in 480p and is pretty much useless for anyone trying to follow along since the text is completely unreadable.
    From what I can tell I have the site and server setup correctly.
    I have xampp installed in the default location (C:\xampp).
    I downloaded the latest wordpress and extracted the folder to C:\xampp\htdocs
    The apache and mysql server in xampp are running
    Created a new site in dreamweaver with the local site C:\xampp\htdocs\WPsite\
    I set the connection to local/network
    Under servers I have the server folder as C:\xampp\htdocs\
    Web url as http://localhost
    When I try to open the index.php file a dialogue box pops up asking me if I want to update the file on the testing server, I click yes and another dialogue box pops up asking if dependant files should be included in the transfer, I click yes.
    After clicking live view I get these errors:
    Warning: require_once(C:\xampp\htdocs/wp-includes/load.php): failed to open stream: No such file or directory in C:\xampp\htdocs\wp-load.php on line 48
    Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs/wp-includes/load.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\wp-load.php on line 48
    The forward and backslashes are odd. I have not touched absolutely anything in the wordpress folder or in xampp beyond what I listed. What am I doing wrong?
    Any help or direction would be appreciated. I used wamp before and I could get the site working and displaying fine in the browser but I don't know how to do it with xampp. I switched over to xampp from wamp since I thought maybe I'd have more luck getting it to work in dreamweaver that way. I had some other errors in dreamweaver when I set it up using wamp.

    I've gone through several of those threads and that is not the issue. The index.php file in the root directory is untouched. I have the index.php from the root folder of the WPsite and a clean wordpress download and both are identical.
    I don't know if dreamweaver is doing something weird and creating files and folders locally but something weird is going on. I have a wp-content folder inside of htdocs (outside of WPsite folder) and I never created it there. It also seems to have placed or created several php files in the htdocs as well (index.php, wp-blog-header.php, wp-load.php).
    I deleted them and opened the index.php file from the root folder, not themes, and it created the blog and index file again. Trying to open up the index.php from the twentytwelve theme folder seems to create the wp-content folder outside of the WPsite folder.
    It doesn't seem to be copying all of the necessary files I'm assuming. The wp-content folder outside of the WPsite (htdocs/wp-content/themes/twentytwelve) only had 1 php file, index.php (guessing the one I tried to open) and nothing else inside of it.
    The only thing pointing directly to htdocs is the server folder inside of the Server tab when managing a site. Should that be changed to C:\xampp\htdocs\WPsite as well or am I doing something else wrong?

  • Why Can't I Open PHP Files on My New Mac?

    I can open them fine in Firefox or Explorer on both my PC and my iMac, but on my new Mac G5 it prompts me to save the file.
    Most disturbing...

    Well, needless to say, it dodn't work.
    Lone and behold, I do not have a httpd.conf file anywhere on my mac.
    AND
    On top of it all, I hardly understand what anyone is telling me or why they're telling me it. I understand step by step, and this is where it drives me nuts because I DO follow step by step directions and they don't work!
    Then people tell me to download all this software... They might as well recall Apache or OS 10 because if step by step directions can't be executed... Well, then it's not very good software.
    FROM MACROMEDIA HELP FILES
    Setup for Sample PHP Site
    Macromedia Dreamweaver MX 2004 comes with sample PHP pages to let you build a small web application. This chapter describes one way to set up the sample application using Microsoft Internet Information Server (IIS) or Personal Web Server (PWS). For more information on these web servers, see Installing a Web Server. If you're using a different web server, see "Setting Up a Web Application" in Using Dreamweaver Help.
    If you're a Macintosh user, you can either connect to a remote PHP server or develop PHP sites locally using the Apache web server and PHP application server installed with your operating system. For setup information, see the following websites:
    • developer.apple.com/internet/macosx/php.html
    • www.entropy.ch/software/macosx/
    Setting up a web application is a three-step process. First, configure your system. Second, define a Dreamweaver site. Third, connect the application to your database. This setup guide follows this three-step process.
    Configuring your system (PHP)
    You must configure your system before you can run PHP pages on it. Specifically, you must make sure a web server and a PHP application server are installed and running on your system, then you must create a root folder for your PHP files.
    Configuring your Macintosh system (PHP)
    If you're a Macintosh user, you can run PHP pages on your computer using the Apache web server and PHP application server installed with your operating system. Configuring your system consists of making sure the web server and PHP application server are working, then creating a root folder for your PHP files.
    Testing the PHP installation (Macintosh)
    You can test the Apache web server and PHP application server on your Macintosh by running a test page.
    However, before you can use the web server to serve PHP pages and content from MySQL databases, you must configure the server to work with PHP and MySQL. For information on this process, see www.macromedia.com/devnet/mx/dreamweaver/articles/php_macintosh.html.
    To test the Apache web server and PHP application server:
    1. Configure the server as described in the article on the Macromedia website.
    2. In Dreamweaver or any text editor, create a plain text file and name it timetest.php.
    3. In the file, enter the following code:
    4. This page was created at
    5. <?php echo date("h:i:s a", time()); ?>
    6. on the computer running PHP.
    7. This code displays the time the page was processed on the server.
    8. Copy the file to the /Users/yourusername/Sites folder on your Macintosh.
    9. This Sites folder is your personal root folder for the Apache web server.
    10. In your web browser, enter the following URL and press Return:
    11. http://localhost/~yourusername/timetest.php
    The test page should open and display a time of day.
    The specified time is known as dynamic content because it changes every time you request the page. Click your browser's Refresh button to generate a new page with a different time.
    Note: Looking at the source code (View > View Source in Safari) will confirm that the page does not use any client-side JavaScript to achieve this effect.
    If the page doesn't work as expected, check for the following possible errors:
    • The file does not have a .php extension.
    • The URL contains a typing mistake. Check for errors and make sure the filename is not followed by a slash, such as http://localhost/~yourusername/timetest.php/. Also make sure you included the tilde (~) before your user name.
    • The page code contains a typing mistake.
    • The Apache server is not running. Look in System Preferences, in the Sharing category, to see whether Personal Web Sharing is enabled.
    After testing and testing the server software, create a root folder for your web application. (See Creating a root folder (Macintosh).)
    Creating a root folder (Macintosh)
    After the server software is installed, create a root folder for your web application on the Macintosh.
    To create a root folder for your web application:
    • Create a folder called MySampleApp in the /Users/yourusername/Sites folder.
    • Apache will process any page in this folder or in any of its subfolders in response to an HTTP request from a web browser.
    After configuring your system, you must define a Dreamweaver site. (See Defining a Dreamweaver site (PHP).)
    Defining a Dreamweaver site (PHP)
    After configuring your system, copy the sample files to a local folder and define a Dreamweaver site to manage the files.
    Note: If you're a Macromedia HomeSite or ColdFusion Studio user, you may find it useful to think of a Dreamweaver site as being like a HomeSite or Studio project.
    Copying the sample files
    If you haven't already done so, copy the sample files from the Dreamweaver application folder to a folder on your hard disk.
    To copy the sample files:
    1. Create a new folder called Sites-Local in your user folder on your hard disk.
    2. For example, create one of the following folders:
    • C:\Documents and Setting\yourusername\My Documents\Sites-Local (Windows)
    • /Users/yourusername/Documents/Sites-Local (Macintosh).
    3. Note: On the Macintosh, there's a folder called Sites already in your user folder. Don't use that Sites folder as your local folder; the Sites folder is where you place your pages to make them publicly accessible when you're using the Macintosh as a web server.
    4. Locate the GettingStarted folder in the Dreamweaver application folder on your hard disk.
    5. If you installed Dreamweaver to its default location, the path to the folder is as follows:
    • C:\Program Files\Macromedia\Dreamweaver MX 2004\Samples\GettingStarted\ (Windows)
    • /Applications/Macromedia Dreamweaver MX 2004/Samples/GettingStarted (Macintosh)
    6. Copy the GettingStarted folder into the Sites-Local folder.
    After copying the GettingStarted folder, define the folder as a Dreamweaver local folder. (See Defining a local folder.)
    Defining a local folder
    After copying the GettingStarted folder, define the folder containing the PHP sample files as a Dreamweaver local folder.
    To define the Dreamweaver local folder:
    1. In Dreamweaver, select Site > Manage Sites. In the Manage Sites dialog box, click the New button, then select Site.
    2. The Site Definition dialog box appears.
    3. If the Basic tab is showing, click the Advanced tab.
    4. In the Site Name text box, enter Trio-PHP.
    5. The name identifies your site within Dreamweaver.
    6. Click the folder icon next to the Local Root Folder text box, then browse to and select the folder (inside the GettingStarted folder) that contains the PHP sample files. The folder should be as follows:
    • C:\Documents and Setting\yourusername\My Documents\Sites-Local\GettingStarted\ 4-Develop\php (Windows)
    • /Users/yourusername/Documents/Sites-Local/GettingStarted/4-Develop/php (Macintosh)
    Leave the Site Definition dialog box open. Next, define a web server folder as a Dreamweaver remote folder. (See Defining a remote folder.)
    Defining a remote folder
    After defining a local folder, define a web server folder as a Dreamweaver remote folder.
    To define the Dreamweaver remote folder:
    1. In the Advanced tab of the Site Definition dialog box, select Remote Info from the Category list.
    2. The Remote Info screen appears.
    3. In the Access pop-up menu, choose how you want to move your files to and from the server: across a local network (the Local/Network option) or using FTP.
    4. Note: There are other options in the Access pop-up menu, but this chapter doesn't cover them. For information about them, see Using Dreamweaver Help.
    5. Enter the path or FTP settings to the web server folder you created in Creating a root folder (Windows).
    6. The folder may be on your hard disk or on a remote computer. Even if you created the folder on your hard disk, that folder is still considered to be the remote folder. The following example shows a possible Remote Folder path if you chose Local/Network access and your remote folder is on your Windows hard disk:
    7. Remote Folder: C:\Inetpub\wwwroot\MySampleApp
    8. On the Macintosh, the folder might be as follows:
    9. Remote Folder: /Users/yourusername/Sites/MySampleApp
    10. For more information on FTP, see "Setting Remote Info options for FTP access" in Using Dreamweaver Help.
    Leave the Site Definition dialog box open. Next, define a folder to process dynamic pages. (See Specifying where dynamic pages can be processed (PHP).)
    Specifying where dynamic pages can be processed (PHP)
    After defining the Dreamweaver remote folder, specify a folder to process dynamic pages. Dreamweaver uses this folder to display dynamic pages and connect to databases while you're developing your application.
    To specify the folder to process dynamic pages:
    1. In the advanced Site Definition dialog box, click Testing Server in the Category list.
    2. The Testing Server screen appears. Dreamweaver needs the services of a testing server to generate and display dynamic content while you work. The testing server can be your local computer, a development server, a staging server, or a production server, as long as it can process PHP pages. In many situations, including setting up for the Trio site, you can use the same settings as the Remote Info category (see Defining a remote folder) because they point to a server capable of processing PHP pages.
    3. Select PHP MySQL from the Server Model pop-up menu.
    4. In the Access pop-up menu, select the same method (Local/Network or FTP) you specified for accessing your remote folder.
    5. Dreamweaver enters the settings you specified in the Remote Info category. Leave the settings unchanged.
    6. In the URL Prefix text box, enter the root URL you would enter in a web browser to request a page in your web application.
    7. To display live data in your pages while you work, Dreamweaver creates a temporary file, copies it to the website's root folder, and attempts to request it using the URL prefix.
    8. Dreamweaver makes a best guess at the URL prefix based on the information you provided in the Site Definition dialog box. However, the suggested URL prefix may be incorrect. Correct or enter a new URL prefix if the suggestion in Dreamweaver is incorrect. For more information, see "About the URL prefix" in Dreamweaver Help (Help > Using Dreamweaver).
    9. For the PHP sample content in Windows, the prefix should be as follows:
    10. URL Prefix: http://localhost/MySampleApp/
    11. On the Macintosh, the prefix should be as follows:
    12. URL Prefix: http://localhost/~yourusername/MySampleApp/
    13. Tip: The URL prefix should always specify a directory, rather than a particular page on the site. Also, be sure to use the same capitalization you used when you created the folder.
    14. Click OK to define the site and dismiss the Site Definition dialog box, then click Done to dismiss the Manage Sites dialog box.
    After specifying a folder to process dynamic pages, upload the sample files to the web server. (See Uploading the sample files.)
    Uploading the sample files
    After specifying a folder to process dynamic pages, upload the sample files to the web server. You must upload the files even if the web server is running on your local computer.
    If you don't upload the files, features such as Live Data view and Preview in Browser may not work properly with dynamic pages. For example, image links might be broken in Live Data view because the image files are not on the server yet. Similarly, clicking a link to a detail page while previewing a master page in a browser will cause an error if the detail page is missing from the server.
    To upload the samples files to the web server:
    1. In the Files panel (Window > Files), select the root folder of the site in the Local View pane.
    2. The root folder is the first folder in the list.
    3. Click the blue Put Files arrow icon in the Files panel toolbar, and confirm that you want to upload the entire site.
    4. Dreamweaver copies all the files to the web server folder you defined in Defining a remote folder.
    The Dreamweaver site is now defined. The next step is to connect to the sample database installed with Dreamweaver. (See Connecting to the sample database (PHP).)
    Connecting to the sample database (PHP)
    During installation, Dreamweaver copies a SQL script to your hard disk. You can use this script to automatically create a sample MySQL database. This section describes how to create a connection to the sample database.
    This section assumes you have installed and configured MySQL on your local or remote computer. To download and install the database system, visit the MySQL website at www.mysql.com.
    Creating the MySQL database
    The sample files for Dreamweaver MX 2004 include a SQL script capable of creating and populating a sample MySQL database.
    Before starting, make sure MySQL is installed and configured on your local or remote computer. You can download the latest version from the MySQL website at www.mysql.com.
    To create the sample MySQL database:
    1. Copy the SQL script file, insert.sql, to an appropriate folder on the computer that has MySQL installed.
    2. If you installed Dreamweaver to its default location, the path to the script file is as follows:
    • C:\Program Files\Macromedia\Dreamweaver MX 2004\Samples\Database\insert.sql (Windows)
    • /Applications/Macromedia Dreamweaver MX 2004/Samples/Database/insert.sql (Macintosh)
    3. If the computer running MySQL is a Windows computer, copy the insert.sql script to MySql\Bin. If the computer running MySQL is a Macintosh, copy the insert.sql script to your Documents folder in your home folder.
    4. On the computer that has MySQL installed, open a command prompt window (Windows) or a Terminal window (Macintosh).
    • In Windows, you can open the command prompt by selecting Start > Programs > Command Prompt or Start > Programs > Accessories > Command Prompt.
    • On the Macintosh, you can open a Terminal window by going to the Applications folder, opening the Utilities folder, and double-clicking Terminal.
    5. (Windows only) Change to the mysql\bin directory by entering the following commands at the command prompt:
    6. cd \
    7. cd mysql\bin
    8. Note: On the Macintosh, you should be able to run mysql from any directory; it should have been added to your path during installation of MySQL. If the following step doesn't work on the Macintosh, though, try typing /usr/local/bin/mysql instead of mysql.
    9. Start the MySQL client by entering the following command:
    10. mysql -uUser -pPassword
    11. For example, if your MySQL user name (also known as an account name) and password are Tara and Telly3, then enter the following command:
    12. mysql -uTara -pTelly3
    13. If you don't have a password, omit the -p argument as follows:
    14. mysql -uTara
    15. If you didn't define a user name while configuring your MySQL installation, enter root as the user name, as follows:
    16. mysql -uroot
    17. The MySQL client's command prompt appears, as follows:
    18. mysql>
    19. Create a new database by entering the following command at the MySQL prompt:
    20. mysql>CREATE DATABASE TrioMotors;[/quote]
    Last login: Mon Mar 27 23:05:38 on ttyp1
    Welcome to Darwin!
    mac:~ albert$ mysql -uMonaco
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 13 to server version: 4.1.18-standard
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    mysql> CREATE DATABASE TrioMotors;
    ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'triomotors'
    mysql>
    Needless to say, I can't get any further. :-/
    [quote=macromedia help files]21. MySQL creates a new database, but it doesn't contain any tables or records yet.
    22. Log out of the MySQL client by entering the following command at the prompt:
    23. mysql>quit;
    24. At the system command prompt, populate the new TrioMotors database in MySQL.
    25. In Windows, use the following command:
    26. mysql -uUser -pPassword TrioMotors < insert.sql
    27. On the Macintosh, use the following command:
    28. mysql -uUser -pPassword TrioMotors < ~/Documents/insert.sql
    29. This command uses the insert.sql file to add tables and records to the TrioMotors database you created in step 5.
    After creating the MySQL database, create a database connection to it in Dreamweaver. (See Creating a database connection.)[/quote]
    G5 Mac OS X (10.4.4) It's ********

  • Display of PHP files in Dreamweaver

    After updating to Dreamweaver 8.0.2, I'm finding that I can't
    view php files in either the Split or Design modes. It will only
    appear in the code mode and won't let me select a browser to
    display either.
    Any suggestions?

    Open Preferences (Edit > Preferences) and switch to the
    File
    Types/Editors category. Make sure that .php (or whatever file
    extension
    you are using for your files) is *not* specified in the "open
    in code
    view" field.
    The name of this field should be "open only in code view".
    HTH,
    Randy
    > After updating to Dreamweaver 8.0.2, I'm finding that I
    can't view php files in
    > either the Split or Design modes. It will only appear in
    the code mode and
    > won't let me select a browser to display either.

  • Design view in php files

    can`t understand why, but, when I open php file which
    contains some html formatting or not, (e.g. in *.html.php files of
    CMS Joomla/Mambo) design view in DW-8 is inactive. When I rename
    file to .html extension and open it then, design view is active and
    I can work in WYSIWYG mode, but in previous versions everything has
    been OK.
    I was not need to rename files each time.
    Is there solution or newest version of DW can not work in
    design view with files exept of html extension?

    Thanks for the tips but... design view won't open at all,
    there's no errors or anything like that, it just -wont open-. It
    wont let me click "design view", it just remains stuck in code
    view, but it allowed me to view design view last week.
    quote:
    Originally posted by:
    Newsgroup User
    the "WVA - News" appears to be the include- and is a complete
    html document
    instead of just what is correct for where it's inserted.
    rough fix-
    suggest using an external stylesheet for the site, so you
    don't need to have
    each style in the head section. This will also reduce the
    number of styles
    and keep them consistent.
    edit the WVA - News file. Select just after the <body>
    tag and erase to top
    of file. Erase </body> and </html> at the end of
    file.
    (tip- attach a "design time" stylesheet to the included file
    to see and
    select the styles of the new external css file)
    or- brute force fix if don't care about syntax- go into dw
    preferences/invisible items and turn off rendering of
    included files. That
    doesn't fix the problem, just prevents the errors from
    confusing design
    view.
    > Are you using includes or scripted includes?
    >
    > there are several pairs of <body> tags, which will
    totally confuse dw design
    > view.
    >
    >> Ah, they're .php - here's the site so far if it
    helps at all:
    >>
    >>
    http://www.walsallva.org.uk/NEWSITE/index.php
    >>
    >> This worked fine in design view last week, but
    doesn't this week. =(
    >

  • PHP files in Dreamweaver

    Hi,
    I'm wondering if anyone has been unable to open php files.
    When I try to open them Dreamweaver freezes. I have reinstalled CS3
    and deleted all of the local files and downloaded them all over
    again from the remote site but nothing seems to fix the
    problem.

    Excellent! I was wondering how to solve that since it was
    happening to
    me as well, i was even working on notepad++ in those files
    with PHP and
    just saw this thread.
    Thank you so much for your answer Alan that definitively
    solve the
    problem so back to DWCS3 again :)
    Alan wrote:
    >
    >> It happened to me on two separate computers on the
    exact same day. It was the
    >> same day CS4 was released and a Icon showed up in my
    Cs3 telling me to go get
    >> it. As soon as this icon appeared, my PHP files
    started crashing Dreamweaver.
    >> Search the net, many people encountered the exact
    same thing that same week.
    >>
    >> Weird, but it happened.
    >>
    >
    > Yes- but it had a different cause. Deleting the one
    corrupt file is less
    > drastic that deleting or renaming the entire
    Configuration folder.
    >
    > TechNote
    >
    > Dreamweaver CS3 crashes after Daylight Savings Time ends
    >
    > Issue
    >
    >
    > Adobe Dreamweaver CS3 crashes when working with certain
    PHP or ASP files in
    > Code view or Design view after the clock goes back one
    hour, when Daylight
    > Savings Time ends. The crashes only occur when selecting
    certain lines in
    > Code view, or selecting certain objects in Design view.
    The crashes only
    > occur in files that have PHP or ASP code, intermingled
    with HTML code. The
    > crashes do not occur in Dreamweaver 8 or earlier (Ref.
    229536).
    >
    >
    > Reason
    >
    >
    > The Dreamweaver CS3 WinFileCache-AD76BB20.dat file has
    been corrupted by the
    > time change.
    >
    >
    > Solution
    >
    >
    > 1. If Dreamweaver is open, quit the application.
    > 2. Delete the WinFileCache-AD76BB20.dat file from the
    Dreamweaver user
    > configuration folder. Note that on Windows, the
    Application Data and AppData
    > folders are hidden by default, so verify that your
    Windows Explorer folder
    > options are set to View Hidden Folders. The location of
    this file is as
    > follows:
    > * Dreamweaver CS3 on Windows Vista:
    > C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver
    9\Configuration
    > * Dreamweaver CS3 on Windows XP:
    > C:\Documents and Settings\[username]\Application
    Data\Adobe\Dreamweaver
    > 9\Configuration
    > 3. Restart Dreamweaver.
    >
    >
    > Keywords
    >
    > Code/Design view, Daylight Savings Time, Dreamweaver,
    crashes
    >
    > TechNote Details
    > Last Update: 11-05-2007
    > ID: kb402776
    >

  • Can't find a php file on root - its there?

    Hi,
    Sorry for the repeated posts.
    I am now getting these issues:
    Warning:  include_once(home/thevilla/public_html/fpss/fpss.php)  [function.include-once]: failed to open stream: No such file or  directory in /home/thevilla/public_html/example.php on line 49
    Warning:  include_once() [function.include]: Failed opening  'home/thevilla/public_html/fpss/fpss.php' for inclusion  (include_path='.:/usr/lib/php:/usr/local/lib/php') in  /home/thevilla/public_html/example.php on line 49
    This demo uses the "Movies" template and the sample data that come bundled with the purchase package
    The fpss file is sitting on my server and is the sub folder for the php file.  The html which gets me to this point is:-
    <?php
             /* Frontpage Slideshow: Setup Steps */
             /* Please refer first to the online documentation here: http://www.joomlaworks.gr/content/view/74/41/ */
             // 1. Enter the name of your slideshow
             $slideshow = "myslideshow";
             // 2. Enter your site's URL (without trailing slash)
             $siteURL = "http://www.thevillagers.co.uk";
             // 3. Enter the absolute path of your site on the server (without trailing slash)
             $sitePath = "home/thevilla/public_html";
             // Include the slideshow
             include_once($sitePath."/fpss/fpss.php"); // DO NO EDIT THIS LINE
             ?>

    Sorry iPHP,
    Just been back over the posts and I have changed the html to read:-
    // 1. Enter the name of your slideshow
                $slideshow="myslideshow";
                // 2. Enter your site's URL (without trailing slash)
                $siteURL="http://www.thevillagers.co.uk";
                // 3. Enter the absolute path of your site on the server (without trailing slash)
                $sitePath="/home/thevilla/public_html";
                // Include the slideshow
                include_once($sitePath."/fpss/fpss.php"); // DO NO EDIT THIS LINE
    Which are the absolute paths as far as I am aware?
    Uploading this PHP file I now get errors saying:-
    Warning:  require_once(/home/thevilla/public_html/fpss/slideshows/myslideshow/parameters.php) [function.require-once]: failed to open stream: No such file or directory in /home/thevilla/public_html/fpss/fpss.php on line 16
    Fatal error:  require_once() [function.require]:  Failed opening required  '/home/thevilla/public_html/fpss/slideshows/myslideshow/parameters.php'  (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thevilla/public_html/fpss/fpss.php on line 16
    In regard to this error the files are online on my host server, so this can't be the problem? line 16 in fpss.php relates to:-
    require_once(dirname(__FILE__).DS.'slideshows'.DS.$slideshow.DS.'parameters.php');

  • ~~~how can i view a pdf file in a servlet?~~

    hi..
    i just need to view the .pdf files in a servlet page.all the pdf files are stored in my web module(i am using the glassfish server).can anybody tell me how to do it?
    thanks a lot....

    Provide a link? I mean, linking a PDF in an HTML page is hardly a Java programming problem.

Maybe you are looking for

  • Can I mark photos as duplicates without importing?

    Scenario: I switched to a new Aperture library at the start of 2014.  My old library contains the years 2007 through 2013 and it was just getting too big for my taste. I have a card in my primary P&S camera that has 2013 photos on it, as well as all

  • Getting list of internal partitions in volume manager (eg. thunar)

    It's always been an annoying point for me that I can't see the list of unmounted internal partitions (partitions on fixed hard drive, not removable) without some annoying fstab work. However, in other distros (where you don't have to do the grunt wor

  • Fixing this TRIGGER Syntax

    I am practicing Triggers in SQL Server 2012.  Please help me correct this Trigger Syntax for this practice question below.  Build a trigger on the emp table after insert that adds a record into the emp_History table and marks IsActive column to 1 CRE

  • How to dynamic field insert into intenal table?

    hi friends this is my urgent requirements .... how to dynamic field insert into internal table if it possible please tell me thanks & regards pauldharma

  • CG3Z working not open dataset for output

    Hi, I am trying to upload data into the application server for which m using the OPEN DATASET statement. My file name is as follows in lowercase. p_file = '/usr/upi/out/test_20100220.dat'. TYPE c. While trying to execute this i am getting a short dum