View Full Version : tep_not_null error?.. please help

09-21-2005, 04:01 AM
Hi all,

I have just don a clean install of max and now ge this error.
Fatal error: Call to undefined function: tep_not_null() in /public_html/shop/includes/application_top.php on line 182

Any help please?

03-12-2007, 11:07 AM
yeah it sounds like you are missing a class file in the includes folder, could be the directory structure also, or any number of things. this is kind of a vague post, might just try reinstalling it again but tep_not_null is a function that gives a result based on whether the variable being passed to it is null or not, and if it isn't defined you are missing the file that defines it. Try doing GREP tep_not_null * -r from the main folder you've got the page in, if it doesn't show up at all (might take a few minutes -r is recursive search that will go thru all subdirectories and it will search all text for that exact string) that means you are missing a vital includes file, and if it is there make sure it's in the right directory. hope this helps D'Chord pretty sure you've gotten this straightened out by now (I would hope) since you posted this well over a year ago heh. but just in case anyone else has the same problem.