The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fatal error: Call to undefined function: message_die() in /home/eduhub/public_html/db

Discussion in 'General Discussion' started by FusionBiz, Jul 31, 2003.

  1. FusionBiz

    FusionBiz Member

    Joined:
    Sep 17, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Can anyone, please advise how to resolve this php error "Fatal error: Call to undefined function: message_die() in /home/eduhub/public_html/db/db.php on line 88"

    After I update my apache encounter this error.

    cPanel.net Support Ticket Number:
     
  2. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    php 4.2.3? I get a similar erro but its the following.

    Fatal error: Call to undefined function: glob() in /home/edlund/public_html/photo/index.php on line 22

    So i wouldnt be surprised if all of this is related to the version of php that we are getting from Cpanel. And they have not replied to my ticket either. So with Thrusday being here i doubt there will be any resolution to this, well the weekend is almost here, so next week sometime.

    cPanel.net Support Ticket Number:
     
  3. FusionBiz

    FusionBiz Member

    Joined:
    Sep 17, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Yap ... I'm also running on php 4.2.3 ... anyone can help:confused:

    cPanel.net Support Ticket Number:
     
  4. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    It has to be php 4.3.2 and not 4.2.3, please recheck. And if its still php 4.2.3, its high time you upgraded php. Use easyapache script to do the same.

    cPanel.net Support Ticket Number:
     
  5. FusionBiz

    FusionBiz Member

    Joined:
    Sep 17, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    what is the command for upgrading to 4.3.2 :confused:

    cPanel.net Support Ticket Number:
     
  6. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    you have to have root to the server to upgrade

    /scripts/easyapache

    It will present you with options, choose 1 (Beginner) incase you want to just select the defaults and rebuild your apache. If you know wat all you want in apach config, choose 6 (Advanced). In most cases though 1 works.

    cPanel.net Support Ticket Number:
     
  7. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    I don't think the version of php has anything to do with this one as message_die is not a php function, but a user generated one.

    Is that the only error message you see?

    cPanel.net Support Ticket Number:
     
  8. FusionBiz

    FusionBiz Member

    Joined:
    Sep 17, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Hi ... please guide what is the cause of the error :confused:

    cPanel.net Support Ticket Number:
     
  9. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    1. php 4.2.3 is bad. Just do this to check which is the version of your php. Make a file test.php in your user folder, type the following inside:

    <?PHP
    phpinfo();
    ?>

    See the output of this on the browser, on the top it will display the php version, if its 4.2.3, you better upgrade your apache+php.

    To upgrade

    1. In shell as root run /scripts/easyapache
    2. Choose 1 ie. Beginner option, it will start to compile. If you have no experience in doing this, you can ask your sys admin to help you / your data center guy.

    Incase php is 4.3.2, post the code from the php script where the error is generated from, perhaps someone will help you here.

    cPanel.net Support Ticket Number:
     
  10. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    It is not due to an old mysql version. I have the same problem and mysql 4.0.15 is used on the server.

    John

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page