Dixie Dawg Posted March 19, 2006 Posted March 19, 2006 I have a problem. LOL Ok, I installed the contribution for Fedex, USPS and UPS tracking and I guess somewhere along the lines, I screwed it up. There isn't a support thread for this contribution as far as I can see, but I'm not exactly sure that's where my problem is (although it was working fine before I installed this.) This is the error I am getting when I try to access my store: Fatal error: Call to undefined function: tep_not_null() in /home/myserend/public_html/osCommerce/catalog/includes/classes/language.php on line 75 What I can't figure out is where this is coming from because I didnt' change anything in this file. Can anyone help me? Thank you!! Kerri
♥Monika in Germany Posted March 19, 2006 Posted March 19, 2006 I have a problem. LOL Ok, I installed the contribution for Fedex, USPS and UPS tracking and I guess somewhere along the lines, I screwed it up. There isn't a support thread for this contribution as far as I can see, but I'm not exactly sure that's where my problem is (although it was working fine before I installed this.) This is the error I am getting when I try to access my store: Fatal error: Call to undefined function: tep_not_null() in /home/myserend/public_html/osCommerce/catalog/includes/classes/language.php on line 75 What I can't figure out is where this is coming from because I didnt' change anything in this file. Can anyone help me? Thank you!! Kerri hi, you most probably lost a function (maybe more, it's in the last few lines in default osC) from the bottom of includes/functions/general.php look if you have those babies there!!! line 1119 for me function tep_not_null($value) { if (is_array($value)) { if (sizeof($value) > 0) { return true; } else { return false; } } else { if (($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) { return true; } else { return false; } } } :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Dixie Dawg Posted March 20, 2006 Author Posted March 20, 2006 Hey Monika! Thank you for the reply! Well I was all ready to just save the customizations I had done and then delete the whole store and start over, when I was goingn through /catalog/includes/application_top.php and for some reason had this idea, what if I replaced that with the original file? And it worked! Don't know why, but it worked and I breathed a HUGE sigh of relief LOL!! Thanks again for your efforts in helping me with this... my whole morning was ruined with the thought of possibly having to redo the whole store! Good thing I'm not live yet.... LOL Kerri ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.