Dreamweaver CS3 - PHP Include error

Just upgraded to DW CS3 and found that any page containing a
PHP include no longer shows up correctly in design view. Only the
contents of the included file are shown, not the entire page.
We currently have to comment out ALL PHP included files to
edit the page, and then uncomment them again before posting to the
server.
Is there any work around or setting that can change the way
the PHP include files are handled??

Hi David,
Thank you for following up. I'm really confused why PHP
includes which have worked in all previous versions of DW, parses
correctly on the server, and renders correctly in all browsers
suddenly won't show up in my design view in Dreamweaver after the
CS3 upgrade.
One of our PHP includes: <? include 'header.php'; ?>
The pages render correctly in the browser, but when I open
them in DW CS3, only the contents of the header are visible -- no
other page elements. We have to comment out the includes to see the
page contents.
In DW8, the contents of the include were hidden and the page
contents visible.
In CS3, the contents of the include are visible and the page
contents hidden.
The PHP include syntax hasn't changed -- the way Dreamweaver
shows the code has. Is there a preference or setting that can
change the view to hide includes?

Similar Messages

  • Dreamweaver CS3 and Coldfusion Errors

    is anyone experiencing errors when using the coldfusion
    inbuilt tools within dreamweaver cs3? I am getting errors when
    using the insert record server beahaviour. Also i have noticed that
    some sql code is not genrated correctly within cs3. This was not as
    a problem in versions MX and 8.

    Have you posted this question in the Cold Fusion Forums?
    http://forums.adobe.com/community/coldfusion
    I don't use CF myself and the few CF coders I know have long since moved to Eclipse/ColdFusion Builder. 
    Nancy O.

  • Dreamweaver CS3 Trial install error

    My DreamWeaver CS3 Trial install crashes right after the
    component load. screen. and I do have the new Adobe Reader. I also
    have Photoshop. so what might be the problem. I will try to make a
    video of it and upload it on youtube.
    But anyways my system specs are
    RAM = 512MB ;
    Processor = AMD Athlon 2600 , MMX , 3DNOW , ~2.1GHz ;
    Op system = Win XP Pro(using IIS)
    so what should be wrong with this?

    Steve Hemmings wrote:
    > got a mac os x...
    >
    > downloaded trial version when i go to run the 'setup'
    icon for dreamweaver,
    > the icon expands like its about to load the installation
    but nothing happens.
    Sounds as though you're trying to install Dreamweaver CS3 on
    Mac OS X
    10.3 or earlier. CS3 requires OS X 10.4 as a minimum. It
    won't install
    on earlier versions.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Mac Dreamweaver CS3 (and only DW) will not install - Web Premium Suite

    [Previously posted here - suggested to post here instead]
    cannot install Dreamweaver CS3. The error is shown here:
    http://flickr.com/photos/ianlloyd/1140427313/
    Note: I previously took part in the DW9 (aka CS3?) beta
    program but consistently had problems trying to install, so I
    probably have some cruft left over.
    Note also: I have used Spotlight to find anything with
    Dreamweaver in the title that does not relate to DreamWeaver 8
    (which is the version that I currently have running on my Mac with
    no problems).
    Please advise:
    # What file on my system is leading CS3 installer to believe
    I have CS3 installed so that I can zap it
    # Any other clean-up operation I can try to resolve this.
    Many thanks

    Hi, Ian-
    Definitely try using the CS3 Cleanup Script to remove
    conflicting libraries/files/extensions/etc before another clean
    install from the DVD. You can download the right version for your
    platform (Mac?) here:
    CS3
    Cleanup Scripts
    Don't forget to restart after running the scripts- often
    components can remain referenced in memory after removal. Hope this
    helps out!
    best- Scott

  • Adobe Dreamweaver CS3 with ASP coldfusion and PHP search?

    I am working through Adobe Dreamweaver CS3 with ASP
    coldfusion and PHP with the intent of creating a data base site
    that primarily requires a search engine on the index page. The
    search page in the book uses specific search criteria ensuring that
    there will always be a match to the data base but I need to create
    an input text field search engine. My Q, if there is no data within
    the data base that match the variable, will it return with an error
    requiring an argument in the code to respond to no matching data.
    Hopefully there are comprehensive online recourses for these search
    engines as they are so common. I am a complete newby to all aspects
    of web development and code so it will need to be a thorough
    explanation, an idiots guide. ANY HELP GREATLY APPRECIATED

    Rob,
    Let me try to answer your questions, understanding that my
    answers are laced with my experience and therefore my bias.
    1. For the most part the SQL that you write for Access, MS
    SQL or MySQL is going to be the same. I won't make that claim about
    Oracle or PostgreSQL because I have limited or no experience in
    those areas. To be sure when you head down the road with any DBMS
    there are finer points on 'value added' features (to over simplify
    things like MS SQL's Transact SQL), but for the most part when you
    are pulling out, inserting or deleting records the SQL that you
    write will be the same. In fact, I don't think I had to make any of
    the SQL in the book different to deal with the back end db.
    2. As for your host steering you away from MySQL, I don't
    know why that would be. It is MUCH more stable and robust than
    Access for web development. My research showed that you can use
    MySQL just fine with ASP though that clearly wouldn't be
    Microsoft's first choice.
    3. A quick aside, the fact that you are building ASP on a Mac
    would seem to indicate that you are developing on your production
    server. That's never a good idea. Go local if you can. If you have
    a newer Intel Mac you can use VM Fusion, Parallels or even Boot
    Camp to run Windows in a virtual environment and develop there,
    only moving your code to production when you are happy with it.
    There is of course the fact that they two environments would not be
    identical and you may need to change a few references, but it is
    still a better practice than developing on your live site. Some web
    hosts give you the ability to set up a subdomain. If yours does,
    you could set one up with a duplicate of your site and develop
    there.
    4. Let me try to pull your 'rant-let' apart into two issue. I
    begin with a question. I'm not sure what the Mac part has to do
    with it. The primary language I work in at my day job is
    ColdFusion. The majority of the most serious developers I know in
    the CF world work on Macs. I am forced into the PC world because of
    a cultural bias at the business school where I work. Having said
    that, the only time I have felt there was ANY difference in the
    tools, resources, choices I had was in any way affected by platform
    was when Adobe still had not released Flex Builder 2 for the Mac.
    Now that is behind us as well. This reaction of mine may be based
    on the fact that Access never comes into play in the work that I
    do. I regularly work with MS SQL and MySQL. (OK, so SQL Enterprise
    Manager, the MS tool of choice to talk to MS SQL is Windows only,
    but I only use that at the day job. But even there you can find
    cross-platform, free tools like Aqua Data Studio to talk from a Mac
    to MS SQL.) If I'm missing your point on the Mac, please let me
    know. Since the advent of the Intel Mac I think it is hands-down
    the best choice for a web developer. You can have Mac, Windows and
    Unix all on one machine. It doesn't get any better (providing you
    have the RAM :-)).
    As for the security question, it is somewhat analogous to the
    war on viruses and spyware. As the defenses get better, so do the
    attacks. Most languages have developed functions for vetting user
    input variables and best practices for building these things. It is
    mainly a user education issue. When I took over the book you are
    working out of, the one thing Jeffrey told me it needed was more
    security. I did my best to put more in under the constraints of the
    publisher. They didn't want the book to be any longer than the
    previous version. I did my best to modify the code used to include
    "string safe" functions and to add verbiage about the importance of
    security. It was clear that I could not add as much as was needed
    and I said so in the book. Much more is needed for a serious
    treatment of the subject and not acknowledging that would have been
    a disservice to the readers. I've been working as a developer for
    over a decade and I don't know all there is to know about it. It's
    a constantly changing field, just like all of web development. In
    fact next week I'm going through a 2-day SANS Web Application
    Security workshop in hopes of learning more. So at the risk of
    sounding like an industry apologist, I don't think it's a
    shortcoming of the development community. It is, as they say, "a
    developing situation".
    HTH,
    Bob
    http://bobflynn.info/

  • Error message when trying to open PHP include?

    Hi there,
    I have seen a number of posts here about issues with
    Contribute editing PHP pages and am starting to get concerned... I
    have another one to add to the list.
    I have created a site that uses PHP includes for the header
    and the drop down menus, so that the client can go in and edit one
    or two files to change things sitewide. Sounds good, right? Well,
    in Contribute I can't open either of the PHP files that are being
    included to edit them. I keep getting errors and whether I click on
    "YES" or "NO" (to the question of whether I want to continue
    running scripts on the page) it doesn't let me out...the error
    warning box keeps popping up and I am in an endless loop. The only
    way out is CTRL-ALT-DELETE.
    One guess I had is that I am maybe missing something
    important in the included PHP file that is necessary for it to be
    recognized as a proper PHP file? In other words, the included PHP
    files contain no header tags or anything like that, it is literally
    just some divs that are supposed to be inserted at a particular
    point on every page. Am I missing something, or am I encountering a
    limitation of Contribute?
    Many thanks!!
    Tim

    I think it's the content of the include that is causing your
    troubles. Somehow you created a menu using Fireworks(?) or
    Dreamweaver(?) and Contribute indicates javascripterrors, not php
    errors...
    Maybe its better, in this case, constructing a menu that
    contains only an unordered list (check out project7 menus, or stu
    nichols css site for more examples). Updating the menu will be
    simpeler and also with less chance of errors by users. You can open
    such a file without any troubles in Contribute.

  • URGENT: Dreamweaver CS3 crashes while uploading any PHP File

    Hello,
    My Dreamweaver CS3 crashes everytime I try to upload any PHP
    file to the Web Server. It does upload the file but crashes and you
    received a "Not Responding" error in the Windows title bar. I did
    search alot on this issue until I found the ".
    Dreamweaver
    CS3 crashes after DST ends" problem. I deleted the cache file
    as required but of NO HELP.
    . It is very annoying to restart Dreamweaver
    everytime you want to upload any PHP file to the Web Server after
    editing it. It doesn't happen with any other types of files. Please
    help me guys here or I will lose my mind.

    Bad news for you too.
    First, you are not addressing Adobe here in the user forums.
    Secondly, Adobe does not support CS3 any longer because it hasn't been sold for years.
    Therefore, you're left to the good will of fellow users who volunteer their time here free of charge, if one of them has a solution to your issue.  No one is under any obligation to reply, so ask nicely. 
    One thing I can tell you is that you have not applied any of the versions available for Photoshop.  Unfortunately, the Adobe auto updater was an unmitigated piece of cr@p in any version prior to CS6.  Do not rely on it to assume you are up to date just because it doesn't show any updates available to you under Help > Updates.
    You need to look for the downloads and apply them manually yourself.
    I can't offer any more assistance because I don't do Windows.  Sorry.

  • PHP_MySQL error msg in Dreamweaver CS3

    I tried to open my Dreamweaver (CS3) today, and it gave me
    this weird error message that I've never seen before:
    The following translators were not loaded due to errors:
    PHP_MySQL.htm: has configuration information that is invalid.
    Here's a screenshot of the error:
    http://i44.photobucket.com/albums/f10/loganalexa/dreamweaver_error.jpg
    Please somebody tell me what this means! I haven't messed
    with anything that has to do with my Adobe folder. I didn't delete
    anything, all I've done is design my pages. I need my dreamweaver
    very quickly, I have a website I'm supposed to be working on and I
    can't if I can't save the files!!
    And by the way, I'm not even using PHP or SQL or anything.
    It's just a straight HTML page....

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "nicolerp" <[email protected]> wrote in
    message
    news:fobbnj$6ib$[email protected]..
    >I tried to open my Dreamweaver (CS3) today, and it gave
    me this weird error
    > message that I've never seen before: 'The following
    translators were not
    > loaded due to errors: PHP_MySQL.htm: has configuration
    information that is
    > invalid.' Here's a screenshot of the error:
    >
    http://i44.photobucket.com/albums/f10/loganalexa/dreamweaver_error.jpg
    > Please
    > somebody tell me what this means! I haven't messed with
    anything that has
    > to do
    > with my Adobe folder. I didn't delete anything, all I've
    done is design
    > my
    > pages. I need my dreamweaver very quickly, I have a
    website I'm supposed
    > to be
    > working on and I can't if I can't save the files!!
    >

  • MySQL Error# : 2002 in Dreamweaver CS3

    I created a database in PHPMyAdmin for my site and when I try
    to connect to the DB from Dreamweaver I receive the error message #
    2002
    "Can't connect to local MySQL server through socket
    '/var/lib/mysql/mysql.sock'(s)"
    Does anyone have any idea how to fix that problem? I was able
    to get it works before but since I reformat my harddrive I keep
    getting this error message.
    Can anyone help me please? I'm running Win XP Pro SP2

    chunkeung wrote:
    > When I login into
    > PHPMyAdmin I see that the Server is "Localhost via UNIX
    socket" so I put that
    > into my setting in dreamweaver for the "MySQL server"
    but on the hosting that
    > giving me that #2002 error message their Server is
    "127.0.0.1 via TCP/IP" and I
    > tried to put in 127.0.0.1 instead of localhost but it
    still doesn't work and
    > gives me this error message.
    localhost and 127.0.0.1 are the same thing. All you need is
    "localhost"
    or "127.0.0.1" (without the quotes). The "via UNIX socket"
    and "via
    TCP/IP" are simply descriptions of the type of connection.
    They are NOT
    part of the server address.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Missing File - Adobe Dreamweaver CS3 with ASP, Coldfusion, and PHP

    On page 263 of Adobe Dreamweaver CS3 with ASP, Coldfusion,
    and PHP by:Jeffrey Bardzel and Bob Flynn the file called
    countryDetailXML.asp is missing. How can I find that file? Any
    idea?
    Thanks for your help.

    @citaiz,
    That file is created earlier in the lesson in an exercise
    starting on page 257. For the sake of the lesson, you can use
    countryDetail.xml that is included in the lesson 09 start folder.
    It is not important for this lesson that the XML is a static file
    or one generated in real time from the database. The version of
    Spry (1.4) that shipped with DW CS3 used XML data only. The current
    version (1.6.1) can use JSON and HTML tables for the data source as
    well. You can get the latest version of Spry for free at
    http://labs.adobe.com/technologies/spry/,
    including an extension to update your copy of DW to the latest
    version.
    Bob Flynn

  • C++ library runtime error on dreamweaver cs3

    I´ve got this error while using Dreamweaver CS3.
    Microsoft C++ Library Runtime error on C:\Program Files\...
    this is the system log(the OS is in spanish):
    Aplicación con errores: dreamweaver.exe, versión:
    9.0.0.3481, módulo con error:
    fwlaunch.dll , versión 2.0.0.2, dirección de error
    0x00038036.
    The application hangs and I have to force quit.
    problems in
    fwlaunch.dll ??

    Hello meld80,
    1. Exit all programs, including Internet Explorer.
    2. From Start. Type the following command in the Start Search box, and then press ENTER: inetcpl.cpl
    3. The Internet Options dialog box appears. Click the Advanced tab.
    4. Under Reset Internet Explorer settings, click Reset. Then click Reset again. When Internet Explorer finishes resetting the settings, click Close in the Reset Internet Explorer Settings dialog box.
    5. Start Internet Explorer again.
    Need fix for Microsoft Visual C++ Runtime Library Runtime Error
    If I have helped you in any way click the Kudos button to say Thanks.
    The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
    - Friendship is magical.

  • I'm using Dreamweaver CS3 for PHP - Is there a better option?

    Most of my friends seem to use regular text editors for their php programming.  I do not need to connect to a database with my coding.  I just would like something that understands php functions and such, so that appropriate areas are highlighted.
    Or so that php errors such as missing semicolons and such are easy to spot.
    What would you recommend I switch to? Or is there not something that Adobe makes that is specifically for PHP?

    While Dreamweaver CS4 didn´t add significant improvements for PHP developers in particular, the new version CS5 is indeed a huge step forward. Please have a look at the excellent review by David Powers: Dreamweaver CS5 is good news for PHP devs
    My recommendation ? Well, if you consider Dreamweaver CS3 in general (not just talking about the PHP specific features) as overall helpful tool in many areas (e.g. CSS rendering, visual layout drafts etc), then CS5 will be an improvement in these areas as well and could be worth trying/buying. On the other hand: if you´re only interested in "whatever" development tool to give you advanced PHP support, the Eclipse - based Aptana plugin or the Netbeans PHP IDE are pretty fine tools as well.
    Cheers,
    Günter

  • Problème avec Dreamweaver CS3 et PHP

    Bonjour,
    J'écris ici car j'ai de gros soucis avec Dreamweaver CS3
    ... En effet, du jour au lendemain, il m'a été impossible
    de faire des insertions dans ma base de donnée (en local),
    provoquant des erreurs du genre :
    Warning: Cannot modify header information - headers already
    sent by (output started at ...
    Bref, ca fonctionnait parfaitement avant, et là, plus
    rien ne marche ...
    Avez vous une idée du problème ? (j'ai déja
    réinstallé le logiciel) et j'ai essayé avec easyPHP
    1.8 et Wamp (même problème, j'ai également
    changé de navigateur, même problème ...
    J'ai vu sur des forums que ce problème était
    lié à la fonction header(sprintf("Location: %s",
    $insertGoTo));
    Le problème étant que cela ne m'était jamais
    arrivé, et que là, systématiquement j'ai des
    problèmes...
    Je suis déséspéré, j'ai vraiment besoin
    de votre aide
    Merci de votre aide.

    I don't use the DMX extension myself and have never used Dreamweaver data bindings, so I can't help you with this. I write all my own code.
    I do use PDO. Have used it for a few years now. Here is my connection script for PDO on my testing environment. I can help you troubleshoot PDO issues.
    <?php
    $dsn ='mysql:dbname=xxxxxx;host=localhost;port=3306';
    $user='xxxxxx';
    $password='xxxxxx';
    try {
    $dbh = new PDO($dsn, $user, $password, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
    //                     VERY IMPORTANT!!!
    //         activate the next line for the remote server. activate the line following it for the local server
    //         you want to see error messages on the local system but not the remote system
    //$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
    $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    $dbh->query=("set names utf8");
    $dbh->exec('SET CHARACTER SET utf8');
    $dbh->exec('SET character_set_server=utf8');
    catch (PDOException $e) {
         die('Connection failed:  .$e->getMessage()');

  • I am trying to reinstall Dreamweaver CS3 from the CD after having computer issues.  Now getting error "You can only install one Adobe product at a time.  Please complete the other installation before attempting to install ......."  There is no other Adobe

    I am trying to reinstall Dreamweaver CS3 from the CD after having computer issues.  Now getting error "You can only install one Adobe product at a time.  Please complete the other installation before attempting to install ......."  There is no other Adobe product installing.  I have used the Adobe Cleaner Tool many times and uninstalled other Adobe Products but neither has worked.  I have uninstalled/reinstalled this CD version of Dreamweaver several times when changing computers and after having computer issues. A google search of the problem suggested it may be an error related to the number of times I can reinstall this product due to licensing issues.  Please help.

    A google search of the problem suggested it may be an error related to the number of times I can reinstall this product due to licensing issues.
    Absolutely not. You are misinterpreting things. The activation check never happens when just running the installer, only much later. It means what it says - there is another "install" pending/ active on your system, meaning somewhere there is an (invisible) process still blocking things. Either way, since you haven't provided any real technical info, we can't advise specifically. if you are on Windows, you may want to check your task manager and terminate any setup.exe and msiexec.exe processes plus potentially may need to manually fix/ delete some registry keys. For anything beyond that you will have to be much more specific.
    Mylenium

  • PHP include in DW CS3

    If I put a tag like this <?php include ('menu.php'); ?>
    in my file, I can only preview it after putting the file on a
    server. How can I preview it in my local computer without uploading
    the files to a server?
    Thanks

    The use of virtual or a root reference in the include
    function forces Apache
    to look at its root folder for the files. It will not find
    them there, and
    therefore the include will fail. The only way to make this
    work would be to
    set up virtual hosts, in which case the root of the site is
    always the
    virtual root you have specified in the httpd.conf file.
    Your use of the $_SERVER['DOCUMENT_ROOT'] autoglobal will
    work on the
    server, but not within DW (I think).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "polar_bare" <[email protected]> wrote in
    message
    news:glskk4$dnu$[email protected]..
    >I did change the include to: <?php
    virtual('/includes/header.inc.php'); ?>
    > from: iv id="header">
    > <?php include
    ($_SERVER['DOCUMENT_ROOT']."/includes/header.inc.php");
    > ?>
    > and it did display in DW, UNTIL... I save the file.
    >
    > I think it is how my web host is set up. When I changed
    the include
    > to:<?php
    > virtual('/includes/header.inc.php'); ?> and uploaded
    the page, I get an
    > error:
    > Fatal error: Call to undefined function virtual() in
    > /home2/user/public_html/indextest.php on line 35.
    >
    > I searched this forum on how to set the base url for
    includes in php and
    > came
    > up with the method: ?php include
    > ($_SERVER['DOCUMENT_ROOT']."/includes/header.inc.php");
    ?> which works,
    > but
    > design view does not show it. No Big Deal.
    >
    >
    http://www.jhcarpenter.com
    >
    >
    >

Maybe you are looking for

  • Drop a datafile from physical standby's control file

    Hi, I am trying to create a physical standby database for my production... 1) I have taken cold backup of my primary database on 18-Nov-2013... 2) I added a datafile on 19-nov-2013 ( 'O:\ORADATA\SFMS\SFMS_DATA4.DBF' ) 3) Standby control file was gene

  • All Background Jobs Are cancelled

    Hi all, I make a new server by restoreing backup of our production server and SAP is running well.But when I schedule any back ground jobs all jobs are cancelled.Due to this I am not able to run SGEN.Even when I manually schedule any back ground jobs

  • How can I enter HTML on iWeb ?

    i am trying to add a button

  • Tuning : Inconsistent result between Explain plan VS Execution Time

    Dear Experts, Need your suggestions belongs to contrary result between Explain plan VS Execution Time Environment :_ Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit PL/SQL Release 10.2.0.4.0 - Production CORE     10.2.0.4.0     Prod

  • Apps missing in iPad2

    Some of my apps are missing, including app store, safari, email, and other third party apps. This issue came up after trying to open different apps which didnt work, they just closed down while trying to load. Actually I couldnt use any app on the Ip