jaredclance Posted October 23, 2007 Share Posted October 23, 2007 Hey, I am trying to setup a shopping cart, but after I installed it, I got this error. Fatal error: Unknown function: islogged() in /home/mentorlo/public_html/sunshop/global.php on line 2709 Normally I can do troubleshooting on PHP errors, but I have never seen this one before. Thanks! Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/ Share on other sites More sharing options...
BlueSkyIS Posted October 23, 2007 Share Posted October 23, 2007 it means the function islogged is not defined anywhere. it's not a standard PHP function, so it must be included somewhere in your code. apparently it's missing or not included properly. Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376285 Share on other sites More sharing options...
jaredclance Posted October 23, 2007 Author Share Posted October 23, 2007 Oh, I guess I will try to find out why it's included everywhere then. Hooray! The search begins! Thanks! Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376286 Share on other sites More sharing options...
jaredclance Posted October 23, 2007 Author Share Posted October 23, 2007 Okay so it turns out I can't figure this one out. There is no islogged function in the entire local site. This file includes it all over the place though. It's a lot of code so see if any of you can figure it out. I can't, but I posted the section of the code giving me trouble. I understand what it is doing, I just don't understand why they would include that function. Any ideas? function secure_redirect ($page) { global $settings, $sess, $cart; if (islogged()) $USER = '&USERIN='.cryptit($sess->gvar('USERIN')).'&PASSIN='.$sess->gvar('PASSIN'); header('location: '.$settings[secureurl].$page.(($settings[shopurl]!=$settings[secureurl])?'&'.$sess->name().'='.$sess->id().$USER:'')); exit; } Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376365 Share on other sites More sharing options...
Daniel0 Posted October 23, 2007 Share Posted October 23, 2007 Are you sure you uploaded all the files? Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376369 Share on other sites More sharing options...
jaredclance Posted October 23, 2007 Author Share Posted October 23, 2007 Yeah they're all there. That's what I don't understand. There is no islogged function anywhere. I even redownloaded and uploaded the files. Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376371 Share on other sites More sharing options...
Daniel0 Posted October 23, 2007 Share Posted October 23, 2007 Well, it seems to be a bug in the script you're using. You should contact the developers of the script then. Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376374 Share on other sites More sharing options...
jaredclance Posted October 23, 2007 Author Share Posted October 23, 2007 I did, but they were extremely vague and not very helpful. Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376377 Share on other sites More sharing options...
otuatail Posted October 23, 2007 Share Posted October 23, 2007 The pages will have an include file of functions and the include file does not have a function called islogged() find the include file refferenced in the webpage and look to sei if ther is a function called islogged() in the file! Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376551 Share on other sites More sharing options...
jaredclance Posted October 23, 2007 Author Share Posted October 23, 2007 Yeah I looked through everything. Turns out the problem was I didn't upload in binary mode. Damn dreamweaver. Link to comment https://forums.phpfreaks.com/topic/74469-solved-fatal-error-unknown-function-islogged/#findComment-376555 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.