I know installing wordpress is supposed to be easy but .....

Discussion in 'WordPress' started by offthedome, Feb 22, 2011.

  1. #1
    I tried installing it and it didn't work. I keep getting warnings like this:

    Warning: Cannot modify header information - headers already sent by (blablabla)

    //EDIT:

    It seems that www.mysite.com/blog works, but not without the www. Is there a way to fix that?
    //Edit:

    I can't even log into the admin page! WTF!
     
    Last edited: Feb 22, 2011
    offthedome, Feb 22, 2011 IP
  2. infogle

    infogle Prominent Member

    Messages:
    2,732
    Likes Received:
    128
    Best Answers:
    1
    Trophy Points:
    300
    #2
    Yes very easy...

    Login to your admin and under the settings tab >>> click 'General' and then add the www to your current blog URL - there will be two fields for it - change on both the fields and BINGO :)

    Hope it helps...
     
    infogle, Feb 22, 2011 IP
  3. offthedome

    offthedome Active Member

    Messages:
    446
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    95
    #3
    Shouldn't the admin page work? I can't even get to the admin page correctly. www nycteachertutors com/blog on the login page it says on top,
    Then when I log in, the ONLY thing it says is:
    There is nothing else on the page!
     
    offthedome, Feb 22, 2011 IP
  4. infogle

    infogle Prominent Member

    Messages:
    2,732
    Likes Received:
    128
    Best Answers:
    1
    Trophy Points:
    300
    #4
    I do think there is some error in installation - kindly re-install the stuff...

    else if you want a paid installation let me know...
     
    infogle, Feb 22, 2011 IP
  5. rugbyclark13

    rugbyclark13 Active Member

    Messages:
    106
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #5
    I just began using wordpress... I am sure that i will be asking some of the same questions... but so far, no complications. :) Fingers are crossed.
     
    rugbyclark13, Feb 22, 2011 IP
  6. offthedome

    offthedome Active Member

    Messages:
    446
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    95
    #6
    When I went to
    http://codex.wordpress.org/Installing_WordPress#Common_Installation_Problems
    the first hint applied to my site:

     
    offthedome, Feb 22, 2011 IP
  7. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I would start all over again. Somewhere between downloading, unzipping, and FTPing to the server, it appears some of your files were corrupted. What software are you using for unpacking and FTP? What host are you using?
     
    Dodger, Feb 22, 2011 IP
  8. offthedome

    offthedome Active Member

    Messages:
    446
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    95
    #8
    I downloaded it from the site via the button on the homepage, no ftp nor ssh. Then I unzipped it through XP by double clicking the file zip file. Then I uploaded it by dragging it into the Filezilla FTP client.
     
    offthedome, Feb 22, 2011 IP
  9. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Who is your Host. They may have a one-click install that you can use.

    And of course, you set up the database and edited wp-config.php with your database login too.
     
    Dodger, Feb 22, 2011 IP
  10. offthedome

    offthedome Active Member

    Messages:
    446
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    95
    #10
    I used 1and1.com.
     
    offthedome, Feb 22, 2011 IP
  11. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #11
    They have the ability to install WordPress for you in your Control Panel. I suggest that you use that option.
     
    Dodger, Feb 22, 2011 IP
  12. offthedome

    offthedome Active Member

    Messages:
    446
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    95
    #12
    Are you sure? All I saw were manual installs for WordPress through the help menu, as well as an automatic install for "1&1 blog", whatever that is.
     
    offthedome, Feb 22, 2011 IP
  13. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #13
    My bad. You are right.

    I may have a fix for you. Evidently 1&1 uses PHP4 and PHP5, and this may (or may not) be causing your problems. When you mentioned that there was a trailing ?> missing from wp-config.php and by adding that to the file, it got you a step closer -- this is a sign that the files may be interpreted as PHP4. In PHP5 the trailing ?> is not needed at the end of the file, and in fact, if you spend any time working with the Zend Framework, they tell you to leave it off (ZF will only run in PHP5). Adding that at the end and having any "whitespace" following it, causes problems in the interpreter.

    On a related subject where a guy had problems updating his 1&1 WP installations, and unable to auto-update any plugins, he stumbled upon the PHP4 vx PHP5 issue. His suggestion was clear, and easy to implement.

    Find your .htaccess file in the root directory of your domain. If you do not have one, then create it. The first lines of that file, add the following:

    Options All -Indexes
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    Code (markup):
    Save the file and try your installation again. This will force the PHP5 interpretor for all files ending in the .php extension.

    More information can be found in his article from last year WordPress upgrades and 1and1 hosting. He is a pretty responsive guy, and may have some more answers since he has been with them for several years. Refer him to this thread so he can get up to speed a little quicker.
     
    Dodger, Feb 22, 2011 IP
  14. offthedome

    offthedome Active Member

    Messages:
    446
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    95
    #14
    Your tip worked. I tried changing the .htaccess info for the root directory containing a different site, as well as /example, and I did the installation through ssh. One of those things did the trick. However, I had to change the .htaccess in my root directory back to normal because, apparently, my php is buggy for that site.

    P.S. Are you saying I should not put ?> at the end of ALL my php files?

    And thanks for your help!
     
    offthedome, Feb 22, 2011 IP
  15. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Fantastic!

    As for the trailing ?>, you do not need it at the END of the file. It is still needed elsewhere to slip in and out of Php to regular Html.

    You may want to go back and undo that edit you did earlier in wp-config.php also.

    I never noticed that WordPress has left those out on the ends of the files. I just looked at a couple of my installations locally, and sure enough -- no trailing ?> Kewl. Learn something new every day!
     
    Dodger, Feb 22, 2011 IP
  16. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #16
    I am not sure. Been a while since I had hosting at 1&1, but I faintly remember that there may be a setting in your Control Panel that forces the use of PHP5 for individual domains (It is one by one, and not global). You may want to check into that if you are using one of their developer hosting packages where you can host more than one domain.
     
    Dodger, Feb 22, 2011 IP
  17. offthedome

    offthedome Active Member

    Messages:
    446
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    95
    #17
    I just said flunk it and started all over. I even started a new database and deleted the old one. This way I never have to worry about wtflunk else could have gone wrong.
     
    offthedome, Feb 22, 2011 IP
  18. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #18
    Don't feel bad. The first one is always the hardest, especially if you are new to everything. Took me a while my first time too, but after I got it THEN everything made sense.
     
    hmansfield, Feb 22, 2011 IP
  19. windy

    windy Active Member

    Messages:
    1,093
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #19
    do you use cpanel? you can install wordpress via one-click on cpanel
     
    windy, Feb 22, 2011 IP
  20. offthedome

    offthedome Active Member

    Messages:
    446
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    95
    #20
    I don't know what cpanel is. And congrats on your 1000th post!
     
    offthedome, Feb 22, 2011 IP