Forums

New to this!!! Please help! (31 posts)

  1. AxYoung
    Member
    Posted 1 month ago #

    I'm currently in the process of moving my .com blog to a self-host one so I can give it a more professional look.

    However, I don't want to take down the .com (because of traffic) until I'm ready to officially launch the new one. They will have the same domain names.

    Can I import posts even without being on a host (like bluehost or godaddy) because thus, far I am having trouble doing so?

    Alex

  2. AxYoung
    Member
    Posted 1 month ago #

    I get this message when trying to import posts:

    File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini.

  3. macsoft3
    Member
    Posted 1 month ago #

    I don't follow you at all. What do you mean by importing posts even without being on a host? What do you mean by moving my .com blog to a self host and having the same domain names? Trying to import posts and how?

  4. AxYoung
    Member
    Posted 1 month ago #

    Ok. Sorry. Let me try to explain this.

    My current blog is consequenceofsound.com

    It is a blog hosted by wordpress.com. In an attempt to make it more user friendly and professional looking, I'd like to move it from being hosted by wordpress to a self-hosted blog (using the program I downloaded from wordpress.org). This new self-hosted blog will be pointed to the consequenceofsound.com name.

    However, in an effort to not interrupt my readership, I don't want to upload the self-hosted blog from my computer (where only I can see it) to a host (such as bluehost, which I plan on using) until everything is ready to go.

    I'd like to import all my posts that have previously appeared on the wordpress.com blog to this self-hosted one before uploading it. However, after I export the file to my desktop and then import it to the self-host, nothing loads and I get the aforementioned error.

    Does this make sense?

  5. LenK
    Member
    Posted 1 month ago #

    You may have to contact your host in regards to this error. It sounds like PHP is running out of memory. Do you have access to and can you edit the php.ini file? If so, look for the line that says post_max_size = 8M and edit it to something like 16M. Be advised though many hosts do not allow you to edit that file. The server will also have to be restarted after that. You could also try editing the htaccess file that lives at root. Just above #BEGIN WORDPRESS add,

    php_value memory_limit 32M
    php_value post_max_size 16M

    See if that works. If not you'll have to contact your host.

  6. AxYoung
    Member
    Posted 1 month ago #

    So I can't import posts unless I am uploaded to a host like Bluehost?

    Because currently, I am just on what I guess you call a local host (where only I can see the site) and the importing posts function isn't working...

  7. LenK
    Member
    Posted 1 month ago #

    Ok, I misunderstood. I thought you were already hosted somewhere. What are you using to run WordPress locally? I use Xampp.

  8. AxYoung
    Member
    Posted 1 month ago #

    I'm using MAMP.

  9. LenK
    Member
    Posted 1 month ago #

    I'm not familiar with that one. With Xampp, you would navigate to xampp\apache\bin\php.ini so I can only assume your setup would be something similar. Once you find php.ini look for a line that says post_max_size =. My default install says post_max_size = 16M but I don't know what yours would be. When you find that line try upping the limit and see what happens.

    If that doesn't work then I'm out of ideas. Hopefully someone else will take a stab at it.

  10. AxYoung
    Member
    Posted 1 month ago #

    Hmm...I can't seem to find this.

    Does anyone have experience with MAMP?

  11. LenK
    Member
    Posted 1 month ago #

    A quick Google search tells me it is either,

    /Applications/MAMP/conf/php4/php.ini OR
    /Applications/MAMP/conf/php5/php.ini

    It's for situations like this that I love Grep. Everyone should use it. It's perfect for searching for text strings in files.

  12. AxYoung
    Member
    Posted 1 month ago #

    What type of application would I use to edit these? They don't appear to be text files...

    Thanks again for all the help!

  13. LenK
    Member
    Posted 1 month ago #

    An INI file is a simple text file. It can be edited with Notepad. It stores configuration data for the program it is associated with. Make sure it's php.ini

  14. AxYoung
    Member
    Posted 1 month ago #

    Hmm. Well, the max size was 32M. I changed into 16M and I still get the same result.

    This is the message I get:

    File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini.

    But I've tested uploads with things like songs and images and it works fine. Maybe I'm missing something? Are imported posts supposed to show up immediately?

    Oh, and Len, I can't thank you enough for helping me. I've done so much research over the last 48 hours that my head is spinning. I certainly appreciate it.

  15. LenK
    Member
    Posted 1 month ago #

    What did you adjust - post_max_size or memory_limit? Try upping the other.

    EDIT: Also, make sure file_uploads = is set to "on"

  16. AxYoung
    Member
    Posted 1 month ago #

    Hmm... My memory limit is 8MB, I'm at 8M and nothing is working. And file uploads are on.

    The file is uploading...

    http://img406.imageshack.us/img406/9647/picture5ku2.jpg

    It's just the posts are not showing up on the page.

  17. LenK
    Member
    Posted 1 month ago #

    Um, looking at your screenshot, where exactly are you trying to upload your file to?

  18. AxYoung
    Member
    Posted 1 month ago #

    What do you mean?

    I clicked on "Import" then "Wordpress" and then upload the file that I exported from my .com blog. After hitting the upload button, the page goes blank. But when I click on uploads, the file is there. The posts don't appear on the site.

  19. AxYoung
    Member
    Posted 1 month ago #

    I hope I didn't scare people away...

  20. LenK
    Member
    Posted 1 month ago #

    No I was just trying something. I only asked that question because I've never seen the WP file end up in the uploads folder before BUT I just replicated it. My import script failed and it too ended up in the upload folder.

    Delete that crap from your upload folder (from the write post window >>browse all>>delete). I adjusted these values in my php.ini to a huge amount and the script worked,

    max_execution_time =
    max_input_time =

  21. AxYoung
    Member
    Posted 1 month ago #

    How huge are we talking about?

    I've gone all the way up to 20000 and 30000 respectively and it still hasn't worked.

  22. LenK
    Member
    Posted 1 month ago #

    I don't know what to tell you then. I actually had to run my import script 3 times before it got all of the posts.

  23. AxYoung
    Member
    Posted 1 month ago #

    Let me give it one last shot...

    Do I edit both /Applications/MAMP/conf/php4/php.ini and /Applications/MAMP/conf/php5/php.ini or just one of the two?

    What are your current values for everything we've tried?

    Thanks again.

  24. LenK
    Member
    Posted 1 month ago #

    Depends on what version of PHP you're using but it wouldn't hurt to do both, just to keep it simple.

    When my script died out the first time I immediately uploaded and ran it again and then a 3rd time and it got em all.

    You can read more on the php.ini file here,
    http://www.radinks.com/upload/config.php

  25. AxYoung
    Member
    Posted 1 month ago #

    Wow. This is depressing.

    Thanks again for all your help Ken. If anyone has any other suggestions, please help!

    I'll post images of everything I've done...

    http://img410.imageshack.us/img410/2804/picture1nb4.jpg

    http://img204.imageshack.us/img204/3854/pic2tr2.jpg

    http://img172.imageshack.us/img172/6020/pic3oo5.jpg

    http://img172.imageshack.us/img172/1920/picture3fo5.jpg

    And this is the page I get...

    http://img172.imageshack.us/img172/2333/picture4sm5.jpg

  26. LenK
    Member
    Posted 1 month ago #

    I really have no experience with either MAMP or Mac so hopefully someone more knowledgeable takes a shot at it.

  27. AxYoung
    Member
    Posted 1 month ago #

    Bump...

    Hoping for new people to see this...

  28. vampireworld
    Member
    Posted 1 month ago #

    AxYoung.. you should just contact some blog hosting company and give them all info they need to move your blog.. simple and no pain just few $ :)

  29. AxYoung
    Member
    Posted 1 month ago #

    Yes, but as I said, I don't want to upload my blog to a hosting company until it is ready to go live, which includes having all the past posts from my .com blog imported onto it.

    I hope I'm not confusing anybody...

  30. AxYoung
    Member
    Posted 1 month ago #

    Is what I am asking to do even possible?

    I hope I'm not wasting my time.

Reply »

You must log in to post.

About this Topic

Tags