Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-24-2009, 07:29 PM   PM User | #1
alexmel7
New Coder

 
Join Date: Dec 2008
Posts: 95
Thanks: 7
Thanked 0 Times in 0 Posts
alexmel7 is an unknown quantity at this point
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?
alexmel7 is offline   Reply With Quote
Old 08-24-2009, 08:33 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
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.
__________________
Fumigator is offline   Reply With Quote
Old 08-24-2009, 08:43 PM   PM User | #3
alexmel7
New Coder

 
Join Date: Dec 2008
Posts: 95
Thanks: 7
Thanked 0 Times in 0 Posts
alexmel7 is an unknown quantity at this point
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?
alexmel7 is offline   Reply With Quote
Old 08-24-2009, 08:46 PM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
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!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 08-24-2009, 08:55 PM   PM User | #5
alexmel7
New Coder

 
Join Date: Dec 2008
Posts: 95
Thanks: 7
Thanked 0 Times in 0 Posts
alexmel7 is an unknown quantity at this point
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?
alexmel7 is offline   Reply With Quote
Old 08-24-2009, 09:03 PM   PM User | #6
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
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?
__________________
Fumigator is offline   Reply With Quote
Old 08-24-2009, 09:52 PM   PM User | #7
alexmel7
New Coder

 
Join Date: Dec 2008
Posts: 95
Thanks: 7
Thanked 0 Times in 0 Posts
alexmel7 is an unknown quantity at this point
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
alexmel7 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:02 AM.


Advertisement
Log in to turn off these ads.