Set up dynamic, remote website on local environment for development

I am not too experienced with dreamweaver (the extent of my knowledge is youtube tutorials and self taught).  I have inherited a website on a remote server that I need to do some major editing.  It is using MySQL, php, html, and css.  I have already downloaded the entire site for local development.  However, the php will not function without a server.  Would anyone kindly provide some resources on how to set up this site up with MAMP for local development (or any alternative ways to develop inherited websites like this)?  I know how to set up MAMP from scratch, but not with an already developed, remote website that needs to be edited/redeveloped.
It seems like if I redirect the server to a local one, it will mess up a lot of code when I attempt to upload it back to the remote server.  There has to be a more convenient/integrated way to do this than recoding the database access every time I switch from local to remote.....

You'll still need to pull everything onto the testing server, if it's going to be different from your remote server. Here's a good resource for using testing servers with DW...
Setting up a local testing server in Dreamweaver CS5 | Adobe Developer Connection
It might not match your exact version, but it should be followable for the most part.

Similar Messages

  • How to set a key field in a local provider for BW workspace

    Hi Experts,
    I've created a local provider through BOBJ analysis for excel / Workspace designer in a BW workspace. However, all the dimensions by default are not having the key field enabled and I'm not able to enable the key field through BW workspace. Also I see the Fact Index Without Key is enabled by default in technical settings, which is not allowing me to select "Fact Index with Key" either. When I go to edit mode, it says "Analytic Index XXX can only be changed in workspace designer". I even tried to go into workspace designer and by selecting the necessary local provider, I coudn't find an option under Local Provider->Reload Provider->Reload (With Changes)->Choose File->Edit Columns to enable the key field(s) for the dimensions.
    Can you please help to locate how to enable the key field for dimensions in local provider.
    Thank you in advance.
    Regards,
    Karthik

    There's nothing to solve. If Reader (XI only) is used only PDF files can be selected. This is how it's supposed to work (although I agree it's silly and should be changed).

  • Best environment for development

    Hi, my company is migrating their product to SUN solaris. We intend to use several SUN machines as servers and keep working on the much cheaper Windows machine. What is the best way to compile/develop drivers in such environment?? (Any software and compiler name would help,)

    It looks like you have no other choice but Forte - gcc cannot build 64-bit SPARC binaries (unless I am out of sync).
    You'll need also some X server software for your Windows machines (to turn them into X-terminals), or just VNC (then you'll need really strong Sun server(s) to run X sessions on).
    Alternatively, you can dump Windows (replace it by either Linux or FreeBSD, or even Solaris x86). and use native X implementation...
    In the latter case you'll be able to run XEmacs on the "terminal" and just build and debug on real Sun's...
    Hope this helps,
    Ilya.

  • Serious bug in Weblogic when connecting to a remote website through a local proxy server (proxyHost, proxyPort)

    Hi there,
    It seems that there is a serious problem with any version of Weblogic when you
    have to pass through a local proxy server to connect a remote website.
    Whenever I am trying to run the jsp program below either with Weblogic 7.0 SP2
    or even with Weblogic 8.1, I get the following exception :
    An error occured: Tried all: '1' addresses, but could not connect over HTTP to
    server: 'www.sun.com', port: '80'
    When I run the same program outside Weblogic, it works fine. Other people have
    already reported the same problem either in this newsgroup or on Internet forums,
    and up to now, the problem is not fixed yet.
    In fact, Weblogic seems to block when it performs the connect() method to the
    proxy, my jsp program hangs a few minutes before returning the error message shown
    above.
    If anyboby can tells me how this problem can be solved (or maybe via a workaround)
    do not hesitate to keep me informed, thanks in advance.
    Please find below my code :
    public class ProxyDownload extends HttpServlet
    private static final String CONTENT_TYPE = "text/html";
    //Initialize global variables
    public void init() throws ServletException
    public String bufferedReaderToString (BufferedReader br) throws IOException
    String xml = "";
    String line = null;
    while ( (line = br.readLine()) != null)
    xml += line;
    return xml;
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException
    response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head><title>Proxy Download</title></head>");
    out.println("<body bgcolor=\"#c0c0c0\">");
    try{
    // Set proxy stuff
    System.getProperties().put( "http.proxySet", "true");
    System.getProperties().put( "http.proxyHost", "ip_address" );
    System.getProperties().put( "http.proxyPort", "port");
    String password = "user:pass";
    sun.misc.BASE64Encoder objEncoder = new sun.misc.BASE64Encoder();
    String code = objEncoder.encode(password.getBytes());
    // Find the file name to save
    String file = null;
    // Open a connection
    URL url = new URL("http://www.sun.com");
    URLConnection connection = url.openConnection();
    // Set up the connection so it knows you are sending
    // proxy user information
    connection.setRequestProperty( "Proxy-Authorization", "basic " + code);
    connection.connect();
    // Set up the connection so you can do read and writes
    connection.setDoInput( true );
    BufferedReader inBuff = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    String str = bufferedReaderToString(inBuff);
    out.println("<BR>" + str);
    catch(Exception e){
    out.println("<BR> An error occured: " + e.getMessage());
    out.println("</body></html>");
    //Process the HTTP Post request
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException
    doGet(request, response);
    //Clean up resources
    public void destroy()

    Hello,
    The way to set the HTTP connection using a proxy server changed (from
    using the system property
    weblogic.webservice.transport.http.proxy.host/port)[1] in WLS 7.x to the
    standard JDK 1.4 system properties [2] in WLS 8.1.
    I would recommend opening a dialog with our outstanding support team [3]
    to resolve this issue.
    Thanks,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs70/webserv/client.html#1058615
    [2]
    http://java.sun.com/j2se/1.4/docs/guide/net/properties.html
    [3]
    http://support.bea.com
    [email protected]
    Yves Hardy wrote:
    >
    Hi there,
    It seems that there is a serious problem with any version of Weblogic when you
    have to pass through a local proxy server to connect a remote website.
    Whenever I am trying to run the jsp program below either with Weblogic 7.0 SP2
    or even with Weblogic 8.1, I get the following exception :
    An error occured: Tried all: '1' addresses, but could not connect over HTTP to
    server: 'www.sun.com', port: '80'
    When I run the same program outside Weblogic, it works fine. Other people have
    already reported the same problem either in this newsgroup or on Internet forums,
    and up to now, the problem is not fixed yet.
    In fact, Weblogic seems to block when it performs the connect() method to the
    proxy, my jsp program hangs a few minutes before returning the error message shown
    above.
    If anyboby can tells me how this problem can be solved (or maybe via a workaround)
    do not hesitate to keep me informed, thanks in advance.
    Please find below my code :
    public class ProxyDownload extends HttpServlet
    private static final String CONTENT_TYPE = "text/html";
    //Initialize global variables
    public void init() throws ServletException
    public String bufferedReaderToString (BufferedReader br) throws IOException
    String xml = "";
    String line = null;
    while ( (line = br.readLine()) != null)
    xml += line;
    return xml;
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException
    response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head><title>Proxy Download</title></head>");
    out.println("<body bgcolor=\"#c0c0c0\">");
    try{
    // Set proxy stuff
    System.getProperties().put( "http.proxySet", "true");
    System.getProperties().put( "http.proxyHost", "ip_address" );
    System.getProperties().put( "http.proxyPort", "port");
    String password = "user:pass";
    sun.misc.BASE64Encoder objEncoder = new sun.misc.BASE64Encoder();
    String code = objEncoder.encode(password.getBytes());
    // Find the file name to save
    String file = null;
    // Open a connection
    URL url = new URL("http://www.sun.com");
    URLConnection connection = url.openConnection();
    // Set up the connection so it knows you are sending
    // proxy user information
    connection.setRequestProperty( "Proxy-Authorization", "basic " + code);
    connection.connect();
    // Set up the connection so you can do read and writes
    connection.setDoInput( true );
    BufferedReader inBuff = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    String str = bufferedReaderToString(inBuff);
    out.println("<BR>" + str);
    catch(Exception e){
    out.println("<BR> An error occured: " + e.getMessage());
    out.println("</body></html>");
    //Process the HTTP Post request
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws
    ServletException, IOException
    doGet(request, response);
    //Clean up resources
    public void destroy()

  • I want to know about the role of AS application binaries, remote filesystems, and local filesystems in building a development environment on the iplanet application server.

     

    I think you need to be more specific in your question.
    The typical development environment involves the developer having his own copy of the application server binaries, executing code off of the local filesystem, and developing on the local filesystem. (Using some version control system to sync his code with the team code.) The most common reason for this is that most people are using Windows as a development platform.
    That said, it doesn't have to be that way. There is nothing preventing you from using a remote filesystem for the app server binaries. (Or even running your development server remotely.)
    What exactly are you trying to accomplish?

  • Configure webapp to use local or remote interface based on environment

    Hi,
    I have the following problem I am trying to solve (app server is Weblogic 10g by the way).
    I have a webapp (war-project) and an ear project containing stateless session beans.
    In our development environment I would like to deploy the war and ear separately, because that is easier for development (war-project can then be deployed as a directory, so changes to jsp's and such have immediate effect).
    Deploying the war and ear separately means that the war-project can only call the session beans through their remote interfaces. For development this is not a problem.
    In a production environment however we would like to package the war INSIDE the ear, so that the webapp can use the local interfaces to call the session beans, as this will improve performance.
    So I am looking for a solution where I can configure the way beans are called. Local if the war is inside the ear, remote if the war is separate from the ear. I was thinking along the lines of packaging a properties file with the war that determines the mode (local or remote). Or maybe packaging a different deployment descriptor, if that is a possibility.
    This is what I have so far:
    Business Interface_
    package be.cegeka.test.ejb3.service;
    public interface TestService {
         public void doSomething();
    Remote Interface_
    package be.cegeka.test.ejb3.service;
    public interface TestServiceRemote extends TestService {
    Local Interface_
    package be.cegeka.test.ejb3.service;
    public interface TestServiceLocal extends TestService {
    Bean implementation_
    package be.cegeka.test.ejb3.service;
    import javax.ejb.Local;
    import javax.ejb.Remote;
    import javax.ejb.Stateless;
    @Stateless(mappedName="ejb/TestService")
    @Local(TestServiceLocal.class)
    @Remote(TestServiceRemote.class)
    public class TestServiceBean implements TestService {
         @Override
         public void doSomething() {
              System.out.println("I'm doing something");
         @Override
         public void doSomethingLocal() {
              System.out.println("I'm doing something local");
    JSF backing bean_
    package be.cegeka.test.ui;
    public class MyWebAppBackingBean {
         @EJB(mappedName="ejb/TestService", beanInterface=TestServiceRemote.class)
         private TestService testService;
         public String doSmth() {
              testService.doSomething();
              return "success";
    }The part that I would like to be configurable is the "+beanInterface=TestServiceRemote.class+" part in the JSF backing bean. Depending on the environment (development vs. production), this should be "+beanInterface=TestServiceRemote.class+" for development and "+beanInterface=TestServiceLocal.class+" for production.
    Is something like this possible?
    I would like to avoid having to fill my web.xml with ejb-refs and having to do the JNDI-lookups myself if at all possible, to keep things as easy and clean as possible.
    Any ideas are welcome!
    Steven

    Hey Manish,
    comments inline.
    "manish kumar" <[email protected]> wrote in message
    news:1794338.1102557677925.JavaMail.root@jserv5...
    So If they are supposed to be in the same JVM -
    then
    1. the cluster of 3 weblogic servers are three JVMs. So does that meanLOCAL INTERFACES CAN'T BE USED IN CLUSTERED ENVIORONMENT ?
    Sure they can, but the calling component in an enterprise app will not call
    an intance of the local bean on another node in the cluster. It will make a
    by-reference call to the local component in the same EAR. Local interfaces
    are not Remote, so they cannot be used with by-value RMI semantics.
    >
    2. ARE YOU SURE ABOUT THIS FACT THAT THAT LOCAL INTERFACES CAN BE USEDONLY INSIDE THE SAME APPLICATION, I THOUGHT IT CAN BE USED AS LONG AS CLINET
    IS IN THE SAME JVM?
    PLEASE CONFIRM.........!!!!!!!!!!!!!Dead sure:
    http://e-docs.bea.com/wls/docs81/programming/classloading.html#1073506
    http://e-docs.bea.com/wls/docs81/ejb/understanding.html#1126831
    http://e-docs.bea.com/wls/docs61/ejb/cmp.html#1085452
    http://www.theserverside.com/discussions/thread.tss?thread_id=14628
    Also, search the ejb newsgroups. I know Rob Woollen has addressed this in
    here somewhere. And, if Rob says it's so, trust me, it's so.
    Bill

  • Dreamweaver Help | Edit an existing remote website

    This question was posted in response to the following article: http://helpx.adobe.com/dreamweaver/using/edit-existing-remote-website.html

    There is a program called Beyond Compare that will perform a comparison of local and remote folders via FTP, but it works on Windows only. I don't know if there's a similar program available for Mac OS X.
    One way to find the number of items in the public_html folder on the remote server is to log into the site's control panel, and see if you can find the number of items listed there.
    Alternatively, select Remote Server in the Dreamweaver Files panel, right-click the public_html folder, and select Synchronize from the context menu. In the dialog box that opens, select Entire [Site name] Site for Synchronize, and set Direction to "Get newer files from remote". Then click Preview.
    Because you have such a large number of files, it will take Dreamweaver a long time to get all the information. In fact, you might find it just as quick to create a new site definition in a new folder, and attempt to download the site again.

  • 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.

  • How to set local path for load library

    Hi,
    How do i set local path for native dll as i dont want to set the path in the environment variable.
    can i do like this
    System.loadLibrary("c:\abc");
    Thanks

    I believe that System.load() does exactly the same thing, but accepts fully qualified filenames. So give that a try.
    Failing that.... maybe you can add -Djava.library.path=
    to your command line to explicitely override the path set ?
    regards,
    Owen

  • Remote Assistance in Corporate Environment - OfferRA not working

    Can anyone help me resolve a long running issue regarding Remote Assistance on Windows 7?
    We have recently upgraded many of our PCs from XP to Win7 but our Helpdesk are no longer able to use Remote Assistance on the Win7 PCs so I've been trying to get it fixed. I’ve read dozens of articles
    on various forums (including this one) and tried a wide range of suggested solutions - I’ve dug into the registry, tweaked DCOM settings, modified GPOs, messed around with Teredo and PNRP settings, amended firewalls and changed permissions – all to no
    avail!
    This is my test setup:
    Windows 2003 corporate domain
    Helper and target PCs both running Windows 7 Professional 32-bit. Both PCs on same subnet (actually on adjacent desks)
    Offer Remote Assistance GPO setting enabled and helper is a member of the listed group
    Firewalls on both PCs have default Remote Assistance rules enabled
    Target PC has Remote Assistance enabled and the Offer Remote Assistance Helpers local group is populated as per the group policy
    So far, so good.
    Now, Remote Assistance works fine when the target PC user solicits help through an invitation file or email (Easy Connect option not available though). However,
    offering remote assistance has never worked.
    This is the scenario:
    Helper runs MSRA.EXE /OFFERRA and is prompted for the name or IP address of the target PC
    On entering the address and clicking OK receives the message “Offering Remote Assistance: Connecting to the remote computer to get the logged in users…”
    At this stage Event Viewer on the
    target PC shows raserver.exe as running (which I thought a little odd as Windows 7 uses msra.exe for remote assistance). Nothing else appears on the target PC, i.e. no RA prompts
    After 15secs or so an error message is displayed on the Helper PC “Your offer to help could not be sent. Check the following: Do you have the correct permissions on the remote computer
    [I have]. Is the remote computer turned on and is it connected to the network [Yes and Yes]. Is there a network problem [No]. “
    In the event viewer of the Helper PC the following events are logged:
    Event id 9 - There was a problem interacting with COM object 833E4010-AFF7-4AC3-AAC2-9F24C1457BCE.  An outdated version might be installed, or the component might not be installed at all.
    Event id 13 - Remote Assistance started with:  /offerRA  as the command line parameters
    Event id 41 - Diagnosis Repro Attempt resulted in a failure.
    Event id 44 - Remote Assistance troubleshooting has confirmed the problem: Remote Assistance Easy Connect isn't available.
    Event id 30 - Remote Assistance has ended.
    This has been driving me crazy. Why is a supposedly simple admin tool so difficult to implement?
    Anyone found a solution for this yet?

    Hi,
    Based on my knowledge, To offer remote assistance to a remote computer, you must belong to the Offer Remote Assistance group on the remote computer.
    To resolve this issue, please check and add your account to this group.
    For Offer Remote Assistance to work, a certain amount of configuration is necessary, and the computers must be within a domain. This means that you (the system administrator) can determine who can offer remote assistance within the domain.
    Note If your computer is In a domain and you enable the Windows Firewall exception for Remote Assistance, Please make sure port 135 TCP is opened.
    Thanks!
    Andy Altmann
    TechNet Community Support

  • Is there any way to set the SCCM system to use local time instead of UTC?

    We have ConfigMgr 2012 in our environment. We are in EST.
    Is there any way to set the SCCM system to use local time instead of UTC?
    When we try to deploy packages, if you don’t specify the time, it reverts to UTC which for us is off by 5 hours.

    Which times are you talking about? Deployment start times or deadlines? Those could be set to UTC *or* client local time.
    Torsten Meringer | http://www.mssccmfaq.de

  • How to set up Dynamic Variants for job which is based on Pay Period

    Hi,
    We need to set up dynamic variant for payroll interface.  This interface is based on Pay periods and that is why we need to use different variant for each month.  Letus know how to set up dynamic variant which will take care of Pay Periods

    Hi,  Thnx for reply.
    We are not changing the control records, current period will be some old period in system. 
    payroll is not processed in SAP,

  • How to set up dynamic dns?

    Hi everybody,
    could anybody help me to set up Dynamic DNS in the Airport Extreme? I am using Airport Utility 5.5.3
    I also have dlink dns service active
    Thank You
    Manolo Fernández

    The following is the basic setup for DDNS on the AirPort using AirPort Utility v5x:
    AirPort Utility > Select the base station > Manual Setup >AirPort > Base Station tab > Edit ...
    Use dynamic global hostname (checked)
    Hostname: <enter your DDNS service domain here>
    User: <enter your DDNS user account name>
    Password: <enter your DDNS user account password>
    Click "Done."
    AirPort Utility > Select the base station > Manual Setup > Disks > File Sharing tab > Share disks over the Internet with Bonjour (checked)

  • Report works fine in local environment but gives problem on server

    Hi,
    I have following condition which works fine when executed in local environment.
    But simply does not work when executed on server.
    <?for-each-group:XYZIC[ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate >= EffStartDate][ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate <= EffEndDate];./Code?>
    EffStartDate and EffEndDate are from XYZIC.
    What could be the reason?
    Thanks.

    Hi,
    try this
    <?for-each-group:XYZIC[ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate >= EffStartDate] and [ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate <= EffEndDate];./Code?>
    or this one
    before using declare namespace specifier
    <?for-each-group:XYZIC[psfn:totext(InvoiceDate,"dd-MMM-yyyy","MM/dd/yyyy" >= psfn:totext(EffStartDate,"dd-MMM-yyyy","MM/dd/yyyy" and psfn:totext(InvoiceDate,"dd-MMM-yyyy","MM/dd/yyyy" <=  psfn:totext(EffEndDate,"dd-MMM-yyyy","MM/dd/yyyy"];./Code?>

  • Can we set the dynamic data source when using getReportParameters() ?

    Hello!
    I have a report where one of its parameters refers to a list of values (LOVs). This list of values is an SQL Query type. When the data source used in the report is defined in the BI Publisher server, I'm able to get the report parameters using the getReportParameters() function in my application. However, if the data source is not defined the function throws an exception, which is understandable.
    I decided to dynamically set the data source so that even if the data source used by the report is not defined in the BI Publisher server, it still will be able to get the LOVs for the parameter. I tried setting the JDBCDataSource of the dynamicDataSource for the ReportRequest object that I passed to the getReportParameters() function. Please see the sample code below:
    reportRequest.dynamicDataSource = new BIP10.BIPDataSource();
    reportRequest.dynamicDataSource.JDBCDataSource = new BIP10.JDBCDataSource();
    setReportDataSource(reportRequest.dynamicDataSource.JDBCDataSource, connectstr, jdbc, dc); //function to set the values for JDBCDataSource object
    reportParams = webrs.getReportParameters(reportRequest, uid, pwd); //call the getReportParameters
    I was expecting this to work as this is what I did to dynamically set the data source before calling the runReport function. So, my question is -- can we set the dynamic data source when using getReportParameters() ? I tried this both in versions 10g and 11g. It does not seem to work on both versions.
    Regards,
    Stephanie

    report_id column of apex_application_page_ir_rpt can help us uniquely identify each saved report.
    We can assign this report_id value to a page item and this page item can be put in the Report ID Item text box of the Advanced section of the Report Attributes page of the IR.
    This should load the saved report identified by report_id and you can get rid of javascript
    Regards,
    Vishal
    http://obiee-oracledb.blogspot.com
    http://www.packtpub.com/oracle-apex-4-2-reporting/book
    Kindly mark the reply as helpful/correct if it solves your problem

Maybe you are looking for