Localhost not working

Discussion in 'Programming' started by AutoKwame, Aug 22, 2009.

  1. #1
    Hello,

    I'm in the precess of moving my blogger blog (with a custom domain) to a wordpress blog. According to a tutorial I'm using, I should make temporary Wordpress installation on my computer. I downloaded xampplite on my computer, but whenever I try to get access http://localhost on any of my browsers, I can't connect to server at localhost. I have been trying to resolve this issue for a while now but with no success. Your help will be appreciated.

    Better yet, is there an easier way for me to move my blogger blog and its custom domain to a worpress blog on my host provider (Hostmonster). I bought the domain name from my Hostmonster.
     
    AutoKwame, Aug 22, 2009 IP
  2. pepprs

    pepprs Peon

    Messages:
    195
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    install xampplite and start the servers. Close Skype if you are running before starting Xampp. they interfere with port 80. now try and report.
     
    pepprs, Aug 22, 2009 IP
  3. AutoKwame

    AutoKwame Member

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Thank you. I got it to work.
     
    AutoKwame, Aug 22, 2009 IP
  4. AutoKwame

    AutoKwame Member

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #4
    I have another problem. I have my local/temp worpress going and have proceeded to importing all my blogger blog posts and comments to the wordpress blog. However, the imported posts consists of many lines of the following warning message:

    I did my research on the web and was told that I needed to find my php.ini sever file in order to add a certain timezone line to it. The problem is that I can't seem to find this php.ini file. Is there a simple (non confusing) way I can find it and make the necessary change?
     
    AutoKwame, Aug 22, 2009 IP
  5. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Make a file with this in it

    <?php phpinfo(); ?>
    PHP:
    Then search for php.ini, it will tell you the location.
     
    premiumscripts, Aug 23, 2009 IP
  6. AutoKwame

    AutoKwame Member

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #6
    I did that and I saved under the htdoc in xampplite. I then searched for the "php.ini" file on my computer (using the search feature), but found nothing. I'm obviously doing something wrong.

    This is my first time dealing with servers, so I don't even know where to start when it comes to them.
     
    AutoKwame, Aug 23, 2009 IP
  7. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No, you need to open that file on your pc, http://localhost/bla.php or however you named it, and need to search for a php.ini location in that file. It will say a bunch of stuff.
     
    premiumscripts, Aug 23, 2009 IP
  8. AutoKwame

    AutoKwame Member

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #8
    Thank you. I found it and have added date.timezone = "America/Toronto" to the file. However, it didn't fix the issue. I'm still getting many long lines of that error message, which have overwhelmed my post page. Is there another way to fix it?


    Is there another php.ini file in the server that I am not aware of?

    Someone recommended this:
    The problem is that I don't even know where to begin.
     
    Last edited: Aug 23, 2009
    AutoKwame, Aug 23, 2009 IP
  9. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yes, that would work just as well, open the file, and add it under <?php

    <?php
    date_default_timezone_set('UTC'); 
    //.. rest of file..
    PHP:
     
    premiumscripts, Aug 23, 2009 IP