Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Dec 2008
    Posts
    95
    Thanks
    7
    Thanked 0 Times in 0 Posts

    application fatal error: "undefined function detectlanguage()"

    Hello everyone,

    I am using a php calendar application called Izeit (http://www.izeit.nu/). I have installed the calendar on my server and it seems to work fine. However, there is a "mini" version (http://wiki.lime49.com/index.php?tit...n_/_iZeit_Mini) of the calendar which I have integrated into pages on two websites I’ve developed (http://tstcareertech.org/calendar.php) (http://cterc.org/calendar.php) where I get the following fatal error: “Fatal error: Call to undefined function detectlanguage() in /home/message/public_html/izeit/includes/vars.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 105”. Can someone help me resolve this issue? I do not have access to the vars.php file where it says the function is. Is there something I need to set in the php.ini file to fix this?

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    That is a custom function, not a PHP function, so without access to the code, you'll have to ask the author of the script this question.

  • #3
    New Coder
    Join Date
    Dec 2008
    Posts
    95
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Since the application seems to work when I refresh the page and I do not have access to the file where the function is, is there anyway I can make it so it doesn't display the error or so it ignores the function?

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Not without access to the file its being called from. I guess you could turn off error reporting but you would need access to the php.ini file.
    Code:
    display_errors = Off
    display_startup_errors = Off
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    New Coder
    Join Date
    Dec 2008
    Posts
    95
    Thanks
    7
    Thanked 0 Times in 0 Posts
    I have access to the php file starts the session of the "mini" calendar application. Can I just turn error reporting off in that file?

  • #6
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    You wouldn't happen to be attempting to bypass copyright and/or licensing issues would you? As in, you didn't pay for the use of this script but you still want to use it?

  • #7
    New Coder
    Join Date
    Dec 2008
    Posts
    95
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Nope, it's a free application and you can see in the link below that I asked the author for permission to use it on my site:

    http://forums.lime49.com/viewtopic.php?f=7&t=597


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •