Gotta Love Upgrades… PHP5

Filed Under (Daily Posts) by Cynthia on Dec 18, 2007 8:21 pm

Tagged Under : ,

Well, even though my host’s CPanel says I’m still on PHP4, apparently they are upgrading my server to PHP5. And today, randomly, while I was attempting to install some nice feedburner code, my blogs all stopped working.

So I’ve been sitting here tonight, amongst my dehumidifiers, trying to find the solution to this problem. I want my blogs to be up and running!

I think they are all okay now. I went to the bluehost forums to see if anyone had an answer. When trying to open my blog pages I would get a file open/save box with this:

You have chosen to open

which is a: application/x-httpd-php
from: http://www.pixietail.com

What should Firefox do with this file?

Hrm… I wondered what was up. So I did some yahooing to find out what was going on. Well, turns out that PHP5 has something that doesn’t work well with the include() function. According to this Action Online webpage.

And so I changed include() to require_once() and viola, it’s fixed, and works fine.

So if you have this problem, here is the solution. :)
You may not have this problem!

Tags: Blog, Tech

Related posts

7 Comments

  1. Talina (2 comments.) on 19.12.2007 at 12:05 (Reply)

    I hate finding my blog down.. I am viewing yours fine today so looks like the problem is solved, yay for you! Thanks for the fix!

    Talina’s last blog post..Wordless Wednesday- Dang, I am tired!

  2. Talina on 19.12.2007 at 13:05 (Reply)

    I hate finding my blog down.. I am viewing yours fine today so looks like the problem is solved, yay for you! Thanks for the fix! <em>Talina's last blog post..<a href='http://www.harvestofdailylife.com/wordless-wednes...rel="nofollow">Wordless Wednesday- Dang, I am tired!</a></em>

  3. Cynthia Blue on 22.12.2007 at 20:20 (Reply)

    Thanks Talina! I’m glad it worked. :)

  4. Cynthia Blue on 22.12.2007 at 21:20 (Reply)

    Thanks Talina! I'm glad it worked. :)

  5. zyon.com (1 comments.) on 28.02.2008 at 00:24 (Reply)

    Sorry to hear your blog was down. Upgrading PHP can be problematic. A lot of people’s scripts don’t run on PHP-5 — yet at the same time, the newer PHP scripts won’t run on anything less than php-5.

    At any rate, I think you have a beautiful blog. Nice choice of colors and the layout is perfect for finding what you want. You have obviously put a lot of time and attention into it.

    Kind regards,
    Martin
    http://www.zyon.com

  6. zyon.com on 28.02.2008 at 01:24 (Reply)

    Sorry to hear your blog was down. Upgrading PHP can be problematic. A lot of people's scripts don't run on PHP-5 — yet at the same time, the newer PHP scripts won't run on anything less than php-5.

    At any rate, I think you have a beautiful blog. Nice choice of colors and the layout is perfect for finding what you want. You have obviously put a lot of time and attention into it.

    Kind regards,
    Martin
    http://www.zyon.com

  7. Your page is now on StumbleUpon! on 29.05.2008 at 09:08

    Kramer auto Pingback[...] Your page is on StumbleUpon [...]

Leave a comment


Please Note:I love comments and I appreciate your comment! However, if your comment contains a link to a business site or some other type of site that is selling something, your comment will be deleted as spam. I'm sorry, but I am not willing to have outbound links to promote businesses I do not know anything about. Thanks for your consideration.


CommentLuv Enabled