Skip navigation
smudger1717
Currently Being Moderated

Why Does This One Work And This One Doesn't?

Jul 5, 2012 5:48 AM

I have a HostGator account that has about 10 websites on it, I want to be able to edit these sites on my local computer with Dreamweaver CS5.5.

I have set up WAMP.

This site works when I try to view php files (My Wewb Sites)http://localhost/mywebsites/

I have tried the same settings with different sites but I can't view PHP files http://localhost/site.com/

 

But when I try anyother of my sites they don't work, I have checked and double checked and the settings are the same, but one site still dosen't display php files.

 

Please help My laptop is about to go out the window.

 

 

THE SITE BELOW DOSE WORK WITH THESE SETTINGS!

 

 

2012-07-05_1028.png2012-07-03_1325_001.png

 

 

THIS SITE DOSE WORK

 

mywebsite.png2012-07-05_1328.png

 

As a last resort I would very much appreciate it if possible for someone to connect remotly with my laptop to try and see what I'm doing wrong.

 

Regards

Paul

 
Replies
  • Currently Being Moderated
    Jul 5, 2012 6:06 AM   in reply to smudger1717

    First this problem has nothing to do with Hostgator.  This is strictly a localhost setup.

     

    Let's first clarify "doesn't work".  First, are you getting any error mesage when you load the page?  Or is the page blank?  Or is the page printing the PHP code to the screen?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 11:28 AM   in reply to smudger1717

    Let's put DW to aside for a moment.  Can you confirm that the address:

     

    http://localhost/bestreviews4uonline.com/

     

    opens in a web browser.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 11:28 AM   in reply to smudger1717

    Is Wamp server running?  See screenshot of Wamp icon in taskbar.

     

    WAMP-taskbar-online.jpg

     

    When you click the Wamp icon, if the server isn't already Online, click Put Online.

    Also click Start All Services.  Wamp should be running now.

    WAMP-taskbar2.jpg

    When you click LocalHost from the menu, you should see the Wamp main page in your browser with all your sites listed under Your Projects.  

     

    WAMPLocalhost.jpg

     

    What do you see when you click on Your Project folders?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 1:31 PM   in reply to smudger1717

    @smudger,

    Do you use Skype on your system? 

     

    If yes, Skype conflicts with Wamp because they both use port 80 connection.  Below is a YouTube video that shows how to resolve this:

    http://www.youtube.com/watch?v=8vqs-RdSeUU

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 2:07 PM   in reply to smudger1717

    One is on the remote server, the other is on your local hard drive.

     

    Remote:

    Server: localhost via UNIX Socket

    user: *******@localhost

     

    Local:

    Server: Localhost (localhost via TCP/IP)

    user: root@localhost

     

    Remote server is populated with MySql data.  Your local copy of WAMP server is not.

     

    Going back to original question, can you get local WAMPSERVER  to "Online" status yet?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 2:57 PM   in reply to smudger1717
    So would the remote server be Hostgator?

    If that's where you host your sites, yes.

     

     

    WAMP is actually online now

    Good.

     

    Is there anything else we can help you with?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 4:34 PM   in reply to smudger1717

    Your local testing server isn't properly defined in DW yet.

    See screenshots below:

     

    CS6-testingServer1.jpg

     

     

    Under Advanced tab:

     

    http://www.adobe.com/content/dotcom/en/devnet/dreamweaver/articles/setup_php/_jcr_content/articlecontentAdobe/image_12.adimg.mw.450.jpg/1279007071618.jpg

    Hit Save.

     

    When you're done, the final screen should look like this:

     

    CS6-testingServerFinalScreen.jpg

     

    For further details, review steps described in David Powers' tutorial:

    http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html

     

     

     

    Nancy O.

     


     
    |
    Mark as:
  • Currently Being Moderated
    Jul 6, 2012 1:20 PM   in reply to smudger1717

    Try this:

    Server Folder:  C:\wamp\www\sosplumbinganddrainage   (without the extra back slash)

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 6, 2012 1:42 PM   in reply to smudger1717

    Are you sure you have ALL the supporting site files in that folder?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 6, 2012 3:24 PM   in reply to smudger1717

    Can you show us code from one the problem PHP pages?

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points