MAMBO PHP CMS Server and Dreamweaver

What must I beware of when installing PHP on IIS and using
Dreanweaver as
the development tool? I want to experiment with Mambo CMS as
a platform for
content management. I have zero PHP experience. Any comments
here would be
appreciated. Thanks...

Something else I noticed is that you are missing your  <html>, <head> and <title> tags. I assume those will be added when your includes start working, but if not, that will need to be fixed. You also have other html errors throughout the document. Once you get it changed over to .php and the includes start functioning, be sure to run the final output through the html validator here to clean up any other problems:
http://validator.w3.org/

Similar Messages

  • Why does my server and dreamweaver stop recognising php?

    See problem here http://letsplays.uni.me/addchannel.html
    The code appears on the page where Dreamweaver stops syntax highlighting
    Code Here
    http://pastebin.com/RTn56AXX

    Something else I noticed is that you are missing your  <html>, <head> and <title> tags. I assume those will be added when your includes start working, but if not, that will need to be fixed. You also have other html errors throughout the document. Once you get it changed over to .php and the includes start functioning, be sure to run the final output through the html validator here to clean up any other problems:
    http://validator.w3.org/

  • Php session Code and Dreamweaver Template

    I have a page that I created in dreamweaver.  It's a php page that has sessions, the file is from a Dreamweaver template that I created and am using.  However, when I update the master template file, the items before the Doctype keeps erasing.
    I have some php includes that are useful for post variables.  How can I tell dw not to delete those sections.  I can't create an editable region before the head? Is there a way?
    Thanks for you help.
    Sample Code:
    <?php
              include ("./includes/file1.inc");
              session_start();
              if(isset($_SESSION['code'])){
                        header("location:rsvp_file2.php");
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    I'm not clear in what you are saying?
    Are you saying you want to insert this block of php code on all the pages made from the master template file but when you insert it into the master template file and save the file the block of php code does not appear on any of the page made from the template?
    If that is the case then  do a 'find and replace' Find>Find and Replace. Find the doctype:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    and replace it in all the pages with:
    <?php
              include ("./includes/file1.inc");
              session_start();
              if(isset($_SESSION['code'])){
                        header("location:rsvp_file2.php");
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  • How Do You View PHP in DW and Safari with a MAMP Server?

    It almost works! I have just installed and set up MAMP. I haven't made a MySQL database and user account yet, (I'm not sure if it will make any difference if I do) but I followed the instructions - http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html - up to that point. And I have had a problem!
    The test file in the exercise is a php file which tells you the time, it works in dreamweaver (when you select live view) But when you put the file into a browser it does not work! What is going wrong here? Can anybody help?
    Also, my other php files display in Dreamweaver live view but not in either browser (Safari or Firefox)!! Annoying!

    Here is the code …
    <!doctype html> 
    <html> 
    <head> 
    <meta charset="utf-8"> 
    <title>Gallery_Test</title> 
    <!--[if lt IE 9]> 
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> 
    <![endif]--> 
    <!--LATEST JQUERY CORE LIBRARY--> 
    <script src="http://code.jquery.com/jquery-latest.min.js"></script> 
    <!--FANCYBOX plugins--> 
    <link href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.css" rel="stylesheet" media="screen"> 
    <script src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.pack.js"></script> 
    <style> 
        padding: 0; 
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
        box-sizing: border-box; 
    h1{
        font-family: Georgia, "Times New Roman",Times, Serif;
      text-align:center;
        font-size: 18px;
        font-weight: bold;
    h2 {
        font-family: Georgia, "Times New Roman", Times, Serif;
      text-align:center;
        font-size: 13px;
        font-weight: normal;
    body {
      margin: 0;
      padding: 0;
      background: #6C9;
      color: #333;
      font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
      font-siz: 100%;
      background-color: #003;
    #wrapper { 
        width: 1000px; /**adjust width in px or %**/ 
        margin: 0 auto; /**with width, this is centered**/ 
    header { 
        background: #355DA0; 
        width: 100%; 
        margin: 0 auto; 
        color: #FFF; 
    #inner_wrapper { 
        background: #3366FF; 
        overflow: hidden; /**float containment**/ 
    aside { 
        float: left; 
        width: 11%; 
    section { 
        background: #FFF; 
        width: 78%; 
        float: left; 
        margin: 0 auto; 
    /**Begin image gallery styles**/ 
    .thumbs { /*divs that hold gallery pictures*/ 
        float: left; 
        margin: 0.5%; /*space between thumbnails*/ 
        border: 1px dotted #CCC; 
        /**same size images**/ 
        width: 90px; 
        height: 99px;
    .thumbs a { /* in every .thumbs div there is a hyperlink exactly the size of the container */ 
        width: 90px; 
        height: 99px; 
        text-indent: -99999px; /*move text links off screen*/ 
        display: block; 
        outline: none; 
    /**end gallery styles**/ 
    footer { 
        clear: both; 
        background: #222; 
        width: 100%; 
        color: #FFF; 
        margin: 0 auto 
    </style> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head> 
    <body link="#FFFFFF" vlink="#FFFFFF" alink="#FF0066"> 
    <div id="wrapper"> 
    <header> <h1><a href="index_01.html">Return to Index</a></h1> 
    <h2>My Photos - [72 images 2000 x 1330] - 5th of September  2014</h2> 
    </header> 
    <div id="inner_wrapper"> 
    <aside> </aside> 
    <section>
      <?php 
    $directory = 'gallery/thumbs_1'; //path to your thumbnails 
    $link = 'gallery/slides_1'; //path to your full-sized images 
    $allowed_types = array('jpg','jpeg','gif','png'); 
    $aFiles = array(); 
    $dir_handle = @opendir($directory) or die("There is an error with your image directory!"); 
    while ($file = readdir($dir_handle)) //traverse through files 
    if($file=='.' || $file == '..') continue; //skip links to parent directories 
    $file_parts = explode('.',$file); //split filenames and put each part in an array 
    $ext = strtolower(array_pop($file_parts)); //last element is the file extension 
    $title = implode('.',$file_parts); //what's left is the filename 
    if(in_array($ext,$allowed_types)) 
    $aFiles[] = $file; //filename array 
    closedir($dir_handle); //close directory 
    natsort($aFiles); // natural sort by filename 01, 02, 10, 20 
    $i=0; 
    foreach ($aFiles as $file) { 
    $file_parts = explode('.',$file); //split filenames and put each part in an array 
    $ext = strtolower(array_pop($file_parts)); //last element is the file extension 
    $title = implode('.',$file_parts); //what's left is the filename 
    $title = htmlspecialchars($title); //make it html-safe 
    echo '<div class="thumbs" style="background:url('.$directory.'/'.$file.') no-repeat 50% 50%"> 
    <a class="fancybox" data-fancybox-group="gallery" href="Gallery/slides/'.$file.'" title="'.$title.'">'.$title.'</a> 
    </div>'; 
    $i++; //increment the image counter 
    ?> 
    <!--end gallery-->  
    </section> 
    <aside> </aside> 
    <!--end inner_wrapper--></div> 
    <footer> </footer> 
    <!--end wrapper--></div> 
    <!--FancyBox function code-->  
    <script> 
    $(document).ready(function() { 
        $('.fancybox').fancybox(); 
    </script> 
    </body> 
    </html>

  • Got lost on Setting up a PHP development environment for Dreamweaver

    I am following Dave Powers article on building a dynamic website. I am using Mac 10.6.7 and Dreamweaver CS5. I have downloaded Dave's example file and tried putting it on the desktop that didn't work. Next I tried dragging it into the website folder. That didn't work. Then I tried putting the php_test file into MAMP/hedocs and that didn't work. Where should the file go? I got to 2 green lights on the MAMP and can open the start page. The next step was to put in the time code which I did. It looks fine in design but when I click on "live view" it wants me to save the file. I save it as a php on my desktop. It then tells me I havn't specified a testing server. I have tried several ways of setting up the testing server. I set up the file name as :Local Testing---connect using: Local/Network---for the sever folder I have tried /Applications/MAMP/htdocs/php_test  with web url: http://localhost/php_test/ . And I have tried it with: /Users/checkout/Desktop/php_test.  Any ideas?
    Thanks,
    She

    Don't have the pro version? That's unfortunate. catch-22 for you... can't get any $$ to buy tools for web development until you start getting $$ developing websites and can't develop websites until you get $$ to buy tools for web development.
    You have no doubt learned by now through searching (and REsearching) that virtual host is a MAMP Pro feature. If you're too cheap/poor/whatever to afford $59 for MAMP Pro (but you somehow managed to afford the high price of Dreamweaver) then put your site files in MAMP's host location: Applications/MAMP/htdocs
    You said in OP that you did something like that... that you put php_test file (presumably php_test.php with contents unknown to forum readers) in the MAMP directory and could not load the page by visiting http://localhost/php_test
    That is probably because you did not specify the file extension in the localhost URL like this: http://localhost/php_test.php
    How about this... what exact tutorial are you following (provide a URL) and what exact step in the tutorial are you having trouble with? Or try this: instead of php_test use index.php in htdocs directory. For contents of index.php put <?php phpinfo(); ?> then visit http://localhost and see what happens.

  • Create Connection to MYSQL database which is on server using Dreamweaver CC

    Hello,
           I created a site using Dreamweaver CC and i have used the FTP server for this. Now i want to connect it to the database that i created on my server with the table. I am unable to figure out what IP address should i provide to connect to the database as my database is not running locally. I have added the screenshot as well. Kindly help me.

    Hi,
    you can't export and improt database simultaneously. like as said Mr. Ben Pleysier.
    Actually it's possible but I would recommend using this method. This method is more confidence. because you have two database file (your pc and  remote server) and we are backed up files at the same time
    you can export and import database manually.
    firstly we export database file at local computer. (This process will be done on the local computer. localhost)
    you can see an examples below images.
    localhost php my admin panel on my pc
    1.
    2.
    We have record database file on the computer.
    and going to remote server php my admin panel. for import to database file.
    Remote Server Php My Admin Panel
    1.
    2.
    I hope I could help.
    bye

  • Zend Studio and Dreamweaver - together?

    This is probably a good question for David Powers.
    Will Zend Studio mix well with DW in a development environment (say the way BBEdit, etc. does)?
    I'm hoping to enhance the PHP side of things, learn a bit about the Zend Framework but continue with DW as my primary tool. In other words utilize a number of these tools on the same project. At the least I would think the Zend editor would be helpful for even simple bits of PHP code edits?
    Thanks for any feedback.

    I use Zend Studio in conjunction with Dreamweaver quite well. Zend Studio is brilliant for intellisense code hints for PHP variables. It's also got wonderful code hinting, not only for built-in functions, but also for custom-built ones too. It also shines with code hints for custom and built-in PHP classes. On the other hand, it's rotten for HTML, CSS, and JavaScript. Moreover, it doesn't have the Design view or Live View features of DW.
    When doing heavy PHP coding, it's Zend Studio for me all the way. For HTML and CSS, not forgetting Dreamweaver's PHP server behaviors, Dreamweaver wins hands down.
    Now, if either ZS or DW could do both...

  • Problems with a Test Server in Dreamweaver CC

    I am using MAMP to work on a local server to edit a wordpress theme in Dreamweaver CC. Yesterday I was able to view all of my pages and php files in "live view," today I am recieving the error that "dynamically-related files can not be resolved because of internal server area. the only thing I touched was CSS and the I brought up the files again this morning and recieve the error on every page. Does anyone have experience with this?

    If nothing has changed in your defined site, it might be just "one of those things". Have you gone through and restarted everything? Shut down the server, mySQL and DW. Restart the machine, restart the server and mySQL then open DW.
    If that doesn't help, I don't know if rebuilding the site cache and the DW Program Cache would do anything, but they might be worth a try...
    Click the Files window menu, choose Site > Recreate Site Cache
    DW Program Cache: http://forums.adobe.com/thread/494811
    I haven't played with DWCC and a server yet, so I'll have to leave any further troubleshooting to the folks who do use it.

  • Need help with php registration form! (Dreamweaver cs5)

    Im creating an advanced php registration form in dreamweaver. I need the following code for:
    ZIP / Postal code, date of birth.
                      or
    if u can help me how to create the entire form with the following fields That will be nice! Im a Newbie:
    First name, lastname, country, zip / postal code, date of birth, username, password, email, verified, and token.
    This is the database i have in mysql:
    User_id, INT, (10), UNSIGNED, NOT NULL, A_INCREMENT
    Firstname, VARCHAR, (50), NOT NULL
    Lastname, VARCHAR, (50), NOT NULL
    Country, VARCHAR, (20), NOT NULL
    Zip, INT, (12), NOT NULL
    Birth_date, DATE, NOT NULL    
    Username, VARCHAR, (15), NOT NULL
    Password, VARCHAR, (40), NOT NULL
    Email, VARCHAR, (100), NOT NULL
    Verified, ENUM, ('n','y'), NOT NULL
    Token, VARCHAR, (40), NOT NULL
    I need to know how to apply the insert recorset server behavior in dreamweaver cs5 so I can get it to run.
    I have been trying diff ways and i just can't get it right.
    Please help! Thanks!!!

    I'm not sure how much you know but first you have to connect your form to the database
    $con = mysql_connect("hostname","admin_name","password");
    Then you have to choose the database you want information be added to.
    mysql_select_db("database name goes here", $con);
    Then you have to write an sql function which will write it in the appropiate columns in your database
    $sql="INSERT INTO what column e.g members (First name, Last name, age, etc)
    VALUES (the names of the textfields on your form), actually double check that part
    ('$_POST[firstname]','$_POST[lastname]','$_POST[age]')";
    $result = mysql_query($sql);
    This is the first and most basic part just to give you an idea how it works.
    Within these snippets you will have to write much more which will beef up the security aswell as check if everything has been entered correctly etc

  • Joomla and Dreamweaver 6

    Dreamweaver is a great coding tool, and I use it as my main editor. I occasionally have customers with existing joomla sites come to me for support and I sometimes find highly customized, poorly documented sites. I would love to use Dreamweaver to help me track down the what files contain the source code and css. The Live View is pretty much just compiled cms output and is only somewhat helpful in finding the files which originate the code.
    Since dreamweaver does list the linked files, I get some hints, but it can be a laborious process to find the right file.
    My current workflow is to download files that I need to work on from a server, make any needed changes in Dreamweaver, re-upload and then check results on a browser. I use firebug, and my general knowledge of the Joomla framework, to hunt down the code. Somtimes I have to identify the code chunk in the compiled source code, and then do a search for that chunk in the entire site. Very, very slow when I have to resort to that type of sleuthing.
    At each release of Dreamweaver that claims "Integrated CMS support... with the dynamically related files feature", I hope that Dreamweaver will be capable of determining where the code is being originated (it seems to me like this would be the very essence of a "dynamically related files feature").
    I have now downloaded the new CS6 version (I was running CS5), and I cant tell any difference in this area.
    Am I missing something? Does Dreamweaver provide this feature? If so, How do I use it?
    Thanks in advance.

    Joomla provides a nice face to its interface for inexperienced users, but the backend is very messy depending on the changes you need to make.  DW is not going to do what you are looking to do.  It's main purpose of Live View is just to allow you to view linked files, and preview the content using the Live View rendering engine where prior, all edits were made in code not being visible until you updated them.  Personally, I use the Search function in DW to search the folder to find the right file, but if you only download a particular file to work on you won't have an easy time going about doing this.  The best way for them to implement this feature would be to cache the files better, kind of like how Spotlight works for Mac.  But that would require a lot of scanning which would be bandwidth consuming and resource consuming for remote file work.  I could see them implementing this on a local site where all the files of the site are on your computer though.  Based on how Adobe plans to utilize the Cloud, with constant updates, I'd recommend you submit a feature request for additional coding support.  https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Can I ask what types of changes you are making for these clients?  Are you building/editing modules, or working more with templates in Joomla?

  • Wordpress and dreamweaver... dynamicalled-related files cannot be discovered

    I want to edit my wordpress theme with dreamweaver cc. I have a wordpress set up through a remote server and the wordpress is set to the root directory. I connect dreamweaver to wordpress successfully but then when I try open the index.php I get the error “dynamicalled-related files cannot be discovered”. I have spent the last three days trawling tutorials etc and nothing seems to be working. I feel like there is definitely a solution I just need some help please

    Do you have a local testing server installed & running?
    Is WP installed inside your local testing server's default folder? 
         C:\wamp\www\WP\
         C:\xampp\htdocs\WP\
    Have you defined your local Testing Server in DW, Site > Manage Sites? 
    See screenshots below:
    Nancy O.

  • How to Sync the session timeout of Portal with CMS Server

    Hi Experts,
    We have a custom application build on our portal which will launch the reports of InfoView. It works fine untill the portal session timeout. Whenever the session timeout occurs and reloads it I am unable to launch the reports and getting the below exception.
    com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Unable to reconnect to the CMS server_ip:6400. The session has been logged off or has expired. (FWM 01002)
    Portal is configured with SSO. Please adviese how to set the settings of session timeout in such way that Portal sync  session timeout with CMS server.
    Thanks in Advance,
    Chinaa.

    Hi ,
    There is no such option to sync Portal timout with CMS server.
    To resolve your problem you have only option to set your CMS server timout to MAX value.
    Thanks
    Anil

  • Local Testing server and htdocs

    So I have set up apache/php with virtual servers and I'm
    using DW8.
    I may have terminology errors below. Correct me where I'm
    wrong please.
    Example site directory C:/apache/htdocs/site.com/
    The web directory is: C:/apache/htdocs/site.com/htdocs
    however there are other important files hiden below this
    rebroot in "site.com/application" for example
    My work diretory is C:/somewhere else/site.com. While
    developing, I just set the testing server as my webserver and
    posted everything to preview, but know I want to include the
    production server, and try to use my local testing setup correctly.
    I use DW to ftp and edit the site files, including those
    below the webroot, so is set my directories to allow access to
    those files. My annoyance is that when I preview my site it tries
    to pull up the homepage as www.site.dev/htdocs/index.php
    (I use dev to distinguish the local testing server)
    Can I resolve this problem, or can someone explain how to
    effecttively manage your workdirectory, testingserver and
    production server from one DW site? At the moment I'm using two DW
    sites to manage for now.

    Thank you for your answers.
    SnakEyez02 wrote:
    First, this is very possible depending on your theme.  Some of the dyanmic effects in themes use javascript files from the JQuery library as well as other javascript libraries.  Because of this it may not be possible to edit all files.
    How do you think I could check this is true ? I think I need all the files if I wish to edit the theme. Would copying all the remote files locally help clearing this in any way ?
    SnakEyez02 wrote:
    This sounds like a path issue in the code.  I would check there to make sure the path is correct.  Otherwise we would need to see the code.
    I don't know how to check this. When inspecting the page with Live Code, I don't know which html file Dw is showing me on the left. No filename has that grey background like it's pushed... Plus, I don't understand why the path would have changed, since I didn't mess with the code (yet) ?
    SnakEyez02 wrote:
    I have found this to appear when you have friendly/pretty-URLs or mod-rewrite turned on.  In the WordPress web admin, go to Settings->Permalinks and choose the default with the ?p=123 setting.  DW is currently unable to process the rewriting of URLs and it will only recognize the un-SEO-friendly way of reading URLs.
    Ok now I don't understand. When I go to http://localhost/mysite/wp-admin, it shows me the WP logo,
    No Upgrade Required
    Your WordPress database is already up-to-date!
    And a big "continue" button, all of which on the original site (the url is http://www.mysite.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F). Pressing the button gets me to http://www.mysite.com/.
    Is that because I imported the database from the live site ? I don't know what I did to get that, I used to get to the local WP installation. Could that be a bad database setup ?
    Any idea ?
    Again, thank you a lot for helping me out here !

  • How to set up a FTP and web server and integrate with DMM 5.2

    Hi All ...
    I need to set up a external server only for content publishing to reduce the overhead of the DMM server .
    can anyone guide me on how to set up the external server and intergrate it with the DMM 5.2
    Thanks

    semuthu,
    Notes from the Release Notes:
    Compatibility Limitations with Microsoft Internet Information Server (IIS)
    DMPs that use firmware release 5.2 are compatible with only one version of Microsoft Internet Information Server.
    That supported version is IIS 6.0 for Windows 2003 Enterprise. If you do not have the supported IIS version but
    want your DMPs to retrieve assets from a webserver, we recommend that you use Apache instead of IIS.
    I would suggest using Apache instead of IIS for the webserver service. IIS can be used as FTP if needed.
    There are plenty of Documents on the Web about setting up Apache and FTP for servers.
    Using Apache with Microsoft Windows
    http://httpd.apache.org/docs/2.0/platform/windows.html
    Quick HOWTO : Ch20 : The Apache Web Server
    http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch20_:_The_Apache_Web_Server
    Once the Webserver is setup and operational. You simply store your media content on the Webserver
    and then have your DMS assets in the media library use an external URL address for its location.
    If you want to use external server for other features in the DMM, you can can see how to configure
    here:
    http://www.cisco.com/en/US/partner/docs/video/digital_media_systems/5_x/5_1/dmm/user/guide/dsm+etv.html#wp1073210
    Goto the section right below ACNS & WAAS..
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • I am connected to my remote server and "put files" but the web page files do not update, whats going on?

    I really can't figure this out:
    So I use a different computer at school for web design, I bought Dreamweaver to work on it at home, I get the files fine from the server that I uploaded at school but then I make changes at home computer and connect and "put" them and I check online and the web page doesn't change one bit.
    I don't have the exact file extensions from the computer at school but when I connect and get I have a similar folder(s) set up and then it downloads them into Dreamweaver file manager box and makes the folders there I downloaded. The site shows up fine in Dreamweaver after I "get" so great I thinking.
    But... not so fast, I change the page in Dreamweaver, preview n a browser and look right on so I "put", connect to server and upload. Then I check online an its still the same I uploaded the CSS and HTML and dependent files by dragging over and also using the up arrow "put" as well but nothing changes on the web page online.
    What is happening here I am so confused?
    Thanks a bunch, I mean I can still preview as I go but I really curious why my "put" files don't change my web page like at all!

    Have you tried refreshing the browser, or deleting the browser cache?

Maybe you are looking for

  • How do I view photos in an external drive using iphoto

    I want to view my photos stored on an external drive using iphoto. How do I do that?

  • Calendar entries on phone but not on iCloud (web)

    Hi, I've been using iCloud exclusively on my iOS devices and macbook (I don't sync with google calendars or anything else).  About a few weeks ago, I realised that some entries on my iPhone were not reflected on the iCloud  calendar (www.icloud.com).

  • I can't forward a picture after taking it.

    I have to close the camera app and then go to the 'photos', then open the photo and then forward it.  What gives?  I must be missing something super obvious here. **I can't believe this.  I have been dealing with this for months and I just retried it

  • Accessing outer class memebers (objects) from inside a local class

    Why is it neccessary that any Member-Object reference of the Outer class, or rather even the Object references defined inside the method, which contains the local/anonymous class, has to be declared as "final" if the reference is tobe used inside the

  • How do I insert a reference to a later section?

    I want to put a reference in a document that says (see XXX on page 99) where XXX is the name of a later heading in the document and 99 is the page number on which that heading appears. I don't want to hard-code either the heading or the page number;