Implementation of site definitions for a dynamic web page with local testing

I'm new to php. I am bound and determined to create a PHP site for a mySQL database (I was able to create 700 site database in MAMP - yay!) One more step!). Now, I want to set up a test page, to help me learn dynamic pages and have access to my database. I want to test pages locally, and not sure that I've implemented the new site correctly.

I'm on a Macbook Pro using CS4. 10.6 system

Here is how I filled the site definitions:

-Name: test

-HTTP address: http://mysite.com/public_html (of course, I used my real instead of mysite domain URL)

-Server tech: Yes, PHP mySQL

-Edit and test locally (MAMP is installed and working, so I think it's the right choice)

-L' storage location of the files: I've come to the place where I want to store this test.

/ Users/username/Desktop/database / public_html /.

-What URL used to access the root: http://localhost/public_html

When I type 'test', I get...

ERROR: DW cannot use the prefix you have entered to display data in real time. I clicked on 'Help' but I was unable to solve the problem...

In addition, the sign '+' is gray in the databases, so I think it has something to do with site definitions, I've used.

Thank you! The journey of a thousand miles begins with one step...

I'm glad that you finally got there in the end. If you are looking for tutorials, you would like to try this tutorial into three parts that I wrote for Adobe: create your first dynamic PHP site. It begins simply, but becomes progressively more advanced, so do it slowly.

You might also be interested in some of the books I've written. See my website, http://foundationphp.com/ for more details. As you use Dreamweaver CS4, The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP, is probably the best. For a more general, non-Dreamweaver specific approach, there are PHP Solutions, second edition. I try to credit with a certain intelligence readers, so I wouldn't say my books "for Dummies". But they are written in a simple style, non-jargon and seem to be well liked by many people.

Tags: Dreamweaver

Similar Questions

  • Is it possible to edit Firefox context menu to the standard address for the displayed Web pages?

    Is it possible to edit Firefox context menu to the standard address for the displayed Web pages? Often, I want to save an image on a page. Sometimes I "slip" and press "Send Image" when I want to "Save Image under" and sit and wait for the default page - send an email to come, then shut up, juggling its dialog boxes "are you sure". It is a way of trying to manage a blunder. Basically I want an element directly from a page by email. Is it possible that I can simply remove "Send Image" from the context menu?

    It is possible with the Menu Editor extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/710

  • Preview Web pages with related in the browser stylesheet

    I had a frustrating problem occurs a few hours with a local version of a Web page with a style sheet linked, which is that all of a sudden I can preview is more like CSS in a browser.

    I did a lot of troubleshooting to try to identify the problem and narrow down I have, but I am unable to solve. Here are the conditions in which it occurs:

    (1) the problem only occurs within this site in particular. If I create a new site or open one of my other sites and get a preview of a Web page with a linked style sheet, it previews fine.

    (2) I know that the stylesheet for this page of this site is bound correctly, because styles displayed correctly in page design mode and mode live view, just not when I Preview in a browser.

    (3) it occurs in this site especially if styles are related. If I move the styles for the header, it previews then well in a browser.

    (4) the problem only occurs in the local version of the site. Later, I downloaded the page and its style sheet to my server to delete, and if I navigate a browser for it, it appears very well.

    I spent four hours trying to solve this problem. If anyone if familiar with the problem and could offer me advice on how to solve it, I would be very grateful.

    As soon as you are.  My mistake.

    The fact that all the links on the page relative root - indicates that the site definition has been set for these links.  To see Preview locally one must activate PREFERENCES. Preview in browser > preview using temporary file.  This selection tells DW to create a temporary file in which all related links root are replaced by links to document over this temp file to the browser for preview.  Otherwise, when you view a preview of the file, the browser will see relative link to the root and start the search for the file linked to the root of the hard drive rather than the root of the site DW (the browser has no idea on the sites of DW).

  • Firefox 20.0.1 with Shockwave 11.7.700.169 crashes when you access web pages with video content

    I have a problem with Firefox 20.0.1 on Windows 7 with Shockwave flash 11.7.700.169. When I have access to a web site / web page with content that requires Shockwave (usually video) I can view the video, however, when I get out of Firefox, it will crash with "Firefox has encountered a problem - check for a solution...". ». I also have a website 'MyHeritage' that when I go to a family tree, I repeatedly receive a message "video driver has stopped working - NVIDIA driver... has successfully recovered. If I disable Shockwave, Firefox will not crash in both cases, unfortunately, I can't watch any video content.
    I did go through the website of Adobe and put to day what I thought was my version of Shockwave, unfortunately that Manager for netscape V12.2 installed, I have disabled this plugin.
    BTW - run Firefox in SafeMode (disabled add-on) arrested my NVIDIA driver crashing and also arrested Firefox crashing by exiting the application.

    Please check if all your plugins are up-to-date by using the Mozilla Plugin Check site.

    Once you are there, the site will check if all your plugins have the latest versions.
    If you see in the list of plugins that have a yellow button to update or a red button update now , please put to update these immediately.

    To do this, click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps in the installation process.

  • Can I REALLY print web pages with ePrint?

    I want to buy an ePrint printer. I know that I can print static web pages with my iPad via ePrint.
    But can also print dynamic web pages, or pages that I see after my login on my bank account?

    Example of dynamic web pages: http://drawisland.com/ or https://www.draw.io/
    Go to this page and draw something. You can print it via AirPrint?

    Thanks for any help or advice!

    Hello

    Did you ask an Airprint printer? For locations above, Yes. Any printer can print, but not all printers can use Airprint. One thing I want to mention here, printer will print the ENTIRE page. They allow you to save the drawings, you can save and print later.

    Kind regards.

  • How to focus on a web page with a single shortcut?

    I like to use the keyboard, scroll web pages with arrows... If the body of the page loses focus (for instance by pressing Alt + D) the only way (AFAIK) to focus the page again is by pressing Tab several times until I can continue with the scroll arrows. It would be good to focus a page with a single shortcut, is think?

    Press F6.

  • Field of browser BlackBerry 2: Crash when loading web page with the County to expand

    I use the browser Blackberry 2 custom field in my application to display local html pages that I load device SD Card. For the few notes I met the application crash.

    I quickly tested behavior Blackberry browser for these pages and found that it crashes too. Steps to reproduce:

    1 torch 9800, operating system. 6.0

    2 copy attached to SD card files

    3. access to these files by using application "files."

    4. try to open the test.html file by clicking on it.

    5 blackberry browser will crash.

    Issues related to the:

    1. scope of browser Blackberry 2 uses the same API as Blackberry browser on platforms 6.0.x?

    2. is there no work around for this problem?

    Mark,

    Thank you for your comments. But I finally found the solution me

    The solution is the following:

    (1) change us html so that it will contain no image resources.

    (2) for each image resources, we create something like

    or any other appropriate HTML element. Here, we will retain certain information that will help us identify how and where we need to charge, a kind of identity.

    (3) first load us the HTML page in the application. It should load without any problems.

    (4) then call us the JavaScript function that will replace our

    items with images using the timer. It is possible with BrowserField2.invokeScript (). When the script will replace an HTML element with element, which could cause some resources load (I mean handleResourceRequest), so you should run with it.

    I tested this solution in my application and crash problems have been solved even when we have a lot of images on the web page stored locally in the device memory or on the SD card.

  • How to make the same effect of scrolling like Tumblr (beginning Web page) with Adobe Muse?

    How to make the same effect of scrolling like Tumblr (beginning Web page) with Adobe Muse?

    I used Adobe Muse since the day it first came out, I played with the timings and effects of scrolling a lot. Tumblr landing page scrolling is very nice, I can see why you want a similar effect. Something similar could be created using the scrolling in AdobeMuse effects, especially if you familiarize yourself with the scrolling of the transparency. Start with a color block simple try it scroll up to double speed, then add items to the next page with the scrolling transparencies. Best practical work, use layers to do this, it makes things so much easier when you need to edit the page.

    Once you have played with the effects of scroll, you will begin to note how the elements of the Tumblr page can be re-created. This will be a sharp learning curve, but very doable in Muse for a similar effect. You will have a number of layers with page elements and new blocks of color on each layer when your done, fine tweaking the movement of scrolling and timings will make perfect. Good luck.

    If not, try adding an animation on board, you can create a Web page in Adobe Edge, but again... probably much more involved learning with this option.

  • He anIs it an Adobe application to save a Web page with links still embedded in the PDF file.

    My question is are at - it an Adobe application for the iPhone that can save a Web page with links still embedded in the PDF file.

    I would save my Web pages as PDF files, and still have the links in these active pages in this PDF file. I can currently do this with my version of Adobe acrobat on my PC.  I would add also this is for personal use and I can't afford monthly fees.

    I would add also this is for personal use and I can't afford monthly fees.

    Any information would be greatly appreciated.


    Them

    Sorry, Adobe has no product available for free.

    However, if you have Acrobat DC on your computer, you can create this a PDF file. If you activate the Mobile link feature, it will be immediately available for all your devices.

  • How do I create a web pages with Adobe Muse reagent? I think it's a great tool and must Access the functionality just like Edge reflow. And is it possible to import works of reflow to Muse?

    How do I create a web pages with Adobe Muse reagent? I think it's a great tool and must Access the functionality just like Edge reflow. And is it possible to import works of reflow to Muse?

    Hello

    Please check a few suggestions given in this thread you can create sensitive sites with Adobe Muse?

  • Animation of edge in an existing Web page with the assets of edge in a different folder

    Possible is defined in the publication of 'web' settings, the full path of the assets of edge?

    I would like to insert the edge animate Web pages with 'php include', but every time I need to manually change the path in the js files (... _edge.js... _edgePreload.js) does not work otherwise.

    Thank you.

    Yes I know, if you want your edge files to publish in another folder that the default you must do it manually, there are no other options in the settings of export now. I do it like this for the moment.

    What you can do if you do not want to rename and edit your files after every change, is to work with a "temporary folder".

    So for example, you can change your file as much as you need and then when you think it's ok, you just replace the edge files that have been changed.

  • Failed to retrieve the site definition for the ATG 11.1 site id

    Hello

    I'm trying to access a page /browse created under the site of siteStoreUs in the experience Manager. If I try to access the page of the application, observe the error with the blank page below.

    We work with ATG 11.1

    Please help me to solve this error.

    18:08:32, 401 SEVERE [atg.endeca.assembler.multisite.ExtendedSiteManager] (http-/0.0.0.0:8080-6) unable to retrieve the site for the site id of the site definition: /siteStoreUS: com.endeca.store.exceptions.

    PathNotFoundException: No node found at path: [pages].

    at com.endeca.store.configuration.InternalNode.getNode(InternalNode.java:153) [_DAF. [Endeca.Assembler_slib_sendeca__assembler__core - 11.1.0.jar:11.1.0]

    at com.endeca.store.configuration.InternalNode.getNodeInfo(InternalNode.java:221) [_DAF. [Endeca.Assembler_slib_sendeca__assembler__core - 11.1.0.jar:11.1.0]

    Thanks in advance,

    Ravinder Pogulakonda

    The resolution is here;

    Set storeFactory = / atg/short/assembler/cartridge/manager/DefaultFileStoreFactory in /atg/endeca/assembler/cartridge/manager/DefaultWorkbenchContentSource.properties

    Make sure of course below are configured correctly

    -Site of short Id to the element of site must correspond with the name of the site in the Manager(Ex: If the site name in XM is "homeSite", then Endeca site id in the site item should be "/homeSite") experience

    -Set configurationPath=C:/Endeca/ToolsAndFrameworks/11.1.0/server/workspace/state/repository/ /atg/endeca/assembler/cartridge/manager/DefaultFileStoreFactory.properties

    -Create the user segment in XM to /homeSite as site.homeSite.

    I hope this helps

    Thank you

    Ravinder

  • delete history of navigation research of bar tools explore does not work for 2 specific web pages

    After you delete the history of navigation research 2 web pages continue to appear.  Even when I do click on these web pages they display automatically.

    After you delete the history of navigation research 2 web pages continue to appear.  Even when I do click on these web pages they display automatically.

    See if this will help...
    Open Internet Explorer > tools > Internet Options > under browsing history, place a check mark to Remove leaving browsing history > for good measure, click on remove... button > delete

    Quit Internet Explorer > restart Internet Explorer.

    2 sites are always there? For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • for a specific web page blocked photos ar - works fine in Explorer

    for a dating site, I must have blocked the ability to view pictures of
    other people posted works fine in Explorer, must be restored
    This ability in firefox

    With the site on the display, click the button to the site identity (for more details on what is, see https://support.mozilla.com/kb/Site+Identity+Button) and then on more information. This will open the page info dialog box.

    First, select the permissions tab, make sure that 'Load the Images' is set to allow (default selection should work as well)

    Then select the media tab, and then click the first item in the list. Use the down arrow key to scroll the list. If any element has the option 'Images of block of (field name)' selected, deselect the option.

    This should hopefully solve your problem, but see also https://support.mozilla.com/kb/Images+or+animations+do+not+show.

    Some add-ons can also block images, for example, if you have AdBlock Plus installed, make sure that you have not accidentally created a filter to block images.

  • Photosmart HP 6510 will not print black text of emails but ok for photos and web pages

    Suddenly, it stopped printing black text of emails but prints black on web pages and images. I renewed the HP black cartridge and downloaded the HP PHOTOSMART FULL FEATURE AND DRIVERS SOFTWARE today and the problem persists.

    When I print QUALITY REPORT printing any black ink level is shown, but black media are there. very strange.

    Can I please ask your help to fix this annoying problem for me.

    Thanks for the reply daveclix

    I agree that this is not a problem with your PC, it's a hardware problem with the printer. The information you supplied I'm going to send you a private message to discuss the next steps to take

    If you are unsure how to check your messages on the forum this post, has instructions.

Maybe you are looking for